Fixes recursion bug in disambiguate_in().
[ohcount] / test / unit / all_tests.c
1 // all_tests.c written by Mitchell Foral. mitchell<att>caladbolg.net.
2 // See COPYING for license information.
3
4 #include <stdio.h>
5
6 #include "detector_test.h"
7 #include "license_test.h"
8 #include "loc_test.h"
9 #include "parser_test.h"
10 #include "sourcefile_test.h"
11
12 void all_tests() {
13   printf("Running sourcefile tests\n");
14   all_sourcefile_tests();
15   printf("Running detector tests\n");
16   all_detector_tests();
17   printf("Running license tests\n");
18   all_license_tests();
19   printf("Running parser tests\n");
20   all_parser_tests();
21   printf("Running loc tests\n");
22   all_loc_tests();
23 }
24
25 int main() {
26   all_tests();
27   printf("ALL TESTS PASSED.\n");
28   return 0;
29 }