diff options
author | Yuta Saito <[email protected]> | 2022-01-15 22:11:55 +0900 |
---|---|---|
committer | Yuta Saito <[email protected]> | 2022-01-19 11:19:06 +0900 |
commit | dd99ee1f7d366e6b92b952fb96221bf0ea3dc348 (patch) | |
tree | 328045def23fc905bfcb3a808fce8acc4995b8a9 /bootstraptest/runner.rb | |
parent | df31fa4a51822faccb35aa7a253c8af015869d0c (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-x | bootstraptest/runner.rb | 8 |
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 |