Skip to content

Commit

Permalink
Make test illustrate quoting better
Browse files Browse the repository at this point in the history
Signed-off-by: Ulysse Gérard <[email protected]>
  • Loading branch information
voodoos committed Feb 19, 2021
1 parent 6c9125f commit 9230bcf
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions test/blackbox-tests/test-cases/merlin/dump-dot-merlin.t/run.t
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
$ dune build
$ dune ocaml dump-dot-merlin |
$ dune ocaml dump-dot-merlin src\ with\ spaces |
> sed 's#'$(opam config var prefix)'#OPAM_PREFIX#'
EXCLUDE_QUERY_DIR
STDLIB OPAM_PREFIX/lib/ocaml
B $TESTCASE_ROOT/_build/default/.foo.eobjs/byte
S $TESTCASE_ROOT
# FLG -pp $TESTCASE_ROOT/_build/default/pp/pp.exe
B $TESTCASE_ROOT/_build/default/src with spaces/.foo.eobjs/byte
S $TESTCASE_ROOT/src with spaces
# FLG -pp ''\''$TESTCASE_ROOT/_build/default/p p/pp.exe'\'''
# FLG -open Dune__exe -w @[email protected]@30..39@[email protected]@[email protected] -strict-sequence -strict-formats -short-paths -keep-locs
$ dune ocaml dump-dot-merlin "pp" |
$ dune ocaml dump-dot-merlin "p p" |
> sed 's#'$(opam config var prefix)'#OPAM_PREFIX#'
EXCLUDE_QUERY_DIR
STDLIB OPAM_PREFIX/lib/ocaml
B $TESTCASE_ROOT/_build/default/pp/.pp.eobjs/byte
S $TESTCASE_ROOT/pp
B $TESTCASE_ROOT/_build/default/p p/.pp.eobjs/byte
S $TESTCASE_ROOT/p p
# FLG -w @[email protected]@30..39@[email protected]@[email protected] -strict-sequence -strict-formats -short-paths -keep-locs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
(executables (names foo bar)
(preprocess (per_module
((action (run pp/pp.exe %{input-file})) bar))))
((action (run "p p/pp.exe"%{input-file})) bar))))

0 comments on commit 9230bcf

Please sign in to comment.