summaryrefslogtreecommitdiff
path: root/bootstraptest/runner.rb
diff options
context:
space:
mode:
authorYuta Saito <kateinoigakukun@gmail.com>2022-01-15 22:11:55 +0900
committerYuta Saito <kateinoigakukun@gmail.com>2022-01-19 11:19:06 +0900
commitdd99ee1f7d366e6b92b952fb96221bf0ea3dc348 (patch)
tree328045def23fc905bfcb3a808fce8acc4995b8a9 /bootstraptest/runner.rb
parentdf31fa4a51822faccb35aa7a253c8af015869d0c (diff)
[wasm] bootstraptest, basictest: disable backquote literal tests
WASI doesn't support spawning a new process for now.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5407
Diffstat (limited to 'bootstraptest/runner.rb')
-rwxr-xr-xbootstraptest/runner.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index 2cd91ffd07..b155db18aa 100755
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -271,6 +271,14 @@ ensure
end
end
+def target_platform
+ if @ruby
+ `#{@ruby} --disable-gems -e 'print RUBY_PLATFORM'`
+ else
+ RUBY_PLATFORM
+ end
+end
+
def show_limit(testsrc, opt = '', **argh)
result = get_result_string(testsrc, opt, **argh)
if @tty and @verbose