openfoam/applications/test/error
Mark Olesen 01f6505442 ENH: add a Pstream::shutdown() method (#1660)
- previously used a Pstream::exit() invoked from the argList
  destructor to handle all MPI shutdown, but this has the unfortunate
  side-effect of using a fixed return value for the program exit.

  Instead use the Pstream::shutdown() method in the destructor and allow
  the normal program exit codes as usual. This means that the
  following code now works as expected.

  ```
  argList args(...);

  if (...)
  {
      InfoErr<< "some error\n";
      return 1;
  }
  ```
2020-04-01 12:33:39 +02:00
..
Make STYLE: use finiteVolume in Make/options placeholder 2019-02-24 17:32:13 +01:00
Test-error.C ENH: add a Pstream::shutdown() method (#1660) 2020-04-01 12:33:39 +02:00