[clang] fd35e15 - [clang][test] Require x86 target in a couple new tests

Ben Langmuir via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 28 17:01:03 PDT 2022


Author: Ben Langmuir
Date: 2022-10-28T17:00:18-07:00
New Revision: fd35e1506011fca925661312315b14f169a2e82a

URL: https://github.com/llvm/llvm-project/commit/fd35e1506011fca925661312315b14f169a2e82a
DIFF: https://github.com/llvm/llvm-project/commit/fd35e1506011fca925661312315b14f169a2e82a.diff

LOG: [clang][test] Require x86 target in a couple new tests

Attempt to fix test failures on bots that don't configure x86 target.

Added: 
    

Modified: 
    clang/test/CodeGen/as-secure-log-file.c
    clang/test/Misc/cc1as-as-secure-log-file.s

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/as-secure-log-file.c b/clang/test/CodeGen/as-secure-log-file.c
index 7475a39037330..1b753407d4cd3 100644
--- a/clang/test/CodeGen/as-secure-log-file.c
+++ b/clang/test/CodeGen/as-secure-log-file.c
@@ -1,3 +1,5 @@
+// REQUIRES: x86-registered-target
+
 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-obj %s -o %t.o -as-secure-log-file %t.log
 // RUN: FileCheck %s -input-file %t.log
 // CHECK: "foobar"

diff  --git a/clang/test/Misc/cc1as-as-secure-log-file.s b/clang/test/Misc/cc1as-as-secure-log-file.s
index c1ce6b58b422b..fb82f80fac02e 100644
--- a/clang/test/Misc/cc1as-as-secure-log-file.s
+++ b/clang/test/Misc/cc1as-as-secure-log-file.s
@@ -1,3 +1,5 @@
+// REQUIRES: x86-registered-target
+
 // RUN: %clang -cc1as -triple x86_64-apple-darwin %s -o %t.o -as-secure-log-file %t.log
 // RUN: FileCheck %s -input-file %t.log
 // CHECK: "foobar"


        


More information about the cfe-commits mailing list