4 #include <TTestRunner.h>
6 TestRunner_t test_runner = NULL;
12 int main(int argc, char *argv[])
17 /* Create a test runner. */
18 test_runner = TestRunner_new();
20 if (NULL == test_runner)
23 /* Initialize the test runner. */
24 if (E_SUCCESS != TestRunner_initialize(test_runner, argc, argv))
27 /* Launch the test runner. */
28 TestRunner_run(test_runner);
40 errno_t e = getErrno();
42 if (NULL != test_runner)
43 TestRunner_free(test_runner);
45 printf("\n Program terminated with the exit code : %3d (%s)\n",
46 getErrno(), __errlist[getErrno()]);