diff --git a/test/mains/test_arm.rb b/test/mains/test_arm.rb index 4fe96d22..16446395 100644 --- a/test/mains/test_arm.rb +++ b/test/mains/test_arm.rb @@ -28,10 +28,20 @@ module Mains end def self.has_qemu - `qemu-arm -version` - return false unless $?.exitstatus == 0 - `arm-linux-gnu-ld -v` - return false unless $?.exitstatus == 0 + qemu = "qemu-arm" + linker = "arm-linux-gnuabi-ld" + if `uname -a`.include?("torsten") + qemu = "qemu-arm" + linker = "arm-linux-gnu-ld" + #return false + end + begin + `#{qemu} -version` + `#{linker} -v` + rescue => e + puts e + return false + end true end