mirror of
https://github.com/upx/upx.git
synced 2024-11-23 04:39:59 +00:00
misc: update mimic_ctest.sh
This commit is contained in:
parent
a7592b2ca2
commit
aed2c085b8
@ -506,7 +506,7 @@ if(NOT UPX_CONFIG_DISABLE_SELF_PACK_TEST)
|
||||
# TODO later: check if we can somehow run these tests in parallel groups
|
||||
if(NOT UPX_CONFIG_DISABLE_EXHAUSTIVE_TEST)
|
||||
foreach(method IN ITEMS nrv2b nrv2d nrv2e lzma)
|
||||
foreach(level IN ITEMS 1 2 3 4 5 6 7 )
|
||||
foreach(level IN ITEMS 1 2 3 4 5 6 7)
|
||||
set(s "${method}-${level}")
|
||||
upx_add_serial_test(upx-self-pack-${s} upx --${method} -${level} --debug-use-random-filter "${upx_self_exe}" ${fo} -o upx-packed-${s}${exe})
|
||||
upx_add_serial_test(upx-list-${s} upx -l upx-packed-${s}${exe})
|
||||
|
@ -60,6 +60,9 @@ set_on_off() {
|
||||
}
|
||||
|
||||
set -x
|
||||
if [[ "${emu[0]}" == *valgrind* ]]; then true; # valgrind is SLOW
|
||||
[[ -n $UPX_CONFIG_DISABLE_EXHAUSTIVE_TEST ]] || UPX_CONFIG_DISABLE_EXHAUSTIVE_TEST=ON
|
||||
fi
|
||||
set_on_off UPX_CONFIG_DISABLE_SELF_PACK_TEST
|
||||
set_on_off UPX_CONFIG_DISABLE_EXHAUSTIVE_TEST
|
||||
set_on_off UPX_CONFIG_DISABLE_RUN_UNPACKED_TEST
|
||||
|
Loading…
Reference in New Issue
Block a user