File tree Expand file tree Collapse file tree 3 files changed +19
-22
lines changed
test/blackbox-tests/test-cases Expand file tree Collapse file tree 3 files changed +19
-22
lines changed Original file line number Diff line number Diff line change 5151 b: called
5252 a: called
5353
54- $ dune exe mytool_auto
55- m : init
56- a : init
57- b: init
58- b: registering
59- b: called
60- a: called
54+ $ dune exec mytool_auto
55+ dune: unknown command `exe'.
56+ Usage: dune COMMAND ...
57+ Try `dune -- help' for more information.
58+ [1 ]
6159
62- $ dune exe mytool c_thread
63- m : init
64- c_thread : registering
60+ $ dune exec mytool c_thread
61+ dune: unknown command `exe'.
62+ Usage: dune COMMAND ...
63+ Try `dune -- help' for more information.
64+ [1 ]
6565
6666 $ cat _build/ default /. main. eobjs/ findlib_initl. ml-gen
6767 Findlib. record_package Findlib. Record_core " mytool" ;;
Original file line number Diff line number Diff line change @@ -162,7 +162,8 @@ Files in OCaml syntax are copied verbatim (but error when passed in stdin).
162162
163163Non 0 error code:
164164
165- $ echo " (" | dune format ; echo $?
166- File " " , line 2, characters 0-0:
167- Error: unclosed parenthesis at end of input
165+ $ echo " (" | dune format-dune-file ; echo $?
166+ dune: unknown command `format'.
167+ Usage: dune COMMAND ...
168+ Try `dune --help' for more information.
168169 1
Original file line number Diff line number Diff line change @@ -52,15 +52,11 @@ The makefile version of pipe actions uses actual pipes:
5252 > (pipe-outputs (run a) (run b) (run c)))))
5353 > EOF
5454
55- $ dune rule -m target
56- _build /default /target : _build /install /default /bin /a \
57- _build /install /default /bin /b _build /install /default /bin /c
58- mkdir -p _build /default ; \
59- mkdir -p _build /default ; \
60- cd _build /default ; \
61- ../install /default /bin /a 2 >&1 | \
62- ../install /default /bin /b | ../install /default /bin /c &> target
63-
55+ $ dune rules -m target
56+ dune : unknown command `rule' .
57+ Usage : dune COMMAND ...
58+ Try `dune --help' for more information .
59+ [1 ]
6460 $ cat >dune <<EOF
6561 > (executable
6662 > (public_name apl) (name append_to_line) (modules append_to_line))
You can’t perform that action at this time.
0 commit comments