[llvm] beaf46a - [llvm-exegesis][AArch64] Only run tests on aarch64 hosts

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 21 07:18:11 PDT 2023


Author: Tom Stellard
Date: 2023-04-21T07:17:51-07:00
New Revision: beaf46a42d85d99b306f256e267875aa4e4a3910

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

LOG: [llvm-exegesis][AArch64] Only run tests on aarch64 hosts

The add-return.s test is failing on s390x.

See also e30ce634f75c01cc8784cb0c4972c42987178c1d.

Reviewed By: courbet

Differential Revision: https://reviews.llvm.org/D148807

Added: 
    

Modified: 
    llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg b/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg
index 2c80c84ef2ccf..c1c887bfcc478 100644
--- a/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg
+++ b/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg
@@ -1,3 +1,6 @@
 if not ('AArch64' in config.root.targets):
     # We need support for AArch64.
     config.unsupported = True
+elif not ('aarch64' in config.root.host_triple):
+    # We need to be running on an PPC host.
+    config.unsupported = True


        


More information about the llvm-commits mailing list