Skip to content

Commit 62df85d

Browse files
committed
Ensure the host inlining test is run when it should
* So e.g. if the file is missing we will notice it.
1 parent 099ae3f commit 62df85d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ci.jsonnet

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@ local part_definitions = {
212212
"--extra-image-builder-argument=rubyvm:-H:+TruffleHostInliningPrintExplored",
213213
"--extra-image-builder-argument=rubyvm:-Dgraal.LogFile=host-inlining.txt",
214214
],
215+
environment+: {
216+
TRUFFLERUBY_HOST_INLINING_TEST: "1",
217+
},
215218
},
216219
},
217220

test/truffle/compiler/host-inlining.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source test/truffle/common.sh.inc
44

55
file=${1:-host-inlining.txt}
66

7-
if [ -f "$file" ]; then
7+
if [ -n "$TRUFFLERUBY_HOST_INLINING_TEST" ]; then
88
# shellcheck disable=SC2016
99
ruby tool/extract_host_inlining.rb 'org.truffleruby.language.methods.CallForeignMethodNodeGen.execute' "$file" > out.txt
1010
# shellcheck disable=SC2016

0 commit comments

Comments
 (0)