Account for differences in grep implementations

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211856 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alp Toker 2014-06-27 03:11:38 +00:00
parent 0f771a8da0
commit 819fcd9bbd
1 changed files with 3 additions and 3 deletions

View File

@ -4,16 +4,16 @@
// We strip differing '.file' directives before comparing.
// Reference output:
// RUN: %clang_cc1 -S -o - %s | grep -v '\t\.file' > %t.s
// RUN: %clang_cc1 -S -o - %s | grep -v '\.file' > %t.s
// LLVM bitcode:
// RUN: %clang_cc1 -emit-llvm-bc -o %t.bc %s
// RUN: %clang_cc1 -S -o - %t.bc | grep -v '\t\.file' > %t.bc.s
// RUN: %clang_cc1 -S -o - %t.bc | grep -v '\.file' > %t.bc.s
// RUN: diff %t.s %t.bc.s
// LLVM IR source code:
// RUN: %clang_cc1 -emit-llvm -o %t.ll %s
// RUN: %clang_cc1 -S -o - %t.ll | grep -v '\t\.file' > %t.ll.s
// RUN: %clang_cc1 -S -o - %t.ll | grep -v '\.file' > %t.ll.s
// RUN: diff %t.s %t.ll.s
int f() { return 0; }