File: result_database.yaml

package info (click to toggle)
jube 2.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,640 kB
  • sloc: python: 8,415; xml: 838; sh: 180; makefile: 14
file content (35 lines) | stat: -rw-r--r-- 835 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: result_database
outpath: bench_run
comment: result database creation

parameterset:
  name: param_set
  parameter: {name: number, type: int, _: "1,2,4"}

patternset:
  name: pattern
  pattern: {name: number_pat, type: int, _: "Number: $jube_pat_int"}

step:
  name: write_number
  use: param_set
  do: "echo \"Number: $number\""

analyser:
  name: analyse
  use: pattern
  analyse:
    step: write_number
    file: stdout

result:
  use: analyse
  database:
    # creating a database containing the columns "number" and "number_pat"
    # one table of the name "results" is created within the database
    # optionally, you can use the "file" attribute to specify an alternative storage location for the database
    name: results
    primekeys: "NUM"
    key:
    - {primekey: true, _: number}
    - {title: NUM, _: number_pat}