Skip to content

Commit 22858e5

Browse files
committed
[GR-26817] Disable MultiTier for PE and compiler tests expecting inlining for the 1st compilation
PullRequest: truffleruby/2084
2 parents bb3ada9 + b74661a commit 22858e5

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

test/truffle/compiler/can-we-fold-yet.sh

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

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

5-
jt ruby --experimental-options --engine.IterativePartialEscape test/truffle/compiler/can-we-fold-yet/can-we-fold-yet.rb < test/truffle/compiler/can-we-fold-yet/input.txt > actual.txt
5+
jt ruby --experimental-options --engine.IterativePartialEscape --engine.MultiTier=false test/truffle/compiler/can-we-fold-yet/can-we-fold-yet.rb < test/truffle/compiler/can-we-fold-yet/input.txt > actual.txt
66

77
if ! cmp test/truffle/compiler/can-we-fold-yet/expected.txt actual.txt
88
then

test/truffle/compiler/can-we-fold-yet/can-we-fold-yet.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# GNU General Public License version 2, or
77
# GNU Lesser General Public License version 2.1.
88

9-
# Use --experimental-options --engine.IterativePartialEscape
9+
# Use --experimental-options --engine.IterativePartialEscape --engine.MultiTier=false
1010

1111
require 'readline'
1212

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 test/truffle/compiler/optional-assignment-lazy-load/optional-assignment-lazy-load.rb
5+
jt ruby --check-compilation --engine.MultiTier=false test/truffle/compiler/optional-assignment-lazy-load/optional-assignment-lazy-load.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 --engine.IterativePartialEscape test/truffle/compiler/pe/pe.rb "$@"
5+
jt ruby --experimental-options --check-compilation --engine.IterativePartialEscape --engine.MultiTier=false test/truffle/compiler/pe/pe.rb "$@"

test/truffle/compiler/pe/pe.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#
2525
# Run with:
2626
#
27-
# jt --env jvm-ce ruby --experimental-options --engine.TraceCompilation --check-compilation --engine.IterativePartialEscape test.rb
27+
# jt --env jvm-ce ruby --experimental-options --engine.TraceCompilation --check-compilation --engine.IterativePartialEscape --engine.MultiTier=false test.rb
2828

2929
require_relative 'pe_harness'
3030

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 test/truffle/compiler/stf-optimises/stf-optimises.rb
5+
jt ruby --experimental-options --check-compilation --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 test/truffle/compiler/tp-optimises/tp-optimises.rb
5+
jt ruby --experimental-options --check-compilation --engine.MultiTier=false test/truffle/compiler/tp-optimises/tp-optimises.rb

tool/docker.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def docker(*args)
247247
end
248248

249249
configs.each do |c|
250-
lines << "RUN ruby #{c} --experimental-options --engine.CompilationFailureAction=ExitVM --engine.TreatPerformanceWarningsAsErrors=all --engine.IterativePartialEscape pe/pe.rb || true"
250+
lines << "RUN ruby #{c} --experimental-options --engine.CompilationFailureAction=ExitVM --engine.TreatPerformanceWarningsAsErrors=all --engine.IterativePartialEscape --engine.MultiTier=false pe/pe.rb || true"
251251
end
252252
end
253253

0 commit comments

Comments
 (0)