[llvm] r275758 - [llvm-cov] Attempt to fix a test failure on Windows

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 17 21:49:42 PDT 2016


Author: vedantk
Date: Sun Jul 17 23:49:42 2016
New Revision: 275758

URL: http://llvm.org/viewvc/llvm-project?rev=275758&view=rev
Log:
[llvm-cov] Attempt to fix a test failure on Windows

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.

Modified:
    llvm/trunk/test/tools/llvm-cov/demangle.test

Modified: llvm/trunk/test/tools/llvm-cov/demangle.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cov/demangle.test?rev=275758&r1=275757&r2=275758&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-cov/demangle.test (original)
+++ llvm/trunk/test/tools/llvm-cov/demangle.test Sun Jul 17 23:49:42 2016
@@ -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




More information about the llvm-commits mailing list