added ocamlbuild test (fix for PR#5763) .
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
448571ed7b
commit
7ce7cece56
|
@ -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";;
|
||||
|
|
Loading…
Reference in New Issue