billyquith / ponder

C++ reflection library with Lua binding, and JSON and XML serialisation.
http://billyquith.github.io/ponder/
Other
642 stars 95 forks source link

Catch returns 0 on failure #4

Closed billyquith closed 8 years ago

billyquith commented 8 years ago

Catch unittesting appears to return 0 when test fail. Either need to add own main() or add logging and parse output.

billyquith commented 8 years ago

Catch does return the correct result (!0). This was because the return status of everything in Travis after "script" is ignored. Moved unit tests into script. Failure now caught.