A little work on test times
They have been rising of late, installer reporter to check 8and keep checking) tweaking of cli parameters removed redundant interpreter tests
This commit is contained in:
@ -5,7 +5,8 @@ module RubyX
|
||||
class TestRubyXCliCompile < MiniTest::Test
|
||||
|
||||
def test_compile
|
||||
assert_output(/compiling/) {RubyXC.start(["compile" , "--preload","test/mains/source/add__4.rb"])}
|
||||
assert_output(/compiling/) {RubyXC.start(["compile" , "--preload",
|
||||
"--integers=50","--messages=50","test/mains/source/add__4.rb"])}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -5,7 +5,8 @@ module RubyX
|
||||
class TestRubyXCliExecute < MiniTest::Test
|
||||
|
||||
def test_execute
|
||||
assert_output(/Running/) {RubyXC.start(["execute" ,"--preload", "test/mains/source/add__4.rb"])}
|
||||
assert_output(/Running/) {RubyXC.start(["execute" ,"--preload",
|
||||
"--integers=50","--messages=50" , "test/mains/source/add__4.rb"])}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -5,7 +5,8 @@ module RubyX
|
||||
class TestRubyXCliInterpret < MiniTest::Test
|
||||
|
||||
def test_interpret
|
||||
assert_output(/interpreting/) {RubyXC.start(["interpret" ,"--preload", "test/mains/source/add__4.rb"])}
|
||||
assert_output(/interpreting/) {RubyXC.start(["interpret" ,"--preload",
|
||||
"--integers=50","--messages=50" , "test/mains/source/add__4.rb"])}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -5,7 +5,8 @@ module RubyX
|
||||
class TestRubyXCliStats < MiniTest::Test
|
||||
|
||||
def test_stats
|
||||
out, err = capture_io {RubyXC.start(["stats" ,"--preload", "test/mains/source/add__4.rb"])}
|
||||
out, err = capture_io {RubyXC.start(["stats" ,"--preload",
|
||||
"--integers=50","--messages=50", "test/mains/source/add__4.rb"])}
|
||||
assert out.include?("Space") , out
|
||||
assert out.include?("Total") , out
|
||||
assert out.include?("Objects=") , out
|
||||
|
Reference in New Issue
Block a user