diff options
author | Yuta Saito <kateinoigakukun@gmail.com> | 2022-01-15 22:11:55 +0900 |
---|---|---|
committer | Yuta Saito <kateinoigakukun@gmail.com> | 2022-01-19 11:19:06 +0900 |
commit | dd99ee1f7d366e6b92b952fb96221bf0ea3dc348 (patch) | |
tree | 328045def23fc905bfcb3a808fce8acc4995b8a9 /bootstraptest/test_literal.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/test_literal.rb')
-rw-r--r-- | bootstraptest/test_literal.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bootstraptest/test_literal.rb b/bootstraptest/test_literal.rb index 9b3c10d519..a0d4ee08c6 100644 --- a/bootstraptest/test_literal.rb +++ b/bootstraptest/test_literal.rb @@ -65,8 +65,11 @@ assert_equal ':a3c', ':"a#{1+2}c".inspect' assert_equal 'Symbol', ':"a#{1+2}c".class' # xstring -assert_equal "foo\n", %q(`echo foo`) -assert_equal "foo\n", %q(s = "foo"; `echo #{s}`) +# WASI doesn't support spawning a new process for now. +if /wasi/ !~ target_platform + assert_equal "foo\n", %q(`echo foo`) + assert_equal "foo\n", %q(s = "foo"; `echo #{s}`) +end # regexp assert_equal '', '//.source' |