Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/truffle/pe/pe.rb
Original file line number Diff line number Diff line change
@@ -26,6 +26,8 @@
#
# jt run --graal -J-G:+TraceTruffleCompilation -J-G:+TruffleCompilationExceptionsAreFatal test.rb

TIMEOUT = 10

EXAMPLES = []

def example(code, expected_value, expected_constant=true, tagged=false)
@@ -129,7 +131,7 @@ def report(status, code, message = nil)
end
end

test_thread.join(5)
test_thread.join(TIMEOUT)

unless finished
report 'TIMEOUT', code, "didn't compile in time so I don't know if it's constant or not"

0 comments on commit 1a3e6a0

Please sign in to comment.