[OCaml] Add REQUIRES: native, object-emission to the Target test
authorPeter Zotov <whitequark@whitequark.org>
Fri, 15 Nov 2013 03:43:51 +0000 (03:43 +0000)
committerPeter Zotov <whitequark@whitequark.org>
Fri, 15 Nov 2013 03:43:51 +0000 (03:43 +0000)
While the test would work with any compiled in target with object
emission support, it's nontrivial to formulate this condition in
lit, so a conservative restriction is used instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194781 91177308-0d34-0410-b5e6-96231b3b80d8

test/Bindings/Ocaml/target.ml

index aee99edcba8a8c3af9a537cb1d93ca5e97bd9434..d69fb0e664fdb8ad23f1e399ec8dcb6186ea61d7 100644 (file)
@@ -3,6 +3,7 @@
  * RUN: cp %s %t.builddir
  * RUN: %ocamlopt -g -warn-error A llvm.cmxa llvm_target.cmxa llvm_executionengine.cmxa %t.builddir/target.ml -o %t
  * RUN: %t %t.bc
+ * REQUIRES: native, object-emission
  * XFAIL: vg_leak
  *)