[cfe-commits] [PATCH] Windows test fixes
Mike Stump
mrs at apple.com
Tue Oct 13 11:05:47 PDT 2009
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.
More information about the cfe-commits
mailing list