Skip to content

Commit

Permalink
added ocamlbuild test (fix for PR#5763) .
Browse files Browse the repository at this point in the history
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information
meyer committed Jan 14, 2013
1 parent a9d12ab commit bba50ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ocamlbuild/testsuite/level0.ml
Expand Up @@ -76,4 +76,12 @@ List.iteri (fun i (content,failing_msg) ->
~tree:[T.f "_tags" ~content; T.f "dummy.ml"]
~targets:("dummy.native",[]) ()) tag_pat_msgs;;

test "SubtoolOptions"
~description:"Options that come from tags that needs to be spliced to the subtool invocation (PR#5763)"
~options:[`use_menhir; `use_ocamlfind;`tags["package\\(camlp4.fulllib\\)"]]
~tree:[T.f "parser.mly" ~content:"%{\n%}\n%token DUMMY\n%start<Camlp4.PreCast.Syntax.Ast.expr option> test%%test: {None}\n\n"]
~matching:[M.f "parser.native"; M.f "parser.byte"]
~targets:("parser.native",["parser.byte"])
();;

run ~root:"_test";;

0 comments on commit bba50ea

Please sign in to comment.