still debugging travis (for arm tests)
This commit is contained in:
parent
6547b1608d
commit
5a80850975
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user