summaryrefslogtreecommitdiff
path: root/test/lit
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit')
-rw-r--r--test/lit/deprecated-wat.wast24
-rw-r--r--test/lit/help/wasm-opt.test7
-rw-r--r--test/lit/passes/string-lowering-instructions.wast1
-rw-r--r--test/lit/validation/global-cycle.wast2
-rw-r--r--test/lit/wat-kitchen-sink.wast2
5 files changed, 2 insertions, 34 deletions
diff --git a/test/lit/deprecated-wat.wast b/test/lit/deprecated-wat.wast
deleted file mode 100644
index 401d3244b..000000000
--- a/test/lit/deprecated-wat.wast
+++ /dev/null
@@ -1,24 +0,0 @@
-;; NOTE: Assertions have been generated by update_lit_checks.py --all-items and should not be edited.
-
-;; RUN: wasm-opt --deprecated-wat-parser -all %s -S -o - | filecheck %s
-
-(module
- ;; CHECK: (type $0 (func (param i32)))
-
- ;; CHECK: (type $1 (func (result i32)))
-
- ;; CHECK: (import "env" "bad" (func $wrong (type $0) (param i32)))
-
- ;; CHECK: (func $foo (type $1) (result i32)
- ;; CHECK-NEXT: (i32.const 0)
- ;; CHECK-NEXT: )
- (func $foo (result i32)
- ;; Non-standard block result format
- (block i32
- (i32.const 0)
- )
- )
-
- ;; Non-standard import after declared function
- (import $wrong "env" "bad" (param i32))
-)
diff --git a/test/lit/help/wasm-opt.test b/test/lit/help/wasm-opt.test
index fd8bc5b1e..727d1ab21 100644
--- a/test/lit/help/wasm-opt.test
+++ b/test/lit/help/wasm-opt.test
@@ -72,13 +72,6 @@
;; CHECK-NEXT: --output-source-map-url,-osu Emit specified string as source
;; CHECK-NEXT: map URL
;; CHECK-NEXT:
-;; CHECK-NEXT: --deprecated-wat-parser Use the old, deprecated WAT
-;; CHECK-NEXT: parser. This option will be
-;; CHECK-NEXT: removed soon!
-;; CHECK-NEXT:
-;; CHECK-NEXT: --new-wat-parser Use the experimental new WAT
-;; CHECK-NEXT: parser
-;; CHECK-NEXT:
;; CHECK-NEXT: --experimental-new-eh Deprecated; same as
;; CHECK-NEXT: --emit-exnref
;; CHECK-NEXT:
diff --git a/test/lit/passes/string-lowering-instructions.wast b/test/lit/passes/string-lowering-instructions.wast
index 44c004ea5..b98b9af23 100644
--- a/test/lit/passes/string-lowering-instructions.wast
+++ b/test/lit/passes/string-lowering-instructions.wast
@@ -1,7 +1,6 @@
;; NOTE: Assertions have been generated by update_lit_checks.py --all-items and should not be edited.
;; RUN: foreach %s %t wasm-opt --string-lowering -all -S -o - | filecheck %s
-;; RUN: foreach %s %t wasm-opt --new-wat-parser --string-lowering -all -S -o - | filecheck %s
(module
(rec
diff --git a/test/lit/validation/global-cycle.wast b/test/lit/validation/global-cycle.wast
index 1887e5716..acba9a3b6 100644
--- a/test/lit/validation/global-cycle.wast
+++ b/test/lit/validation/global-cycle.wast
@@ -1,4 +1,4 @@
-;; RUN: not wasm-opt %s --new-wat-parser -all 2>&1 | filecheck %s
+;; RUN: not wasm-opt %s -all 2>&1 | filecheck %s
;; CHECK: global initializer should only refer to previous globals
diff --git a/test/lit/wat-kitchen-sink.wast b/test/lit/wat-kitchen-sink.wast
index f4b5dc16c..527bfdd05 100644
--- a/test/lit/wat-kitchen-sink.wast
+++ b/test/lit/wat-kitchen-sink.wast
@@ -1,6 +1,6 @@
;; NOTE: Assertions have been generated by update_lit_checks.py --all-items and should not be edited.
-;; RUN: wasm-opt --new-wat-parser -all %s -S -o - | filecheck %s
+;; RUN: wasm-opt -all %s -S -o - | filecheck %s
(module $parse
;; types