dotdotpan / exceptions4c

Automatically exported from code.google.com/p/exceptions4c
0 stars 0 forks source link

The test framework is checking wrong exit codes #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The test framework is checking *the return value* of the function `system` in 
order to retrieve *the exit code* of each and every unit test.

*But* in `POSIX` systems, it should be using the `WEXITSTATUS` macro in order 
to retrieve _the actual exit code_.

So, most of the tests were actually succeeding, but the test framework could 
not check their exit codes properly (on Linux) and therefore they seemed to be 
failing.

Original issue reported on code.google.com by guillermocalvo on 12 Nov 2010 at 12:16

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r187.

Original comment by guillermocalvo on 17 Nov 2010 at 6:29