summaryrefslogtreecommitdiff
path: root/ocamlbuild/testsuite/findlibonly.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocamlbuild/testsuite/findlibonly.ml')
-rw-r--r--ocamlbuild/testsuite/findlibonly.ml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ocamlbuild/testsuite/findlibonly.ml b/ocamlbuild/testsuite/findlibonly.ml
index aea0168e38..7be8b0fddf 100644
--- a/ocamlbuild/testsuite/findlibonly.ml
+++ b/ocamlbuild/testsuite/findlibonly.ml
@@ -25,4 +25,11 @@ let () = test "SyntaxFlag"
~matching:[M.f "dummy.native"]
~targets:("dummy.native",[]) ();;
+let () = test "PredicateFlag"
+ ~description:"ocamlfind ocamldep does not support the -predicate option"
+ ~options:[`use_ocamlfind; `tag "\"predicate(byte)\""]
+ ~tree:[T.f "test.ml" ~content:"let x = List.map"]
+ ~matching:[_build [M.f "test.ml.depends"]]
+ ~targets:("test.ml.depends", []) ();;
+
run ~root:"_test_findlibonly";;