mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 22:46:58 +02:00
ci-automation/test.sh: handle unset PARALLEL_TESTS
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
This commit is contained in:
parent
8ca2393eb8
commit
d266229434
@ -137,7 +137,7 @@ function test_run() {
|
|||||||
__prepare_torcx "${arch}" "${vernum}" "${work_dir}"
|
__prepare_torcx "${arch}" "${vernum}" "${work_dir}"
|
||||||
|
|
||||||
# Pass PARALLEL_TESTS to the container
|
# 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 "PARALLEL_TESTS=\"${PARALLEL_TESTS}\"" > sdk_container/.env
|
||||||
echo "rm -f 'sdk_container/.env'" >> ./ci-cleanup.sh
|
echo "rm -f 'sdk_container/.env'" >> ./ci-cleanup.sh
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user