ci-automation/test.sh: handle unset PARALLEL_TESTS

Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
This commit is contained in:
Thilo Fromm 2022-03-10 08:24:44 +01:00 committed by GitHub
parent 8ca2393eb8
commit d266229434
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,7 @@ function test_run() {
__prepare_torcx "${arch}" "${vernum}" "${work_dir}"
# Pass PARALLEL_TESTS to the container
if [ -n "${PARALLEL_TESTS}" ] ; then
if [ -n "${PARALLEL_TESTS-}" ] ; then
echo "PARALLEL_TESTS=\"${PARALLEL_TESTS}\"" > sdk_container/.env
echo "rm -f 'sdk_container/.env'" >> ./ci-cleanup.sh
fi