[llvm] r185819 - Convert an OCaml binding grep test to FileCheck

Ulrich Weigand Ulrich.Weigand at de.ibm.com
Wed Jul 10 11:45:01 PDT 2013


Reid Kleckner wrote:

> (* RUN: %ocamlopt -warn-error A llvm.cmxa llvm_analysis.cmxa
llvm_bitwriter.cmxa %s -o %t
>  * RUN: %t %t.bc
>- * RUN: llvm-dis < %t.bc > %t.ll
>+ * RUN: llvm-dis < %t.bc > t.ll
>+ * RUN: FileCheck %s < t.ll
>+ * Do a second pass for things that shouldn't be anywhere.
>+ * RUN: FileCheck -check-prefix=CHECK-NOWHERE %s < t.ll
>  * XFAIL: vg_leak
>  *)

This seems to leave a spurious "t.ll" file in the source directory, which
causes subsequent failures in the ppc64 build bot:

http://lab.llvm.org:8011/builders/llvm-ppc64-linux1/builds/6837/steps/test-llvm/logs/LLVM%3A%3At.ll

******************** TEST 'LLVM :: Bindings/Ocaml/t.ll' FAILED
********************
Test has no run line!
********************

I guess this should be %t.ll everywhere?

Bye,
Ulrich




More information about the llvm-commits mailing list