Skip to content

Commit

Permalink
promote tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zapashcanon committed Jan 16, 2024
1 parent 1206c01 commit a0bf4d7
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 31 deletions.
7 changes: 2 additions & 5 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

```sh
$ dune exec -- owi --help=plain
OWI(1) Owi Manual OWI(1)

NAME
owi - OCaml WebAssembly Interpreter

Expand Down Expand Up @@ -47,8 +45,8 @@ COMMANDS

COMMON OPTIONS
--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of auto,
pager, groff or plain. With auto, the format is pager or plain
Show this help in format FMT. The value FMT must be one of auto,
pager, groff or plain. With auto, the format is pager or plain
whenever the TERM env var is dumb or undefined.

--version
Expand All @@ -68,7 +66,6 @@ EXIT STATUS
BUGS
Email them to <contact@ndrs.fr>.

Owi 11VERSION11 OWI(1)
```

[`owi c`]: ./c
Expand Down
10 changes: 4 additions & 6 deletions example/c/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,9 @@ Exercise: can you find another "root" of the polynomial ? :-)

```sh
$ dune exec owi -- c --help=plain
OWI-C(1) Owi Manual OWI-C(1)

NAME
owi-c - Compile a C file to Wasm and run the symbolic interpreter on it
owi-c - Compile a C file to Wasm and run the symbolic interpreter on
it

SYNOPSIS
owi c [OPTION]… [ARG]…
Expand Down Expand Up @@ -126,8 +125,8 @@ OPTIONS

COMMON OPTIONS
--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of auto,
pager, groff or plain. With auto, the format is pager or plain
Show this help in format FMT. The value FMT must be one of auto,
pager, groff or plain. With auto, the format is pager or plain
whenever the TERM env var is dumb or undefined.

--version
Expand All @@ -150,5 +149,4 @@ BUGS
SEE ALSO
owi(1)

Owi 11VERSION11 OWI-C(1)
```
7 changes: 2 additions & 5 deletions example/fmt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ Are you able to recognize the program now?

```sh
$ dune exec owi -- fmt --help=plain
OWI-FMT(1) Owi Manual OWI-FMT(1)

NAME
owi-fmt - Format a .wat or .wast file

Expand All @@ -114,8 +112,8 @@ OPTIONS

COMMON OPTIONS
--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of auto,
pager, groff or plain. With auto, the format is pager or plain
Show this help in format FMT. The value FMT must be one of auto,
pager, groff or plain. With auto, the format is pager or plain
whenever the TERM env var is dumb or undefined.

--version
Expand All @@ -138,5 +136,4 @@ BUGS
SEE ALSO
owi(1)

Owi 11VERSION11 OWI-FMT(1)
```
7 changes: 2 additions & 5 deletions example/opt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,6 @@ $ dune exec -- owi opt useless.wat

```sh
$ dune exec owi -- opt --help=plain
OWI-OPT(1) Owi Manual OWI-OPT(1)

NAME
owi-opt - Optimize a module

Expand All @@ -382,8 +380,8 @@ OPTIONS

COMMON OPTIONS
--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of auto,
pager, groff or plain. With auto, the format is pager or plain
Show this help in format FMT. The value FMT must be one of auto,
pager, groff or plain. With auto, the format is pager or plain
whenever the TERM env var is dumb or undefined.

--version
Expand All @@ -406,5 +404,4 @@ BUGS
SEE ALSO
owi(1)

Owi 11VERSION11 OWI-OPT(1)
```
7 changes: 2 additions & 5 deletions example/run/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ stack : [ ]

```sh
$ dune exec owi -- run --help=plain
OWI-RUN(1) Owi Manual OWI-RUN(1)

NAME
owi-run - Run the concrete interpreter

Expand All @@ -77,8 +75,8 @@ OPTIONS

COMMON OPTIONS
--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of auto,
pager, groff or plain. With auto, the format is pager or plain
Show this help in format FMT. The value FMT must be one of auto,
pager, groff or plain. With auto, the format is pager or plain
whenever the TERM env var is dumb or undefined.

--version
Expand All @@ -101,5 +99,4 @@ BUGS
SEE ALSO
owi(1)

Owi 11VERSION11 OWI-RUN(1)
```
7 changes: 2 additions & 5 deletions example/sym/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ TODO

```sh
$ dune exec owi -- sym --help=plain
OWI-SYM(1) Owi Manual OWI-SYM(1)

NAME
owi-sym - Run the symbolic interpreter

Expand Down Expand Up @@ -74,8 +72,8 @@ OPTIONS

COMMON OPTIONS
--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of auto,
pager, groff or plain. With auto, the format is pager or plain
Show this help in format FMT. The value FMT must be one of auto,
pager, groff or plain. With auto, the format is pager or plain
whenever the TERM env var is dumb or undefined.

--version
Expand All @@ -98,5 +96,4 @@ BUGS
SEE ALSO
owi(1)

Owi 11VERSION11 OWI-SYM(1)
```

0 comments on commit a0bf4d7

Please sign in to comment.