mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-08 21:56:42 +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
a64a1f140c
commit
723f3d18c5
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user