[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)
commit95a8dca3dbab8f099dceac31145e81c5839cace1
treeabb84aa4ba300ff40539bb497ba81a5db63e0a3b
parent7158970d0df83ab15038ab4d0e62a41b7a593be7
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221137 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
test/Bindings/OCaml/analysis.ml
test/Bindings/OCaml/bitreader.ml
test/Bindings/OCaml/bitwriter.ml
test/Bindings/OCaml/core.ml
test/Bindings/OCaml/executionengine.ml
test/Bindings/OCaml/ext_exc.ml
test/Bindings/OCaml/ipo.ml
test/Bindings/OCaml/irreader.ml
test/Bindings/OCaml/linker.ml
test/Bindings/OCaml/passmgr_builder.ml
test/Bindings/OCaml/scalar_opts.ml
test/Bindings/OCaml/target.ml
test/Bindings/OCaml/vectorize.ml
test/lit.cfg