[llvm] a7e9c5a - [llvm-ar][test][AIX] Unsupport error-opening-directory.test on AIX

Steven Wan via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 09:00:17 PDT 2020


Author: stevewan
Date: 2020-07-13T12:00:07-04:00
New Revision: a7e9c5a39fbc7939dbeb508bb446a6ceaab2dc4b

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

LOG: [llvm-ar][test][AIX] Unsupport error-opening-directory.test on AIX

Summary:
The test fails on AIX as it allows open() and read() on a directory. This patch adds `# UNSUPPORTED:
system-aix` to the test to prevent it from running on AIX.

Reviewers: sameerarora101, daltenty, ShuhongL, hubert.reinterpretcast, MaskRay, smeenai, alexshap

Reviewed By: sameerarora101, hubert.reinterpretcast, MaskRay, smeenai

Subscribers: MaskRay, rupprecht, llvm-commits

Tags: #llvm

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

Added: 
    

Modified: 
    llvm/test/tools/llvm-ar/error-opening-directory.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-ar/error-opening-directory.test b/llvm/test/tools/llvm-ar/error-opening-directory.test
index 1f19da7543b3..c3068871230f 100644
--- a/llvm/test/tools/llvm-ar/error-opening-directory.test
+++ b/llvm/test/tools/llvm-ar/error-opening-directory.test
@@ -1,6 +1,6 @@
-## Unsupported on FreeBSD as FreeBSD 12 and earlier allow reading directories
-## by default.
-# UNSUPPORTED: system-freebsd
+## Unsupported on AIX and FreeBSD as AIX and FreeBSD 12 and earlier allow
+## reading directories by default.
+# UNSUPPORTED: system-freebsd, system-aix
 
 # RUN: rm -rf %t && mkdir -p %t
 


        


More information about the llvm-commits mailing list