Make test added in r231902 actually be executed.
[oota-llvm.git] / test / tools / llvm-cov / universal-binary.c
1 // The coverage reader should be able to handle universal binaries
2
3 // CHECK: 100| [[@LINE+1]]| int main
4 int main(int argc, const char *argv[]) {}
5
6 // RUN: llvm-profdata merge %S/Inputs/universal-binary.proftext -o %t.profdata
7 // RUN: llvm-cov show %S/Inputs/universal-binary -instr-profile %t.profdata -no-colors -filename-equivalence %s -arch x86_64 | FileCheck %s
8
9 // RUN: not llvm-cov show %S/Inputs/universal-binary -instr-profile %t.profdata -no-colors -filename-equivalence %s -arch i386 2>&1 | FileCheck --check-prefix=WRONG-ARCH %s
10 // WRONG-ARCH: Failed to load coverage
11
12 // llvm-cov doesn't work on big endian yet
13 // XFAIL: *