Skip to content

Commit 23ad425

Browse files
chrisseatonansalond
authored andcommitted
Run PE tests in Docker for --jvm
(cherry picked from commit 0a8160f)
1 parent 2f45de3 commit 23ad425

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tool/jt.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2118,6 +2118,7 @@ def dockerfile(*args)
21182118
if full_test
21192119
lines.push "RUN git clone --depth 1 --branch #{test_branch} #{truffleruby_repo} truffleruby-tests"
21202120
lines.push "RUN cp -r truffleruby-tests/spec ."
2121+
lines.push "RUN cp -r truffleruby-tests/test/truffle/compiler/pe ."
21212122
lines.push "RUN rm -rf truffleruby-tests"
21222123

21232124
configs.each do |config|
@@ -2132,6 +2133,8 @@ def dockerfile(*args)
21322133
lines.push "RUN " + setup_env["ruby spec/mspec/bin/mspec --config spec/truffle.mspec -t $D_RUBY_BIN/ruby #{t_config} #{t_excludes} #{set} #{extra}"]
21332134
end
21342135
end
2136+
2137+
lines.push "RUN ruby --jvm -J-Dgraal.TruffleCompilationExceptionsAreThrown=true -J-Dgraal.TruffleIterativePartialEscape=true -Xbasic_ops.inline=false pe/pe.rb"
21352138
end
21362139

21372140
lines.push "CMD " + setup_env["bash"]

0 commit comments

Comments
 (0)