diff --git a/test/core/internal_names.fail.wast b/test/core/internal_names.fail.wast deleted file mode 100644 index 1be1998b..00000000 --- a/test/core/internal_names.fail.wast +++ /dev/null @@ -1,11 +0,0 @@ -;; There's an anologous problem with thread names -;; if we name a thread $_T1, etc. - -(module $_M1 - (func (export "run") - (local i32) - (i32.const 1) - (local.set 0) - ) -) -(invoke "run") diff --git a/test/core/module_shadow.fail.wast b/test/core/module_shadow.fail.wast deleted file mode 100644 index d5314f2f..00000000 --- a/test/core/module_shadow.fail.wast +++ /dev/null @@ -1,21 +0,0 @@ -(module $M1 - (func (export "run") (result i32) - (local i32) - (i32.const 1) - (local.set 0) - (local.get 0) - (return) - ) -) - -(module $M1 - (func (export "run") (result i32) - (local i32) - (i32.const 2) - (local.set 0) - (local.get 0) - (return) - ) -) - -(assert_return (invoke $M1 "run") (i32.const 2)) diff --git a/test/core/run.py b/test/core/run.py index 5a5916df..2aa93b30 100755 --- a/test/core/run.py +++ b/test/core/run.py @@ -78,8 +78,6 @@ def _runTestFile(self, inputPath): # Run original file expectedExitCode = 1 if ".fail." in inputFile else 0 - if expectedExitCode == 1: - print("### Expected exit 1; " + inputPath) logPath = self._auxFile(outputPath + ".log") self._runCommand(('%s "%s"') % (wasmCommand, inputPath), logPath, expectedExitCode) diff --git a/test/core/threads/duplicate_thread_name.fail.wast b/test/core/threads/duplicate_thread_name.fail.wast deleted file mode 100644 index 5ffe9549..00000000 --- a/test/core/threads/duplicate_thread_name.fail.wast +++ /dev/null @@ -1,42 +0,0 @@ -(module $Mem - (memory (export "shared") 1 1 shared) -) -(register "mem") - -(thread $T1 (shared (module $Mem)) - (register "mem" $Mem) - (module - (memory (import "mem" "shared") 1 1 shared) - (func (export "run") - (i32.store (i32.const 0) (i32.const 42)) - ) - ) - (invoke "run") -) - -(thread $T2 (shared (module $Mem)) - (register "mem" $Mem) - (module - (memory (import "mem" "shared") 1 1 shared) - (func (export "run") (result i32) - (i32.load (i32.const 0)) - ) - ) - - (thread $T1 (shared (module $Mem)) - (register "mem" $Mem) - (module - (memory (import "mem" "shared") 1 1 shared) - (func (export "run_inner") (result i32) - (i32.load (i32.const 0)) - ) - ) - (invoke "run_inner") - ) - - (wait $T1) -) - -(wait $T1) -(wait $T2) - diff --git a/test/core/threads/infinite_loop.fail.wast b/test/core/threads/infinite_loop.fail.wast deleted file mode 100644 index bad5d50e..00000000 --- a/test/core/threads/infinite_loop.fail.wast +++ /dev/null @@ -1,32 +0,0 @@ -(module $Mem - (memory (export "shared") 1 1 shared) -) -(register "mem") - -(thread $Loop (shared (module $Mem)) - (register "mem" $Mem) - (module - (memory (import "mem" "shared") 1 1 shared) - (func (export "run") - (loop $inf_loop - (i32.store (i32.const 5) (i32.const 42)) - (br $inf_loop) - ) - ) - ) - (invoke "run") -) - - -;; (wait $Loop) - -(module $Check - (memory (import "mem" "shared") 1 1 shared) - - (func (export "check") (result i32) - (i32.load (i32.const 5)) - (return) - ) -) - -(assert_return (invoke $Check "check") (i32.const 42)) diff --git a/test/core/threads/unlinkable.wast b/test/core/threads/unlinkable.wast index 8bf74abe..880ed3d5 100644 --- a/test/core/threads/unlinkable.wast +++ b/test/core/threads/unlinkable.wast @@ -2,10 +2,6 @@ (memory (export "shared") 1 1 shared) ) -;; (thread $T1 -;; (module (memory (import "mem" "shared") 1 1 shared)) -;; ) - (thread $T2 (assert_unlinkable (module (memory (import "mem" "shared") 1 1 shared)) @@ -13,13 +9,8 @@ ) ) -;; (wait $T1) (wait $T2) -;; (thread $T3 (shared (module $Mem)) -;; (module (memory (import "mem" "shared") 1 1 shared)) -;; ) - (thread $T4 (shared (module $Mem)) (assert_unlinkable (module (memory (import "mem" "shared") 1 1 shared)) @@ -27,5 +18,4 @@ ) ) -;; (wait $T3) (wait $T4)