Skip to content

Commit 231bb14

Browse files
committed
Exclude inline caching specs with --default-cache=0
1 parent 453e6d4 commit 231bb14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/truffle/regexp/inline_caching_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# This test requires splitting (--engine.Splitting) which is only available with the OptimizedTruffleRuntime.
1414
# It fails under --experimental-engine-caching because CallInternalMethodNode does not have cached specializations for
1515
# !isSingleContext() and so ends up using an IndirectCallNode which prevents splitting.
16-
guard -> { TruffleRuby.jit? && !Truffle::Boot.get_option('experimental-engine-caching') } do
16+
guard -> { TruffleRuby.jit? && !Truffle::Boot.get_option('experimental-engine-caching') && Truffle::Boot.get_option("default-cache") != 0 } do
1717
describe "Inline caching for dynamically-created Regexp works for" do
1818
before :each do
1919
@performance_warnings, Warning[:performance] = Warning[:performance], true

0 commit comments

Comments
 (0)