[PATCH 2/2] tests: return 0 upon success
Gbp-Pq: Name 0002-tests-return-0-upon-success.patch
This commit is contained in:
parent
308e3467e3
commit
b04890bc42
|
@ -36,7 +36,7 @@ int unittest_summary(){
|
|||
fprintf(stderr, "UNIT TESTs succeeded:\t %s%i/%i\033[0m\n",
|
||||
units_failed>0 ? "\033[1;31m" : "\033[1;32m",
|
||||
units_success, units_success + units_failed);
|
||||
return units_failed==0;
|
||||
return units_failed!=0;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue