diff --git a/tools/test_autorun.sh b/tools/test_autorun.sh index 58d1a0a..63c0028 100755 --- a/tools/test_autorun.sh +++ b/tools/test_autorun.sh @@ -45,13 +45,17 @@ while [ -n "$1" ]; do ./tools/test_checks.sh shift ;; ext ) - ./tools/test_extended.sh + # Drop first argument, to pass the rest of the arguments to test_extended.sh + shift ; + ./tools/test_extended.sh $@ shift ;; format ) shift ;; all ) + # Drop first argument, to pass the rest of the arguments to test_extended.sh + shift ; ./tools/test_checks.sh - ./tools/test_extended.sh + ./tools/test_extended.sh $@ shift ;; * ) echo $0 undefined option: $1 diff --git a/tools/test_extended.sh b/tools/test_extended.sh index 2deafa8..f08ba04 100755 --- a/tools/test_extended.sh +++ b/tools/test_extended.sh @@ -201,6 +201,24 @@ test_end "noarch_build_random" $? $MAKE -f Makefile.unx arch=noarch clean msg+=$'Noarch build: Pass\n' +# Test other implementations with SDE +if [ $(uname -m) == "x86_64" ] && command -V sde64 >/dev/null 2>&1; then + # Compile tests + $MAKE -f Makefile.unx -j $cpus checks + # Loop through architectures + while [ $# -gt 0 ] + do + test_start "SDE test on $1 architecture" + time sde64 -$1 -- $MAKE -f Makefile.unx -j $cpus D="TEST_SEED=$S" check + test_start "SDE test on $1 architecture" $? + # Drop architecture from list, to test the next one + shift; + done + msg+=$'Running tests with SDE: Pass\n' + else + msg+=$'Running tests with SDE: Skip\n' +fi + # Try mingw build if [ $(uname -m) == "x86_64" ] && command -V x86_64-w64-mingw32-gcc >/dev/null 2>&1; then test_start "mingw_build"