[ "$PROCTORRUN" ] && exec ../proctor-run
-all_archs="x86_64 ppc i386 "
-#armv6 thumb
-valid_archs="x86_64 armv6 ppc i386 "
+all_archs="x86_64 i386"
+valid_archs="x86_64 i386"
+# only test arm code if iOS platform tools installed
+if [ -d /Developer/Platforms/iPhoneOS.platform/Developer/SDKs ]
+then
+ all_archs="${all_archs} armv7"
+ valid_archs="${valid_archs} armv7"
+fi
+
# clean first
../bin/make-recursive.pl clean > /dev/null