OSDN Git Service

[llvm-profdata] Use "-o /dev/null" in invalid-profdata.test
authorReid Kleckner <rnk@google.com>
Wed, 21 Mar 2018 21:51:53 +0000 (21:51 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 21 Mar 2018 21:51:53 +0000 (21:51 +0000)
Lit automatically rewrites /dev/null to a temp file on Windows.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328157 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/llvm-profdata/invalid-profdata.test

index b6391b0..4d6936f 100644 (file)
@@ -20,7 +20,7 @@ RUN: echo "f2:0"                                         >> %t.input
 RUN: echo "1"                                            >> %t.input
 RUN: echo ":10"                                          >> %t.input
 
-RUN: not llvm-profdata merge %t.input -text -output=/dev/null 2>&1  | FileCheck %s --check-prefix=BROKEN
+RUN: not llvm-profdata merge %t.input -text -o /dev/null 2>&1  | FileCheck %s --check-prefix=BROKEN
 BROKEN: Malformed instrumentation profile data
 
 RUN: echo ":ir"                     > %t.input