Skip to content

Commit fd1813a

Browse files
eregonandrykonchin
authored andcommitted
Add missing --experimental-options
* Those were not noticed before because of `--experimental-options --pattern-matching` always passed for specs.
1 parent c5cae5e commit fd1813a

11 files changed

+12
-12
lines changed

test/truffle/compiler/clone-uninitialized-checks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ source test/truffle/common.sh.inc
55
export TRUFFLERUBY_CHECK_PREINITIALIZED_SPEC=false
66

77
# --always-clone-all covers more than just --core-always-clone, but is much slower (6 min vs 1 min)
8-
JT_SPECS_COMPILATION=false JT_SPECS_SPLITTING=true jt test fast -- --core-always-clone --check-clone-uninitialized-correctness
8+
JT_SPECS_COMPILATION=false JT_SPECS_SPLITTING=true jt test fast -- --experimental-options --core-always-clone --check-clone-uninitialized-correctness

test/truffle/compiler/compile-immediately.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ code="puts 'hello'"
66

77
# Test both without and with BackgroundCompilation, it catches different issues
88

9-
jt ruby --engine.UsePreInitializedContext=false --check-compilation --engine.CompileImmediately --engine.BackgroundCompilation=false --trace -e "$code"
9+
jt ruby --engine.UsePreInitializedContext=false --check-compilation --experimental-options --engine.CompileImmediately --engine.BackgroundCompilation=false --trace -e "$code"
1010

11-
jt ruby --engine.UsePreInitializedContext=false --check-compilation --engine.CompileImmediately --trace -e "$code"
11+
jt ruby --engine.UsePreInitializedContext=false --check-compilation --experimental-options --engine.CompileImmediately --trace -e "$code"

test/truffle/compiler/optional-assignment-lazy-load.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
source test/truffle/common.sh.inc
44

5-
jt ruby --check-compilation --engine.MultiTier=false test/truffle/compiler/optional-assignment-lazy-load/optional-assignment-lazy-load.rb
5+
jt ruby --check-compilation --experimental-options --engine.MultiTier=false test/truffle/compiler/optional-assignment-lazy-load/optional-assignment-lazy-load.rb

test/truffle/compiler/osr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
source test/truffle/common.sh.inc
44

5-
jt ruby --experimental-options --check-compilation test/truffle/compiler/osr/osr.rb
5+
jt ruby --check-compilation test/truffle/compiler/osr/osr.rb

test/truffle/compiler/pe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
source test/truffle/common.sh.inc
44

5-
jt ruby --experimental-options --check-compilation --compiler.IterativePartialEscape --engine.MultiTier=false test/truffle/compiler/pe/pe.rb "$@"
5+
jt ruby --check-compilation --experimental-options --compiler.IterativePartialEscape --engine.MultiTier=false test/truffle/compiler/pe/pe.rb "$@"

test/truffle/compiler/stf-optimises.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
source test/truffle/common.sh.inc
44

5-
jt ruby --experimental-options --check-compilation --engine.MultiTier=false test/truffle/compiler/stf-optimises/stf-optimises.rb
5+
jt ruby --check-compilation --experimental-options --engine.MultiTier=false test/truffle/compiler/stf-optimises/stf-optimises.rb

test/truffle/compiler/tp-optimises.sh_excluded

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
source test/truffle/common.sh.inc
44

5-
jt ruby --experimental-options --check-compilation --engine.MultiTier=false test/truffle/compiler/tp-optimises/tp-optimises.rb
5+
jt ruby --check-compilation --experimental-options --engine.MultiTier=false test/truffle/compiler/tp-optimises/tp-optimises.rb

test/truffle/integration/code-sharing-test-fast.sh

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

55
export TRUFFLERUBY_CHECK_PREINITIALIZED_SPEC=false
6-
jt test fast -- --engine.ForceCodeSharing --experimental-engine-caching
6+
jt test fast -- --experimental-options --engine.ForceCodeSharing --experimental-engine-caching

test/truffle/integration/intrument-all-nodes.sh

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

55
export TRUFFLERUBY_CHECK_PREINITIALIZED_SPEC=false
6-
jt test fast -- --instrument-all-nodes
6+
jt test fast -- --experimental-options --instrument-all-nodes

test/truffle/integration/limit-zero.sh

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

55
export TRUFFLERUBY_CHECK_PREINITIALIZED_SPEC=false
6-
jt test fast -- --default-cache=0 --identity-cache=0 --class-cache=0 --array-dup-cache=0 --array-strategy-cache=0 --pack-unroll=0 --global-variable-max-invalidations=0
6+
jt test fast -- --experimental-options --default-cache=0 --identity-cache=0 --class-cache=0 --array-dup-cache=0 --array-strategy-cache=0 --pack-unroll=0 --global-variable-max-invalidations=0

0 commit comments

Comments
 (0)