summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bindings/OCaml/passmgr_builder.ml
Commit message (Collapse)AuthorAgeFilesLines
* [llvm] Get rid of "%T" expansionsKuba Mracek2017-08-151-5/+5
| | | | | | | | | | The %T lit expansion expands to a common directory shared between all the tests in the same directory, which is unexpected and unintuitive, and more importantly, it's been a source of subtle race conditions and flaky tests. In https://reviews.llvm.org/D35396, it was agreed that it would be best to simply ban %T and only keep %t, which is unique to each test. When a test needs a temporary directory, it can just create one using mkdir %t. This patch removes %T in llvm. Differential Revision: https://reviews.llvm.org/D36495 llvm-svn: 310953
* [OCaml] Do not use -warn-error in tests.Peter Zotov2015-07-171-2/+2
| | | | | | | | | | This -warn-error flag invariably gets into release tarballs and breaks builds on distributions that run tests as a part of release process. The OCaml binding tests are especially critical, since they often expose lingering toolchain bugs, and so it is replaced with -w +A (equivalent to -Wall). llvm-svn: 242550
* [OCaml] Run tests twice, with ocamlc and ocamlopt (if available)Peter Zotov2014-11-031-1/+3
| | | | | | | | | | 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
* [OCaml] Ensure consistent naming.Peter Zotov2014-10-311-0/+62
Specifically: * Directories match module names. * Test names match module names. * The language is called "OCaml", not "Ocaml". llvm-svn: 220958
OpenPOWER on IntegriCloud