aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAiden Grossman <aidengrossman@google.com>2025-11-05 17:58:57 -0800
committerGitHub <noreply@github.com>2025-11-05 17:58:57 -0800
commit5321f5c0b29c6f15019effd1e151003c93c18627 (patch)
treeb2c4735d915e85ac625550fef98747944e82a28a
parent77e3975236fcb47f431e3793846746103d259d81 (diff)
downloadllvm-5321f5c0b29c6f15019effd1e151003c93c18627.zip
llvm-5321f5c0b29c6f15019effd1e151003c93c18627.tar.gz
llvm-5321f5c0b29c6f15019effd1e151003c93c18627.tar.bz2
[compiler-rt][Profile] Temporarily Disable Test on AIX
This was very hackily patched in 16ef893e9fdec2b08dafc82f5450b41834e09039 to not use env -u. The internal shell does not support unset, but does supprt env -u. Disable the test for now so we can enable the internal shell with a TODO to enable it after the internal shell landing has stuck. Reviewers: fmayer, vitalybuka, w2yehia, daltenty, mingmingl-llvm, madanial0 Reviewed By: mingmingl-llvm Pull Request: https://github.com/llvm/llvm-project/pull/166637
-rw-r--r--compiler-rt/test/profile/instrprof-tmpdir.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/compiler-rt/test/profile/instrprof-tmpdir.c b/compiler-rt/test/profile/instrprof-tmpdir.c
index 7206df3..9d4b3d3 100644
--- a/compiler-rt/test/profile/instrprof-tmpdir.c
+++ b/compiler-rt/test/profile/instrprof-tmpdir.c
@@ -1,3 +1,8 @@
+// AIX does not support env -u.
+// TODO(boomanaiden154): Reenable AIX support once we use the internal shell by
+// default.
+// UNSUPPORTED: system-aix
+
// RUN: rm -rf %t
// RUN: mkdir -p %t
// RUN: cd %t
@@ -12,8 +17,7 @@
// RUN: llvm-profdata show ./raw2.profraw | FileCheck %s -check-prefix TMPDIR
//
// Check that we fall back to the default path if TMPDIR is missing.
-// RUN: %if system-aix %{ unset TMPDIR %}
-// RUN: env %if !system-aix %{ -u TMPDIR %} LLVM_PROFILE_FILE="%%t/raw3.profraw" %run %t/binary 2>&1 | FileCheck %s -check-prefix MISSING
+// RUN: env -u TMPDIR LLVM_PROFILE_FILE="%%t/raw3.profraw" %run %t/binary 2>&1 | FileCheck %s -check-prefix MISSING
// RUN: llvm-profdata show ./default.profraw | FileCheck %s -check-prefix TMPDIR
// TMPDIR: Maximum function count: 1