Open SlMaker opened 4 years ago
+1 The test code actually from fpc project - I backported the tregexpr integration from freepascal scn. But obviously I broke something..
Maybe better use https://wiki.freepascal.org/FPTest src available on github https://github.com/graemeg/fptest so could be added to repo as reference
I dont get idea what is requested here. Maybe close the issue? @andgineer
The idea is that the test program should not exit with the value 0
when at least one assertion has failed. https://en.wikipedia.org/wiki/Exit_status speaks of what ExitCode
in Pascal means - by default it is 0
, indicating no failure.
The FPC framework doesn't return the failure code (if error then exit code != 0) which always shows that the tests passed on Travis-CI.
Maybe use dunit/dunit2 for FPC instead?