Add a test for #759

This commit is contained in:
Jeremie Dimino 2018-05-09 16:20:29 +01:00
parent fc5ecdac9d
commit 4ffa88726a
3 changed files with 25 additions and 0 deletions

View File

@ -193,6 +193,14 @@
(run ${exe:cram.exe} -skip-versions 4.02.3 -test run.t)
(diff? run.t run.t.corrected))))))
(alias
((name github759)
(deps ((package dune) (files_recursively_in test-cases/github759)))
(action
(chdir
test-cases/github759
(progn (run ${exe:cram.exe} -test run.t) (diff? run.t run.t.corrected))))))
(alias
((name include-loop)
(deps ((package dune) (files_recursively_in test-cases/include-loop)))
@ -476,6 +484,7 @@
(alias github644)
(alias github660)
(alias github717-odoc-index)
(alias github759)
(alias include-loop)
(alias inline_tests)
(alias installable-dup-private-libs)
@ -528,6 +537,7 @@
(alias github568)
(alias github597)
(alias github660)
(alias github759)
(alias include-loop)
(alias inline_tests)
(alias installable-dup-private-libs)

View File

@ -0,0 +1 @@
(library ((name foo)))

View File

@ -0,0 +1,14 @@
$ jbuilder build foo.cma
$ cat .merlin
B _build/default/.foo.objs
FLG -open Foo -w -40
S .
$ rm -f .merlin
$ jbuilder build foo.cma
$ cat .merlin
cat: .merlin: No such file or directory
[1]
$ echo toto > .merlin
$ jbuilder build foo.cma
$ cat .merlin
toto