[gcov][test] Add `UNSUPPORTED: host-byteorder-big-endian` to gcov-fork.c

This test strangely failed on ppc64be
http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/50913
This commit is contained in:
Fangrui Song 2020-07-03 17:06:54 -07:00
parent fba8523fb5
commit 1c6e2eceeb
1 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
/// fork/exec* so the lines before fork are counted once while succeeding
/// lines are counted twice.
// UNSUPPORTED: darwin
/// FIXME: http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/50913
// UNSUPPORTED: host-byteorder-big-endian
// RUN: mkdir -p %t.d && cd %t.d
// RUN: %clang --coverage %s -o %t
@ -16,7 +18,7 @@ void func1() {} // CHECK: 1: [[#@LINE]]:void func1()
void func2() {} // CHECK-NEXT: 2: [[#@LINE]]:
int main(void) { // CHECK-NEXT: 1: [[#@LINE]]:
func1(); // CHECK-NEXT: 1: [[#@LINE]]:
fork(); // CHECK-NEXT: 1: [[#@LINE]]:
if (fork() == -1) return 1; // CHECK-NEXT: 1: [[#@LINE]]:
func2(); // CHECK-NEXT: 2: [[#@LINE]]:
return 0; // CHECK-NEXT: 2: [[#@LINE]]:
}