X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/197008ea33f135c7c4f94a67a2f75a9df7b7771d..39a8cd101b922f08058746122efff58c14b57605:/unit-tests/run-all-unit-tests diff --git a/unit-tests/run-all-unit-tests b/unit-tests/run-all-unit-tests index 0cfeb45..45f846f 100755 --- a/unit-tests/run-all-unit-tests +++ b/unit-tests/run-all-unit-tests @@ -32,15 +32,18 @@ fi # if Intel, then also run all test cases under emulation if [ "`sysctl -n hw.machine`" = "i386" ] then - echo "" - echo " * * * Running all unit tests for emulated 32-bits * * *" - - # make clean - ../bin/make-recursive.pl clean > /dev/null - # build ppc architecture - ../bin/make-recursive.pl ARCH="ppc" | ../bin/result-filter.pl + if [ -x /usr/libexec/oah/translate ] + then + echo "" + echo " * * * Running all unit tests for emulated 32-bits * * *" + + # make clean + ../bin/make-recursive.pl clean > /dev/null + # build ppc architecture + ../bin/make-recursive.pl ARCH="ppc" | ../bin/result-filter.pl + fi # if 64-bit capable Intel, then also run all test cases for 64-bits if [ `sysctl -n hw.optional.x86_64` = "1" ]