@@ -25,43 +25,55 @@ Also available are inheritance graphs (as SVG images) for the [Schema Salad obje
25
25
26
26
# Running the CWL conformance tests
27
27
28
- 1 . Install a CWL runner of your choice. The reference runner can be installed as
28
+ Install a CWL runner of your choice. The reference runner can be installed as
29
29
the default runner by doing:
30
30
```
31
31
pip install cwlref-runner
32
32
```
33
33
34
- 2 . Install the CWL test parser:
35
-
34
+ Install the CWL test parser:
36
35
```
37
36
pip install cwltest
38
37
```
39
38
You may need to activate a virtualenv first, or do a local install by adding ` --user ` after ` install ` above.
40
39
41
- 3 . From within a copy of [ this repository] ( https://github.com/common-workflow-language/cwl-v1.1 ) (e.g. cwl-v1.1) execute the main test script
40
+ From within a copy of [ this repository] ( https://github.com/common-workflow-language/cwl-v1.1 ) (e.g. cwl-v1.1) execute the main test script
42
41
```
43
42
./run_test.sh
44
43
```
45
44
46
- If the CWL runner isn't installed as ` cwl-runner ` then you can specify the name:
47
-
45
+ If the CWL runner isn't installed as ` cwl-runner ` then you can specify the name for the runner:
48
46
```
49
47
./run_test.sh RUNNER=cwltool
50
48
```
51
49
52
50
You can also specify additional options that are specific for the particular CWL runner you are using.
53
51
For example, with CWL reference runner you can turn on parallel execution mode:
54
-
55
52
```
56
53
./run_test.sh RUNNER=cwltool EXTRA=--parallel
57
54
```
58
55
59
56
This can be combined with launching more than one CWL conformance test at once with ` -j ` :
60
-
61
57
```
62
58
./run_test.sh -j4 RUNNER=cwltool EXTRA=--parallel
63
59
```
64
60
61
+ You can list all the tests
62
+ ```
63
+ ./run_test.sh -l
64
+ ```
65
+
66
+ You can run a particular test
67
+ ```
68
+ ./run_test.sh -n23
69
+ ```
70
+
71
+
72
+ If you are running tests for an unreleased CWL version use the ` --enable-dev ` flag:
73
+ ```
74
+ ./run_test.sh EXTRA=--enable-dev
75
+ ```
76
+
65
77
66
78
For details of options you can pass to the test script, do:
67
79
```
0 commit comments