diff options
author | Puyan Lotfi <puyan@puyan.org> | 2019-06-20 18:28:21 +0000 |
---|---|---|
committer | Puyan Lotfi <puyan@puyan.org> | 2019-06-20 18:28:21 +0000 |
commit | 678e19d80c2a048ccb6d9d38cb3ab63a6c09470c (patch) | |
tree | b925505e34782eaef1a3ec5914808866c2063252 | |
parent | 2c450434152d383ed9722a5a82864e1d49c248ec (diff) | |
download | bcm5719-llvm-678e19d80c2a048ccb6d9d38cb3ab63a6c09470c.tar.gz bcm5719-llvm-678e19d80c2a048ccb6d9d38cb3ab63a6c09470c.zip |
[NFC] Fix for InterfaceStubs tests (adding REQUIRES: x86-registered-target).
clang-hexagon-elf bot was failing with:
'No available targets are compatible with triple "x86_64-unknown-linux-gnu"'
Adding a "// REQUIRES: x86-registered-target" to these tests to quiet the bot.
llvm-svn: 363963
-rw-r--r-- | clang/test/InterfaceStubs/bad-format.cpp | 1 | ||||
-rw-r--r-- | clang/test/InterfaceStubs/class-template-specialization.cpp | 1 | ||||
-rw-r--r-- | clang/test/InterfaceStubs/externstatic.c | 1 | ||||
-rw-r--r-- | clang/test/InterfaceStubs/function-template-specialization.cpp | 1 | ||||
-rw-r--r-- | clang/test/InterfaceStubs/hidden-class-inheritance.cpp | 1 | ||||
-rw-r--r-- | clang/test/InterfaceStubs/inline.c | 1 | ||||
-rw-r--r-- | clang/test/InterfaceStubs/inline.h | 1 | ||||
-rw-r--r-- | clang/test/InterfaceStubs/object.cpp | 1 | ||||
-rw-r--r-- | clang/test/InterfaceStubs/template-namespace-function.cpp | 1 | ||||
-rw-r--r-- | clang/test/InterfaceStubs/virtual.cpp | 1 | ||||
-rw-r--r-- | clang/test/InterfaceStubs/visibility.cpp | 1 | ||||
-rw-r--r-- | clang/test/InterfaceStubs/weak.cpp | 1 |
12 files changed, 12 insertions, 0 deletions
diff --git a/clang/test/InterfaceStubs/bad-format.cpp b/clang/test/InterfaceStubs/bad-format.cpp index d40b1f965b0..463f39aadc8 100644 --- a/clang/test/InterfaceStubs/bad-format.cpp +++ b/clang/test/InterfaceStubs/bad-format.cpp @@ -1,3 +1,4 @@ +// REQUIRES: x86-registered-target // RUN: not %clang -target x86_64-linux-gnu -o - -emit-interface-stubs \ // RUN: -interface-stub-version=bar-format %s 2>&1 | FileCheck %s diff --git a/clang/test/InterfaceStubs/class-template-specialization.cpp b/clang/test/InterfaceStubs/class-template-specialization.cpp index d1f1d067ccd..53baa3490f7 100644 --- a/clang/test/InterfaceStubs/class-template-specialization.cpp +++ b/clang/test/InterfaceStubs/class-template-specialization.cpp @@ -1,3 +1,4 @@ +// REQUIRES: x86-registered-target // RUN: %clang -target x86_64-unknown-linux-gnu -o - -emit-interface-stubs \ // RUN: -interface-stub-version=experimental-tapi-elf-v1 %s | \ // RUN: FileCheck -check-prefix=CHECK-TAPI %s diff --git a/clang/test/InterfaceStubs/externstatic.c b/clang/test/InterfaceStubs/externstatic.c index 9224581ee06..832b4b3aaf8 100644 --- a/clang/test/InterfaceStubs/externstatic.c +++ b/clang/test/InterfaceStubs/externstatic.c @@ -1,3 +1,4 @@ +// REQUIRES: x86-registered-target // RUN: %clang -DSTORAGE="extern" -target x86_64-unknown-linux-gnu -o - \ // RUN: -emit-interface-stubs \ // RUN: -interface-stub-version=experimental-yaml-elf-v1 -std=c99 -xc %s | \ diff --git a/clang/test/InterfaceStubs/function-template-specialization.cpp b/clang/test/InterfaceStubs/function-template-specialization.cpp index b6cf64c6027..f01b4311da1 100644 --- a/clang/test/InterfaceStubs/function-template-specialization.cpp +++ b/clang/test/InterfaceStubs/function-template-specialization.cpp @@ -1,3 +1,4 @@ +// REQUIRES: x86-registered-target // RUN: %clang -target x86_64-unknown-linux-gnu -o - -emit-interface-stubs \ // RUN: -interface-stub-version=experimental-tapi-elf-v1 %s | FileCheck %s diff --git a/clang/test/InterfaceStubs/hidden-class-inheritance.cpp b/clang/test/InterfaceStubs/hidden-class-inheritance.cpp index de4c2993c72..9152914dbd8 100644 --- a/clang/test/InterfaceStubs/hidden-class-inheritance.cpp +++ b/clang/test/InterfaceStubs/hidden-class-inheritance.cpp @@ -1,3 +1,4 @@ +// REQUIRES: x86-registered-target // RUN: %clang -target x86_64-unknown-linux-gnu -o - -emit-interface-stubs \ // RUN: -interface-stub-version=experimental-tapi-elf-v1 \ // RUN: -DPARENT_CLASS_VISIBILITY="" -DCHILD_CLASS_VISIBILITY="" \ diff --git a/clang/test/InterfaceStubs/inline.c b/clang/test/InterfaceStubs/inline.c index c64771185f3..40dc455b131 100644 --- a/clang/test/InterfaceStubs/inline.c +++ b/clang/test/InterfaceStubs/inline.c @@ -1,3 +1,4 @@ +// REQUIRES: x86-registered-target // RUN: %clang -DINLINE=inline -target x86_64-unknown-linux-gnu -o - \ // RUN: -emit-interface-stubs \ // RUN: -interface-stub-version=experimental-yaml-elf-v1 -std=gnu89 -xc %s | \ diff --git a/clang/test/InterfaceStubs/inline.h b/clang/test/InterfaceStubs/inline.h index fe16519e94b..d8b1b0a617d 100644 --- a/clang/test/InterfaceStubs/inline.h +++ b/clang/test/InterfaceStubs/inline.h @@ -1,3 +1,4 @@ +// REQUIRES: x86-registered-target INLINE int bar() { static int var = 42; return var; diff --git a/clang/test/InterfaceStubs/object.cpp b/clang/test/InterfaceStubs/object.cpp index 68b5ee781c9..090a29d1c94 100644 --- a/clang/test/InterfaceStubs/object.cpp +++ b/clang/test/InterfaceStubs/object.cpp @@ -1,3 +1,4 @@ +// REQUIRES: x86-registered-target // RUN: %clang -target x86_64-unknown-linux-gnu -o - -emit-interface-stubs \ // RUN: -interface-stub-version=experimental-tapi-elf-v1 %s | \ // RUN: FileCheck -check-prefix=CHECK-TAPI %s diff --git a/clang/test/InterfaceStubs/template-namespace-function.cpp b/clang/test/InterfaceStubs/template-namespace-function.cpp index 879318122b0..41e5fdefe27 100644 --- a/clang/test/InterfaceStubs/template-namespace-function.cpp +++ b/clang/test/InterfaceStubs/template-namespace-function.cpp @@ -1,3 +1,4 @@ +// REQUIRES: x86-registered-target // RUN: %clang -target x86_64-unknown-linux-gnu -o - -emit-interface-stubs \ // RUN: -interface-stub-version=experimental-tapi-elf-v1 %s | \ // RUN: FileCheck %s diff --git a/clang/test/InterfaceStubs/virtual.cpp b/clang/test/InterfaceStubs/virtual.cpp index b861b7e802a..0fdb604921e 100644 --- a/clang/test/InterfaceStubs/virtual.cpp +++ b/clang/test/InterfaceStubs/virtual.cpp @@ -1,3 +1,4 @@ +// REQUIRES: x86-registered-target // RUN: %clang -target x86_64-unknown-linux-gnu -o - -emit-interface-stubs \ // RUN: -interface-stub-version=experimental-tapi-elf-v1 %s | \ // RUN: FileCheck -check-prefix=CHECK-TAPI %s diff --git a/clang/test/InterfaceStubs/visibility.cpp b/clang/test/InterfaceStubs/visibility.cpp index 87ea7ea7bd5..137c593ff62 100644 --- a/clang/test/InterfaceStubs/visibility.cpp +++ b/clang/test/InterfaceStubs/visibility.cpp @@ -1,3 +1,4 @@ +// REQUIRES: x86-registered-target // RUN: %clang -target x86_64-unknown-linux-gnu -o - -emit-interface-stubs \ // RUN: -interface-stub-version=experimental-tapi-elf-v1 -fvisibility=hidden \ // RUN: %s | FileCheck --check-prefix=CHECK-CMD-HIDDEN %s diff --git a/clang/test/InterfaceStubs/weak.cpp b/clang/test/InterfaceStubs/weak.cpp index e089225b5d6..50bae580f01 100644 --- a/clang/test/InterfaceStubs/weak.cpp +++ b/clang/test/InterfaceStubs/weak.cpp @@ -1,3 +1,4 @@ +// REQUIRES: x86-registered-target // RUN: %clang -target x86_64-linux-gnu -o - -emit-interface-stubs \ // RUN: -interface-stub-version=experimental-tapi-elf-v1 %s | \ // RUN: FileCheck %s |