File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change 8
8
[EXTRA=--optional-arguments-to-cwl-runner]
9
9
10
10
Options:
11
- -nT Run a specific test.
11
+ -ntest_range Run specific test(s) by number (format "1,2-4,7")
12
+ -Ntest_range Exclude specific test(s) by number (format "1,2-4,7")
13
+ -stest_names Run specific test(s) by name (format "test_a,test_b")
14
+ -Stest_names Exclude specific test(s) by name (format "test_a,test_b")
12
15
-l List tests
13
16
-jJ Specifies the number of tests to run simultaneously
14
17
(defaults to one).
25
28
Example: RUNNER=cwltool EXTRA=--enable-dev
26
29
EOF
27
30
31
+ TEST_n=" "
28
32
TEST_N=" "
33
+ TEST_s=" "
34
+ TEST_S=" "
29
35
JUNIT_XML=" "
30
36
RUNNER=cwl-runner
31
37
PLATFORM=$( uname -s)
44
50
exit 1
45
51
;;
46
52
-n* )
47
- TEST_N =$arg
53
+ TEST_n =$arg
48
54
;;
55
+ -N* )
56
+ TEST_N=$arg
57
+ ;;
58
+ -s* )
59
+ TEST_s=$arg
60
+ ;;
61
+ -S* )
62
+ TEST_S=$arg
63
+ ;;
49
64
-j* )
50
65
TEST_J=$arg
51
66
;;
@@ -93,7 +108,8 @@ runtest() {
93
108
94
109
runs=$(( runs+ 1 ))
95
110
(COMMAND=" cwltest --tool $1 \
96
- --test=conformance_tests.yaml ${CLASS} ${TEST_N} \
111
+ --test=conformance_tests.yaml ${CLASS} \
112
+ ${TEST_n} ${TEST_N} ${TEST_s} ${TEST_S} \
97
113
${VERBOSE} ${TEST_L} ${TEST_J} ${ONLY_TOOLS} ${JUNIT_XML} \
98
114
-- ${EXTRA} "
99
115
if [[ $VERBOSE == " --verbose" ]]; then echo ${COMMAND} ; fi
You can’t perform that action at this time.
0 commit comments