tests: More refactoring, add helper header to every test, override exit for better error reporting

This commit is contained in:
Tibor Nagy
2019-02-21 21:13:28 +01:00
parent 6266d29242
commit 9a0ea6ff34
99 changed files with 323 additions and 88 deletions
+2
View File
@@ -2,6 +2,8 @@
#include <stdlib.h>
#include <errno.h>
#include "test_helpers.h"
int main(void) {
FILE *f = fopen("stdio/fwrite.out", "w");
const char ptr[] = "Hello World!";