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

Attempt to fix test failures on bots that don't configure x86 target.
This commit is contained in:
Ben Langmuir 2022-10-28 16:59:38 -07:00
parent 1ad63dc0b7
commit fd35e15060
2 changed files with 4 additions and 0 deletions

View File

@ -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"

View File

@ -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"