still debugging travis (for arm tests)

This commit is contained in:
Torsten Rüger 2019-08-18 15:40:40 +03:00
parent 6547b1608d
commit 5a80850975

View File

@ -5,14 +5,14 @@ require 'net/scp'
module Mains module Mains
class TestArm < MiniTest::Test class TestArm < MiniTest::Test
@Qemu = "qemu-arm" @Qemu = "qemu-arm"
@Linker = "arm-linux-gnuabi-ld" @Linker = "arm-linux-gnueabi-ld"
def self.Linker def self.Linker
@Linker @Linker
end end
def self.Qemu def self.Qemu
@Qemu @Qemu
end end
DEBUG = false DEBUG = true
# runnable_methods is called by minitest to determine which tests to run # runnable_methods is called by minitest to determine which tests to run
def self.runnable_methods def self.runnable_methods
@ -30,14 +30,12 @@ module Mains
assert_equal stdout , out , "Wrong stdout #{name}" assert_equal stdout , out , "Wrong stdout #{name}"
assert_equal exit_code , code.to_s , "Wrong exit code #{name}" assert_equal exit_code , code.to_s , "Wrong exit code #{name}"
end end
break
end end
tests tests
end end
def self.has_qemu def self.has_qemu
if `uname -a`.include?("torsten") if `uname -a`.include?("torsten")
qemu = "qemu-arm"
@Linker = "arm-linux-gnu-ld" @Linker = "arm-linux-gnu-ld"
#return false #return false
end end