Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion tests/ppx-errors/dune
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
; -noinit prevents the toplevel from reading ~/.ocamlinit. Without it, users
; whose ~/.ocamlinit contains the standard opam-generated "#use \"topfind\""
; line would see the "Findlib has been successfully loaded..." banner printed
; to stdout, causing a diff against test.out.expected. The -noinit flag has
; been available since OCaml 4.02, so it is safe to use unconditionally here.
(rule
(targets test.out)
(deps
Expand All @@ -8,7 +13,8 @@
test.out
(with-stdin-from
test.ml
(run %{tt} -color never -noprompt -no-version -ppx "%{ppx} --as-ppx")))))
(run %{tt} -color never -noprompt -no-version -noinit
-ppx "%{ppx} --as-ppx")))))

(rule
(alias runtest)
Expand Down