1---
2.this_is_a_job:
3 group: "GRPSERIAL"
4 tag: ["a", "b"]
5 build:
6 # source files to include (if needed)
7 files: "@SRCPATH@/*.c"
8 autotools:
9 params: ['--disable-bootstrap']
10 cmake:
11 vars: ['CMAKE_VERBOSE_MAKEFILE=ON']
12 make:
13 target: all
14 sources:
15 # program binary (if needed)
16 binary: "a.out"
17 # dependency scheme
18 depends_on: ["this_is_another_test"]
19 # extra cflags
20 cflags: "extra cflags"
21 # extra ldflags
22 ldflags: "extra ldflags"
23 # directory where program should be built
24 cwd: "dir/to/build"
25 # variants describing the job
26 variants:
27 - openmp
28 - accel
29
30 run: &run_part
31 program: "./a.out"
32 iterate:
33 # runtime iterators
34 n_mpi:
35 values: [2, 4]
36 n_omp:
37 values: [1, 2]
38 program:
39 # name will be used as part of final test-name
40 give_it_a_name:
41 numeric: true
42 type: "argument"
43 values: ["-iter 1000", "-fast"]
44 subtitle: "lol"
45 # directory where program should be built
46 cwd: "dir/to/build"
47 # dependency scheme
48 depends_on: ["this_is_another_run_test_in_the_same_file"]
49 package_manager:
50 spack:
51 - protobuf@3.1.1
52 - gcc@7.3.0
53 module:
54 - protobuf
55 - gnu/gcc/7.3.0
56 artifact:
57 # relative to $BUILDPATH
58 obj1: "./path/1"
59 obj2: "./path/2"
60
61 # this is a copy/paste from pav2
62 validate:
63 expect_exit: 0
64 time:
65 mean: 10.0
66 tolerance: 2.0
67 kill_after: 20
68 match:
69 label:
70 expr: '^\d+(\.\d+) received$'
71 expect: true|false
72
73 label2: 'Total Elapsed: \d+\.\d+ sec.$'
74 script:
75 path: "/path/to/script"
76
77#########################################################
78
79# depicts an inheritance mechanism.
80real_test:
81 build:
82 make:
83 target: all
84 run:
85 <<: *run_part