[flang-commits] [flang] af35e21 - [flang] Update CommandTest for AIX (NFC) (#118403)

via flang-commits flang-commits at lists.llvm.org
Tue Dec 3 07:27:18 PST 2024


Author: Kelvin Li
Date: 2024-12-03T10:27:14-05:00
New Revision: af35e21cfe3f7cfc7ddd7a2f535e775e9205f61d

URL: https://github.com/llvm/llvm-project/commit/af35e21cfe3f7cfc7ddd7a2f535e775e9205f61d
DIFF: https://github.com/llvm/llvm-project/commit/af35e21cfe3f7cfc7ddd7a2f535e775e9205f61d.diff

LOG: [flang] Update CommandTest for AIX (NFC) (#118403)

With the change in commit e335563, the behavior for `ECLGeneralErrorCommandErrorSync` 
on AIX is the same as on Linux.

Added: 
    

Modified: 
    flang/unittests/Runtime/CommandTest.cpp

Removed: 
    


################################################################################
diff  --git a/flang/unittests/Runtime/CommandTest.cpp b/flang/unittests/Runtime/CommandTest.cpp
index 05287d80e14f58..ecb325330f1ad1 100644
--- a/flang/unittests/Runtime/CommandTest.cpp
+++ b/flang/unittests/Runtime/CommandTest.cpp
@@ -352,9 +352,6 @@ TEST_F(ZeroArguments, ECLGeneralErrorCommandErrorSync) {
 #if defined(_WIN32)
   CheckDescriptorEqInt<std::int64_t>(cmdStat.get(), 6);
   CheckDescriptorEqStr(cmdMsg.get(), "Invalid command lineXXXXXXXXX");
-#elif defined(_AIX)
-  CheckDescriptorEqInt<std::int64_t>(cmdStat.get(), 6);
-  CheckDescriptorEqStr(cmdMsg.get(), "Invalid command lineXXXXXXXXX");
 #else
   CheckDescriptorEqInt<std::int64_t>(cmdStat.get(), 3);
   CheckDescriptorEqStr(cmdMsg.get(), "Command line execution failed");


        


More information about the flang-commits mailing list