Skip to content

Commit 772a11c

Browse files
committed
conformance testing: use CWLTOOL_OPTIONS
1 parent 3adbcbc commit 772a11c

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

conformance-test.sh

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,15 @@ chmod a+x "${CWLTOOL_WITH_COV}"
9292
unset exclusions
9393
declare -a exclusions
9494

95-
EXTRA="--parallel"
95+
CWLTOOL_OPTIONS+=" --parallel"
9696
# shellcheck disable=SC2154
9797
if [[ "$version" = *dev* ]]
9898
then
99-
EXTRA+=" --enable-dev"
99+
CWLTOOL_OPTIONS+=" --enable-dev"
100100
fi
101101

102102
if [[ "$container" = "singularity" ]]; then
103-
EXTRA+=" --singularity"
103+
CWLTOOL_OPTIONS+=" --singularity"
104104
# This test fails because Singularity and Docker have
105105
# different views on how to deal with this.
106106
exclusions+=(docker_entrypoint)
@@ -113,13 +113,9 @@ if [[ "$container" = "singularity" ]]; then
113113
exclusions+=(stdin_shorcut)
114114
fi
115115
elif [[ "$container" = "podman" ]]; then
116-
EXTRA+=" --podman"
116+
CWLTOOL_OPTIONS+=" --podman"
117117
fi
118118

119-
if [ -n "$EXTRA" ]
120-
then
121-
EXTRA="EXTRA=${EXTRA}"
122-
fi
123119
if [ "$GIT_BRANCH" = "origin/main" ] && [[ "$version" = "v1.0" ]] && [[ "$container" = "docker" ]]
124120
then
125121
rm -Rf conformance
@@ -148,10 +144,11 @@ if (( "${#exclusions[*]}" > 0 )); then
148144
else
149145
EXCLUDE=""
150146
fi
147+
export CWLTOOL_OPTIONS
151148
# shellcheck disable=SC2086
152149
LC_ALL=C.UTF-8 ./run_test.sh --junit-xml=result3.xml ${EXCLUDE} \
153150
RUNNER=${CWLTOOL_WITH_COV} "-j$(nproc)" ${BADGE} \
154-
${DRAFT} "${EXTRA}" \
151+
${DRAFT} \
155152
"--classname=py3_${container}"
156153
# LC_ALL=C is to work around junit-xml ASCII only bug
157154

0 commit comments

Comments
 (0)