Debian Codegraph @

test/blackbox-tests/test-cases/merlin/dump-dot-merlin.t/run.t

raw
1 Dumps `.merlin` contents for source directories with spaces.
2
3 $ ocamlc_where="$(ocamlc -where)"
4 $ export BUILD_PATH_PREFIX_MAP="/OCAMLC_WHERE=$ocamlc_where:$BUILD_PATH_PREFIX_MAP"
5
6 $ dune build
7 $ dune ocaml dump-dot-merlin src\ with\ spaces
8 EXCLUDE_QUERY_DIR
9 STDLIB /OCAMLC_WHERE
10 SOURCE_ROOT $TESTCASE_ROOT
11 B $TESTCASE_ROOT/_build/default/src with spaces/.foo.eobjs/byte
12 S $TESTCASE_ROOT/src with spaces
13 INDEX $TESTCASE_ROOT/_build/default/p p/.pp.eobjs/cctx.ocaml-index
14 INDEX $TESTCASE_ROOT/_build/default/src with spaces/.foo.eobjs/cctx.ocaml-index
15 # FLG -pp ''\''$TESTCASE_ROOT/_build/default/p p/pp.exe'\'''
16 # FLG -w @[email protected]@30..39@[email protected]@[email protected] -strict-sequence -strict-formats -short-paths -keep-locs -g
17
18 $ dune ocaml dump-dot-merlin "p p"
19 EXCLUDE_QUERY_DIR
20 STDLIB /OCAMLC_WHERE
21 SOURCE_ROOT $TESTCASE_ROOT
22 B $TESTCASE_ROOT/_build/default/p p/.pp.eobjs/byte
23 S $TESTCASE_ROOT/p p
24 INDEX $TESTCASE_ROOT/_build/default/p p/.pp.eobjs/cctx.ocaml-index
25 INDEX $TESTCASE_ROOT/_build/default/src with spaces/.foo.eobjs/cctx.ocaml-index
26 # FLG -w @[email protected]@30..39@[email protected]@[email protected] -strict-sequence -strict-formats -short-paths -keep-locs -g
27