File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -92,15 +92,15 @@ chmod a+x "${CWLTOOL_WITH_COV}"
92
92
unset exclusions
93
93
declare -a exclusions
94
94
95
- EXTRA= " --parallel"
95
+ CWLTOOL_OPTIONS+= " --parallel"
96
96
# shellcheck disable=SC2154
97
97
if [[ " $version " = * dev* ]]
98
98
then
99
- EXTRA +=" --enable-dev"
99
+ CWLTOOL_OPTIONS +=" --enable-dev"
100
100
fi
101
101
102
102
if [[ " $container " = " singularity" ]]; then
103
- EXTRA +=" --singularity"
103
+ CWLTOOL_OPTIONS +=" --singularity"
104
104
# This test fails because Singularity and Docker have
105
105
# different views on how to deal with this.
106
106
exclusions+=(docker_entrypoint)
@@ -113,13 +113,9 @@ if [[ "$container" = "singularity" ]]; then
113
113
exclusions+=(stdin_shorcut)
114
114
fi
115
115
elif [[ " $container " = " podman" ]]; then
116
- EXTRA +=" --podman"
116
+ CWLTOOL_OPTIONS +=" --podman"
117
117
fi
118
118
119
- if [ -n " $EXTRA " ]
120
- then
121
- EXTRA=" EXTRA=${EXTRA} "
122
- fi
123
119
if [ " $GIT_BRANCH " = " origin/main" ] && [[ " $version " = " v1.0" ]] && [[ " $container " = " docker" ]]
124
120
then
125
121
rm -Rf conformance
@@ -148,10 +144,11 @@ if (( "${#exclusions[*]}" > 0 )); then
148
144
else
149
145
EXCLUDE=" "
150
146
fi
147
+ export CWLTOOL_OPTIONS
151
148
# shellcheck disable=SC2086
152
149
LC_ALL=C.UTF-8 ./run_test.sh --junit-xml=result3.xml ${EXCLUDE} \
153
150
RUNNER=${CWLTOOL_WITH_COV} " -j$( nproc) " ${BADGE} \
154
- ${DRAFT} " ${EXTRA} " \
151
+ ${DRAFT} \
155
152
" --classname=py3_${container} "
156
153
# LC_ALL=C is to work around junit-xml ASCII only bug
157
154
You can’t perform that action at this time.
0 commit comments