summaryrefslogtreecommitdiff
path: root/test/lit/help/wasm-shell.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/help/wasm-shell.test')
-rw-r--r--test/lit/help/wasm-shell.test17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/lit/help/wasm-shell.test b/test/lit/help/wasm-shell.test
new file mode 100644
index 000000000..c171e1428
--- /dev/null
+++ b/test/lit/help/wasm-shell.test
@@ -0,0 +1,17 @@
+;; RUN: wasm-shell --help | filecheck %s
+
+wasm-shell INFILE
+
+;; CHECK: Execute .wast files
+;; CHECK-NEXT:
+;; CHECK-NEXT: Options:
+;; CHECK-NEXT:
+;; CHECK-NEXT: --version Output version information and exit
+;; CHECK-NEXT:
+;; CHECK-NEXT: --help,-h Show this help message and exit
+;; CHECK-NEXT:
+;; CHECK-NEXT: --debug,-d Print debug information to stderr
+;; CHECK-NEXT:
+;; CHECK-NEXT: --entry,-e Call the entry point after parsing the module
+;; CHECK-NEXT:
+;; CHECK-NEXT: --skip,-s Skip input on certain lines (comma-separated-list)