fix last failing tests
historic moment: all the test (currently 56) work on the arm too
This commit is contained in:
parent
f9e95d7d1f
commit
22117035e0
@ -43,6 +43,7 @@ module RuntimeTests
|
||||
assert_equal ret , interpreter.get_register(:r0).return_value , "exit wrong #{@string_input}"
|
||||
end
|
||||
check_remote ret
|
||||
interpreter
|
||||
end
|
||||
|
||||
def connected
|
||||
|
@ -5,7 +5,7 @@ class TestLayoutRT < MiniTest::Test
|
||||
|
||||
def test_main
|
||||
@main = "return 1"
|
||||
check_return 1
|
||||
check 1
|
||||
end
|
||||
|
||||
def check_return_class val
|
||||
@ -13,14 +13,14 @@ class TestLayoutRT < MiniTest::Test
|
||||
|
||||
def test_get_layout
|
||||
@main = "return get_layout()"
|
||||
check
|
||||
assert_equal Parfait::Layout , @interpreter.get_register(:r0).return_value.class
|
||||
interpreter = check
|
||||
assert_equal Parfait::Layout , interpreter.get_register(:r0).return_value.class
|
||||
end
|
||||
|
||||
def test_get_class
|
||||
@main = "return get_class()"
|
||||
check
|
||||
assert_equal Parfait::Layout , @interpreter.get_register(:r0).return_value.class
|
||||
interpreter = check
|
||||
assert_equal Parfait::Class , interpreter.get_register(:r0).return_value.class
|
||||
end
|
||||
|
||||
def test_puts_class
|
||||
|
Loading…
Reference in New Issue
Block a user