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 @@ -11,7 +11,10 @@ Syntax:
11
11
[EXTRA=--optional-arguments-to-cwl-runner]
12
12
13
13
Options:
14
- -nT Run a specific test.
14
+ -ntest_range Run specific test(s) by number (format "1,2-4,7")
15
+ -Ntest_range Exclude specific test(s) by number (format "1,2-4,7")
16
+ -stest_names Run specific test(s) by name (format "test_a,test_b")
17
+ -Stest_names Exclude specific test(s) by name (format "test_a,test_b")
15
18
-l List tests
16
19
-jJ Specifies the number of tests to run simultaneously
17
20
(defaults to one).
34
37
EOF
35
38
36
39
CWL_VER=v1.2
40
+ TEST_n=" "
37
41
TEST_N=" "
42
+ TEST_s=" "
43
+ TEST_S=" "
38
44
JUNIT_XML=" "
39
45
RUNNER=cwl-runner
40
46
PLATFORM=$( uname -s)
56
62
exit 1
57
63
;;
58
64
-n* )
59
- TEST_N =$arg
65
+ TEST_n =$arg
60
66
;;
67
+ -N* )
68
+ TEST_N=$arg
69
+ ;;
70
+ -s* )
71
+ TEST_s=$arg
72
+ ;;
73
+ -S* )
74
+ TEST_S=$arg
75
+ ;;
61
76
-j* )
62
77
TEST_J=$arg
63
78
;;
@@ -130,7 +145,8 @@ runtest() {
130
145
131
146
runs=$(( runs+ 1 ))
132
147
(COMMAND=" cwltest --tool $1 \
133
- --test=conformance_tests.yaml ${CLASS} ${TEST_N} \
148
+ --test=conformance_tests.yaml ${CLASS} \
149
+ ${TEST_n} ${TEST_N} ${TEST_s} ${TEST_S} \
134
150
${VERBOSE} ${TEST_L} ${TEST_J} ${ONLY_TOOLS} ${JUNIT_XML} \
135
151
${TIMEOUT} ${BADGE} ${TAGS} -- ${EXTRA} "
136
152
if [ " $VERBOSE " = " --verbose" ]; then echo " ${COMMAND} " ; fi
You can’t perform that action at this time.
0 commit comments