[lld] r248707 - Enable the aarch64 tests.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 05:22:27 PDT 2015


Author: rafael
Date: Mon Sep 28 07:22:25 2015
New Revision: 248707

URL: http://llvm.org/viewvc/llvm-project?rev=248707&view=rev
Log:
Enable the aarch64 tests.

Modified:
    lld/trunk/test/elf2/aarch64-relocs.s
    lld/trunk/test/elf2/basic-aarch64.s
    lld/trunk/test/lit.cfg

Modified: lld/trunk/test/elf2/aarch64-relocs.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/aarch64-relocs.s?rev=248707&r1=248706&r2=248707&view=diff
==============================================================================
--- lld/trunk/test/elf2/aarch64-relocs.s (original)
+++ lld/trunk/test/elf2/aarch64-relocs.s Mon Sep 28 07:22:25 2015
@@ -1,7 +1,7 @@
 # RUN: llvm-mc -filetype=obj -triple=aarch64-unknown-freebsd %s -o %t
 # RUN: lld -flavor gnu2 %t -o %t2
 # RUN: llvm-objdump -d %t2 | FileCheck %s
-# REQUIRES: arm64
+# REQUIRES: aarch64
 
 .globl _start
 _start:

Modified: lld/trunk/test/elf2/basic-aarch64.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/basic-aarch64.s?rev=248707&r1=248706&r2=248707&view=diff
==============================================================================
--- lld/trunk/test/elf2/basic-aarch64.s (original)
+++ lld/trunk/test/elf2/basic-aarch64.s Mon Sep 28 07:22:25 2015
@@ -2,7 +2,7 @@
 # RUN: lld -flavor gnu2 %t -o %t2
 # RUN: llvm-readobj -file-headers -sections -program-headers -symbols %t2 \
 # RUN:   | FileCheck %s
-# REQUIRES: arm64
+# REQUIRES: aarch64
 
 # exits with return code 42 on FreeBSD/AArch64
 .globl _start;

Modified: lld/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/lit.cfg?rev=248707&r1=248706&r2=248707&view=diff
==============================================================================
--- lld/trunk/test/lit.cfg (original)
+++ lld/trunk/test/lit.cfg Mon Sep 28 07:22:25 2015
@@ -175,13 +175,17 @@ if re.search(r'DEBUG', llvm_config_outpu
     config.available_features.add('debug')
 if re.search(r'ON', llvm_config_output_list[1]):
     config.available_features.add('asserts')
-if re.search(r'ARM', llvm_config_output_list[2]):
+
+archs = llvm_config_output_list[2]
+if re.search(r'AArch64', archs):
+    config.available_features.add('aarch64')
+if re.search(r'ARM', archs):
     config.available_features.add('arm')
-if re.search(r'Mips', llvm_config_output_list[2]):
+if re.search(r'Mips', archs):
     config.available_features.add('mips')
-if re.search(r'X86', llvm_config_output_list[2]):
+if re.search(r'X86', archs):
     config.available_features.add('x86')
-if re.search(r'PowerPC', llvm_config_output_list[2]):
+if re.search(r'PowerPC', archs):
     config.available_features.add('ppc')
 llvm_config_cmd.wait()
 




More information about the llvm-commits mailing list