unittest module uses programResult
to report number of failures which can wrap
#10261
Labels
programResult
to report number of failures which can wrap
#10261
the exit code of a program can wrap at values as low as 256 (for some platforms) so depending on the exit code of a program for the number of failed tests can be misleading - and might even wrap to
0
- as if no tests have failed!typically testing frameworks return either success or failure (meaning 0 or 1) - see these links:
catchorg/Catch2#1146
catchorg/Catch2#1410
https://unix.stackexchange.com/questions/418784/what-is-the-min-and-max-values-of-exit-codes-in-linux
The text was updated successfully, but these errors were encountered: