Skip to content

Commit d7d8d50

Browse files
Merge pull request #7521 from rastogishubham/TestFixStable
Guard tests with REQUIRES:aarch64-registered-target
2 parents 37644e1 + a9c2fb0 commit d7d8d50

File tree

7 files changed

+11
-0
lines changed

7 files changed

+11
-0
lines changed

llvm/test/CAS/emit-casid-file.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
; RUN: llc -O0 -cas-friendly-debug-info --filetype=obj --cas-backend --cas=%t/cas --mccas-casid %s --mccas-emit-casid-file -o -
2525
; RUN: not cat %t/test.o.casid
2626

27+
; REQUIRES: aarch64-registered-target
28+
2729
; ModuleID = '/Users/shubham/Development/test109275485/a.cpp'
2830
source_filename = "/Users/shubham/Development/test109275485/a.cpp"
2931
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
if not "AArch64" in config.root.targets:
2+
config.unsupported = True

llvm/test/MC/CAS/emit-casid-file.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: aarch64-registered-target
12
// RUN: rm -rf %t && mkdir -p %t
23
// RUN: llvm-mc --filetype=obj --cas-backend --cas=%t/cas --mccas-native %s --mccas-emit-casid-file -triple arm64-apple-macosx14.0.0 -o %t/test.o
34
// RUN: cat %t/test.o.casid | FileCheck %s --check-prefix=NATIVE_FILENAME

llvm/test/tools/llvm-cas-dump/basic_debug_test.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
; RUN: llc -cas-friendly-debug-info -O0 --filetype=obj --cas-backend --cas=%t.casdb --mccas-casid -o %t_DIE.casid %s
66
; RUN: llvm-cas-dump --cas=%t.casdb --casid-file %t_DIE.casid --die-refs | FileCheck %s --check-prefix=DWARF-DIE
77

8+
; REQUIRES: aarch64-registered-target
9+
810
; This test is created from a C program like:
911
; int foo() { return 10; }
1012

llvm/test/tools/llvm-cas-dump/enums_split.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
; RUN: llc -O0 --filetype=obj --cas-backend --cas=%t.casdb --mccas-casid -o %t_DIE.casid %s
33
; RUN: llvm-cas-dump --cas=%t.casdb --casid-file %t_DIE.casid --die-refs | FileCheck %s --check-prefix=DWARF-DIE
44

5+
; REQUIRES: aarch64-registered-target
6+
57
; DWARF-DIE: mc:debug_DIE_top_level llvmcas://{{.*}}
68
; DWARF-DIE-NEXT: Header = [68 0 0 0 4 0 0 0 0 0 8]
79
; DWARF-DIE-NEXT: CAS Block: llvmcas://{{.*}}

llvm/test/tools/llvm-cas-dump/types_split.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
; RUN: llc -O0 --filetype=obj --cas-backend --cas=%t.casdb --mccas-casid -o %t_DIE.casid %s
33
; RUN: llvm-cas-dump --cas=%t.casdb --casid-file %t_DIE.casid --die-refs | FileCheck %s --check-prefix=DWARF-DIE
44

5+
; REQUIRES: aarch64-registered-target
6+
57
; DWARF-DIE: mc:debug_DIE_top_level llvmcas://{{.*}}
68
; DWARF-DIE-NEXT: Header = [CD 0 0 0 4 0 0 0 0 0 8]
79
; DWARF-DIE-NEXT: CAS Block: llvmcas://{{.*}}

0 commit comments

Comments
 (0)