Skip to content

Commit

Permalink
Disable a part of the unit test CommandLineTest/BadResponseFile for z…
Browse files Browse the repository at this point in the history
…/OS.

[Support] Do not run test on z/OS

A part of the unit test CommandLineTest/BadResponseFile, added in
the commit fd3d7a9 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
  • Loading branch information
zibi2 committed Jan 5, 2023
1 parent 45d9079 commit 3acb255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/unittests/Support/CommandLineTest.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 3acb255

Please sign in to comment.