[clang] 824874c - [AIX][NFC] Unsupport test when running on AIX

Jake Egan via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 12 10:22:07 PST 2023


Author: Jake Egan
Date: 2023-01-12T13:21:59-05:00
New Revision: 824874c8d43383f0e6bdeb8a914c95fb916ecd9d

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

LOG: [AIX][NFC] Unsupport test when running on AIX

Previously the test's targets were restricted to avoid the AIX target, but
it should be marked unsupported for system-aix instead because the test
fails to run on AIX as well.

Added: 
    

Modified: 
    clang/test/CodeGenCXX/pr59765-modules-global-ctor-dtor.cppm

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGenCXX/pr59765-modules-global-ctor-dtor.cppm b/clang/test/CodeGenCXX/pr59765-modules-global-ctor-dtor.cppm
index daa3a65dc393..1a9384bf0bc9 100644
--- a/clang/test/CodeGenCXX/pr59765-modules-global-ctor-dtor.cppm
+++ b/clang/test/CodeGenCXX/pr59765-modules-global-ctor-dtor.cppm
@@ -1,12 +1,9 @@
 // https://github.com/llvm/llvm-project/issues/59765
-// FIXME: Disable the test for now to figure out why the
-// test is still being run on AIX despite the REQUIRES.
-// XFAIL: target={{.*}}-aix{{.*}}
 // FIXME: Since the signature of the constructors/destructors is
 // 
diff erent in 
diff erent targets. The current CHECK can't work
-// well for other targets like AIX. So here is the REQUIRES.
+// well when targeting or running on AIX.
 // It would be better to add the corresponding test for other test.
-// REQUIRES: x86-registered-target,aarch64-registered-target
+// UNSUPPORTED: system-aix
 //
 // RUN: rm -rf %t
 // RUN: mkdir %t


        


More information about the cfe-commits mailing list