tests: Portability fixes, replaced 0/1/-1 return codes with macros

This commit is contained in:
Tibor Nagy
2019-02-20 20:20:07 +01:00
parent ff874c87d7
commit c19cc8b731
76 changed files with 178 additions and 133 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int sofar = 0;
@@ -48,5 +49,5 @@ int main(void) {
printf("%G\n", 0.0001);
printf("%G\n", 0.00001);
printf("%E\n", 0.00001);
return 0;
return EXIT_SUCCESS;
}