From d26622943498b5bf2028108da8ec8741a28e23cd Mon Sep 17 00:00:00 2001 From: Thilo Fromm Date: Thu, 10 Mar 2022 08:24:44 +0100 Subject: [PATCH] ci-automation/test.sh: handle unset PARALLEL_TESTS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kai Lüke --- ci-automation/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-automation/test.sh b/ci-automation/test.sh index 1563567a5a..563c07fe54 100644 --- a/ci-automation/test.sh +++ b/ci-automation/test.sh @@ -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