[llvm] 3acb255 - Disable a part of the unit test CommandLineTest/BadResponseFile for z/OS.
Zibi Sarbinowski via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 5 13:57:59 PST 2023
Author: Zibi Sarbinowski
Date: 2023-01-05T15:57:54-06:00
New Revision: 3acb2553b9bfd205b9d5bee1cef35a6e755e9d4e
URL: https://github.com/llvm/llvm-project/commit/3acb2553b9bfd205b9d5bee1cef35a6e755e9d4e
DIFF: https://github.com/llvm/llvm-project/commit/3acb2553b9bfd205b9d5bee1cef35a6e755e9d4e.diff
LOG: 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
Added:
Modified:
llvm/unittests/Support/CommandLineTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/Support/CommandLineTest.cpp b/llvm/unittests/Support/CommandLineTest.cpp
index b65d4bd4120d7..907ec6f23814f 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);
More information about the llvm-commits
mailing list