[llvm-cov] Attempt to fix a test failure on Windows
authorVedant Kumar <vsk@apple.com>
Mon, 18 Jul 2016 04:49:42 +0000 (04:49 +0000)
committerVedant Kumar <vsk@apple.com>
Mon, 18 Jul 2016 04:49:42 +0000 (04:49 +0000)
Don't make the test/tools/llvm-cov/demangle.test depend on the order in
which symbols are seen, or on the exact formatting llvm-cov emits after
a symbol is printed. This is an attempt to fix a Windows bot failure:

  http://lab.llvm.org:8011/builders/clang-x86-win2008-selfhost/builds/9141

I don't know what the root cause of the failure is, or why the
showTemplateInstantiations test doesn't fail in the same way on the
Windows bots. However, this measure can't hurt, and it'll at least get
me on the blamelists again.

llvm-svn: 275758

llvm/test/tools/llvm-cov/demangle.test

index 6f56f25..f9a0f91 100644 (file)
@@ -1,4 +1,4 @@
 // RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -Xdemangler sed -Xdemangler 's/_/X/g' -filename-equivalence %S/showTemplateInstantiations.cpp | FileCheck %s
 
-// CHECK: XZ4funcIbEiTX:
-// CHECK: XZ4funcIiEiTX:
+// CHECK-DAG: XZ4funcIbEiTX
+// CHECK-DAG: XZ4funcIiEiTX