[flang-commits] [flang] [flang] Fix execute_command_line cmdstat is not set when error occurs (PR #93023)
Daniel Chen via flang-commits
flang-commits at lists.llvm.org
Wed May 29 06:57:12 PDT 2024
================
@@ -354,7 +355,8 @@ TEST_F(ZeroArguments, ECLInvalidCommandErrorSync) {
CheckDescriptorEqInt<std::int64_t>(exitStat.get(), 127);
#endif
CheckDescriptorEqInt<std::int64_t>(cmdStat.get(), 3);
- CheckDescriptorEqStr(cmdMsg.get(), "Invalid command lineXXXX");
+ CheckDescriptorEqStr(cmdMsg.get(),
+ "Invalid command line: check for exitstat and console printoutXXXX");
----------------
DanielCChen wrote:
I don't think we need to change this (see my comments in the PR).
https://github.com/llvm/llvm-project/pull/93023
More information about the flang-commits
mailing list