We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27c7c14 commit 165fba2Copy full SHA for 165fba2
test/truffle/integration/backtraces.sh
@@ -5,9 +5,11 @@ source test/truffle/common.sh.inc
5
for f in test/truffle/integration/backtraces/*.rb
6
do
7
echo "$f"
8
- options=""
9
- if [ "$(basename "$f")" = "javascript.rb" ]; then
10
- options="--polyglot --experimental-options --single_threaded"
+ if [ "$(basename "$f")" != "javascript.rb" ]; then
+ jt ruby --no-core-load-path "$f"
11
fi
12
- jt ruby --no-core-load-path $options "$f"
13
done
+
+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