fix last failing tests

historic moment: all the test (currently 56) work on the arm too
This commit is contained in:
Torsten Ruger 2015-11-20 14:37:26 +02:00
parent f9e95d7d1f
commit 22117035e0
2 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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