This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
(executable
|
||||
(name print)
|
||||
(modules print))
|
||||
|
||||
(rule
|
||||
(with-stdout-to print.ml
|
||||
(echo "let () = print_endline \"MESSAGE\"")))
|
||||
|
||||
(rule
|
||||
(alias runtest)
|
||||
(action
|
||||
(progn
|
||||
(with-stdout-to output.expected (echo "MESSAGE\n"))
|
||||
(with-stdout-to output.actual (run ./print.exe))
|
||||
(diff? output.expected output.actual))))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 2.5)
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
Test for problem in #2990
|
||||
|
||||
$ dune runtest
|
||||
|
||||
Make sure that `output.actual` is not inferred as a target:
|
||||
|
||||
$ dune build output.actual
|
||||
Error: Don't know how to build output.actual
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue