[OCaml] Run tests twice, with ocamlc and ocamlopt (if available)
authorPeter Zotov <whitequark@whitequark.org>
Mon, 3 Nov 2014 09:50:53 +0000 (09:50 +0000)
committerPeter Zotov <whitequark@whitequark.org>
Mon, 3 Nov 2014 09:50:53 +0000 (09:50 +0000)
commit2f4735a1adfe9d8e2e8b369a51181e7b221fc315
treef83bcf0c884b24977e3eb28174ed94193db6fd48
parente172b6883ce7235a0ab6927802206c3a80e9c3ec
[OCaml] Run tests twice, with ocamlc and ocamlopt (if available)

ocamlc and ocamlopt expose a distinct set of buildsystem bugs, e.g.
only ocamlc would detect -custom or -dllib-related bugs, and as all
buildbots will have ocamlopt, these bugs will stay hidden.

This change should add no more than 30 seconds of testing time.

llvm-svn: 221137
14 files changed:
llvm/test/Bindings/OCaml/analysis.ml
llvm/test/Bindings/OCaml/bitreader.ml
llvm/test/Bindings/OCaml/bitwriter.ml
llvm/test/Bindings/OCaml/core.ml
llvm/test/Bindings/OCaml/executionengine.ml
llvm/test/Bindings/OCaml/ext_exc.ml
llvm/test/Bindings/OCaml/ipo.ml
llvm/test/Bindings/OCaml/irreader.ml
llvm/test/Bindings/OCaml/linker.ml
llvm/test/Bindings/OCaml/passmgr_builder.ml
llvm/test/Bindings/OCaml/scalar_opts.ml
llvm/test/Bindings/OCaml/target.ml
llvm/test/Bindings/OCaml/vectorize.ml
llvm/test/lit.cfg