[llvm] r312975 - [llvm-cov] Try to fix a test on Windows

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 11 16:32:30 PDT 2017


Author: vedantk
Date: Mon Sep 11 16:32:30 2017
New Revision: 312975

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

Failing bot:
http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/4791

This looks like another stderr redirection issue.

Modified:
    llvm/trunk/test/tools/llvm-cov/ifdef.c

Modified: llvm/trunk/test/tools/llvm-cov/ifdef.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cov/ifdef.c?rev=312975&r1=312974&r2=312975&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-cov/ifdef.c (original)
+++ llvm/trunk/test/tools/llvm-cov/ifdef.c Mon Sep 11 16:32:30 2017
@@ -1,6 +1,6 @@
-// RUN: llvm-cov show -instr-profile %S/Inputs/ifdef.profdata %S/Inputs/ifdef.covmapping -dump -path-equivalence=/tmp,%S %s > %t.out 2>&1
+// RUN: llvm-cov show -instr-profile %S/Inputs/ifdef.profdata %S/Inputs/ifdef.covmapping -dump -path-equivalence=/tmp,%S %s > %t.out 2> %t.err.out
 // RUN: FileCheck %s -input-file %t.out -check-prefix=LINE
-// RUN: FileCheck %s -input-file %t.out -check-prefix=HIGHLIGHT
+// RUN: FileCheck %s -input-file %t.err.out -check-prefix=HIGHLIGHT
 
 
 int main() {




More information about the llvm-commits mailing list