Skip to content

Commit 165fba2

Browse files
committed
Skip JS backtraces test on --native
* It would need the polyglot image to be built, which is usually not the case in CI.
1 parent 27c7c14 commit 165fba2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test/truffle/integration/backtraces.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ source test/truffle/common.sh.inc
55
for f in test/truffle/integration/backtraces/*.rb
66
do
77
echo "$f"
8-
options=""
9-
if [ "$(basename "$f")" = "javascript.rb" ]; then
10-
options="--polyglot --experimental-options --single_threaded"
8+
if [ "$(basename "$f")" != "javascript.rb" ]; then
9+
jt ruby --no-core-load-path "$f"
1110
fi
12-
jt ruby --no-core-load-path $options "$f"
1311
done
12+
13+
if [ "$(jt ruby -e 'p TruffleRuby.native?')" = "false" ]; then
14+
jt ruby --no-core-load-path --polyglot --experimental-options --single_threaded test/truffle/integration/backtraces/javascript.rb
15+
fi

0 commit comments

Comments
 (0)