[PATCH] D141084: Disable a part of the unit test CommandLineTest/BadResponseFile for z/OS.

Zibi Sarbino via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 5 13:21:14 PST 2023


zibi created this revision.
Herald added a project: All.
zibi requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

[Support] Do not run test on z/OS


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141084

Files:
  llvm/unittests/Support/CommandLineTest.cpp


Index: llvm/unittests/Support/CommandLineTest.cpp
===================================================================
--- llvm/unittests/Support/CommandLineTest.cpp
+++ llvm/unittests/Support/CommandLineTest.cpp
@@ -1060,7 +1060,7 @@
   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);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141084.486660.patch
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230105/111167da/attachment-0001.bin>


More information about the llvm-commits mailing list