diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f54ae671..55b2cd65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,10 +120,8 @@ jobs: shell: bash run: | jobs="gcc/debug gcc/release clang/debug clang/release" - for ((i = 0; i < 5; i++)); do - echo "===== parallel jobs: $jobs" - parallel -kv --lb 'cd build/extra/{} && bash ../../../../misc/testsuite/mimic_ctest_sigsegv.sh' ::: $jobs - done + echo "===== parallel jobs: $jobs" + parallel -kv --lb 'cd build/extra/{} && bash ../../../../misc/testsuite/mimic_ctest_sigsegv.sh' ::: $jobs - name: Run ctest tests run: | jobs="gcc/debug gcc/release clang/debug clang/release" diff --git a/misc/testsuite/mimic_ctest.sh b/misc/testsuite/mimic_ctest.sh index 2881ff4b..861ef1ff 100755 --- a/misc/testsuite/mimic_ctest.sh +++ b/misc/testsuite/mimic_ctest.sh @@ -170,6 +170,9 @@ if [[ $UPX_CONFIG_DISABLE_EXHAUSTIVE_TESTS != ON ]]; then cmp -s upx-unpacked${exe} upx-unpacked-${s}${exe} if [[ $UPX_CONFIG_DISABLE_RUN_PACKED_TEST != ON ]]; then "${emu[@]}" ./upx-packed-${s}${exe} --version-short + for ((i = 0; i < 10; i++)); do + "${emu[@]}" ./upx-packed-${s}${exe} --version-short >/dev/null + done fi done done