Refactoring the code (runner.c).
Adding support for executing tests in-proc.
This commit is contained in:
parent
73fa28c71c
commit
bc147958d8
4 changed files with 96 additions and 65 deletions
|
@ -23,8 +23,6 @@
|
|||
|
||||
#include "SDL_test.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/*! \brief return value of test case. Non-zero value means that the test failed */
|
||||
static int _testReturnValue;
|
||||
|
||||
|
@ -34,10 +32,10 @@ TestCaseInit()
|
|||
_testReturnValue = 0;
|
||||
}
|
||||
|
||||
void
|
||||
int
|
||||
TestCaseQuit()
|
||||
{
|
||||
exit(_testReturnValue);
|
||||
return _testReturnValue;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue