TDycores-Project / TDycore

BSD 2-Clause "Simplified" License
4 stars 0 forks source link

Feature requests for CMocka unit test harness #176

Closed jeff-cohere closed 3 years ago

jeff-cohere commented 3 years ago

Jed writes:

  1. If the harness removes the index argument, it should still be possible to pass command line arguments to each test. This is often useful to investigate what goes wrong (e.g., add monitors or adjust the args to reduce). It can be done using the environment variable PETSC_OPTIONS, but command line is useful.

  2. If the test fails, can we print the command needed to reproduce without the harness (i.e., with the mpiexec) so the user can easily rerun in a debugger?