re-organise test structure

This commit is contained in:
Recep Aslantas
2017-07-11 12:30:02 +03:00
parent 71d731173a
commit a55b0ab5db
7 changed files with 85 additions and 48 deletions

19
test/src/test_main.c Normal file
View File

@@ -0,0 +1,19 @@
/*
* Copyright (c), Recep Aslantas.
* MIT License (MIT), http://opensource.org/licenses/MIT
*/
#include "test_common.h"
#include "test_tests.h"
int
main(int argc, const char * argv[]) {
const struct CMUnitTest tests[] = {
/* mat4 */
cmocka_unit_test(test_mat4),
};
return cmocka_run_group_tests(tests,
NULL,
NULL);
}