On Oct 13, 2009, at 9:34 AM, John Thompson wrote:
> For your approval, here's another batch of fixes related to getting
> the tests to pass on Windows.
-// RUN: clang-cc %s -emit-llvm -o - | grep 0x3BFD83C940000000 | count
2 &&
-// RUN: clang-cc %s -emit-llvm -o - | grep 2.000000e+32 | count 2
+// RUN: clang-cc %s -emit-llvm -o - | FileCheck -check-prefix CHECK1
%s &&
+// RUN: clang-cc %s -emit-llvm -o - | FileCheck -check-prefix CHECK2 %s
Please just run the testcase one and have just one check prefix.
Something like:
// RUN: clang-cc %s -emit-llvm -o - | FileCheck -check-prefix CHECK %s
CHECK: 0x3BFD83C940000000
CHECK: 0x3BFD83C940000000
CHECK: 2.000000e+{{[0]*}}32
CHECK: 2.000000e+{{[0]*}}32
with the sort of the four check lines determined by the compiler output.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits