Skip to content

Commit 9054d4d

Browse files
committed
skip eval local tests in mspec too
1 parent 439db2c commit 9054d4d

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/zjit-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
env:
5959
GITPULLOPTIONS: --no-tags origin ${{ github.ref }}
6060
RUN_OPTS: ${{ matrix.run_opts }}
61-
SPECOPTS: ${{ matrix.specopts }}
61+
SPECOPTS: ${{ matrix.specopts }} -B../src/spec/zjit.mspec
6262
TESTOPTS: ${{ matrix.testopts }}
6363
RUST_BACKTRACE: 1
6464
ZJIT_RB_BUG: 1

.github/workflows/zjit-ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
GITPULLOPTIONS: --no-tags origin ${{ github.ref }}
100100
RUN_OPTS: ${{ matrix.run_opts }}
101101
YJIT_BENCH_OPTS: ${{ matrix.yjit_bench_opts }}
102-
SPECOPTS: ${{ matrix.specopts }}
102+
SPECOPTS: ${{ matrix.specopts }} -B../src/spec/zjit.mspec
103103
TESTOPTS: ${{ matrix.testopts }}
104104
RUBY_DEBUG: ci
105105
BUNDLE_JOBS: 8 # for yjit-bench

spec/zjit.mspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Fails with --zjit-disable-hir-opt. See https://github.com/Shopify/ruby/issues/970
2+
MSpec.register(:exclude, "Kernel#eval updates a local in a scope above a surrounding block scope")

0 commit comments

Comments
 (0)