aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorZibi Sarbinowski <zibi@ca.ibm.com>2023-01-05 15:55:21 -0600
committerZibi Sarbinowski <zibi@ca.ibm.com>2023-01-05 15:57:54 -0600
commit3acb2553b9bfd205b9d5bee1cef35a6e755e9d4e (patch)
tree1be4753d4f3faf1a19487c948986b0de3e26dfc6 /llvm/unittests/Support/CommandLineTest.cpp
parent45d9079f7c3248b3ffb2a73a78028900737c66d3 (diff)
downloadllvm-3acb2553b9bfd205b9d5bee1cef35a6e755e9d4e.zip
llvm-3acb2553b9bfd205b9d5bee1cef35a6e755e9d4e.tar.gz
llvm-3acb2553b9bfd205b9d5bee1cef35a6e755e9d4e.tar.bz2
Disable a part of the unit test CommandLineTest/BadResponseFile for z/OS.
[Support] Do not run test on z/OS A part of the unit test CommandLineTest/BadResponseFile, added in the commit fd3d7a9f8cbb need to be disable for z/OS as it was already done for AIX platform. Reviewed By: fanbo-meng Differential Revision: https://reviews.llvm.org/D141084
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
-rw-r--r--llvm/unittests/Support/CommandLineTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/CommandLineTest.cpp b/llvm/unittests/Support/CommandLineTest.cpp
index b65d4bd..907ec6f 100644
--- a/llvm/unittests/Support/CommandLineTest.cpp
+++ b/llvm/unittests/Support/CommandLineTest.cpp
@@ -1060,7 +1060,7 @@ TEST(CommandLineTest, BadResponseFile) {
ASSERT_STREQ(Argv[0], "clang");
ASSERT_STREQ(Argv[1], AFileExp.c_str());
-#ifndef _AIX
+#if !defined(_AIX) && !defined(__MVS__)
std::string ADirExp = std::string("@") + std::string(ADir.path());
Argv = {"clang", ADirExp.c_str()};
Res = cl::ExpandResponseFiles(Saver, cl::TokenizeGNUCommandLine, Argv);