- Tests are now separated in test files in the tests-directory
This commit is contained in:
1 parent
6e4c8294fb
commit
5ea7551195
10 files changed
+444
-174
No files matched your search
@@ -27,9 +27,11 @@
|
||||
|
||||
#include "types.h"
|
||||
#include "tester.h"
|
||||
#include "tests/tests.h"
|
||||
#include "job_queue.h"
|
||||
|
||||
|
||||
|
||||
/* output for test messages */
|
||||
extern FILE * stderr;
|
||||
|
||||
@@ -44,10 +46,12 @@ int main()
|
||||
|
||||
tester_t *tester = tester_create(test_output);
|
||||
|
||||
tester->test_all(tester);
|
||||
tester->test_all(tester,tests);
|
||||
|
||||
tester->destroy(tester);
|
||||
|
||||
job_queue->destroy(job_queue);
|
||||
|
||||
#ifdef LEAK_DETECTIVE
|
||||
/* Leaks are reported in log file */
|
||||
report_leaks();
|
||||
|
||||
Reference in new issue
Block a user