Get rid of test_finish macro and related ATF cruft (#633)

Closes #431

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
Kévin Petit
2020-03-02 15:06:44 +00:00
committed by GitHub
parent 7c82f6a9b8
commit b2eba77d42
23 changed files with 23 additions and 193 deletions

View File

@@ -58,8 +58,6 @@ static int doTest(cl_command_queue queue, cl_context context,
static void printUsage( void );
static void TestFinishAtExit(void);
//-----------------------------------------
// Definitions and initializations
//-----------------------------------------
@@ -579,7 +577,6 @@ const int test_num = ARRAY_SIZE( test_list );
int main(int argc, const char* argv[])
{
test_start();
atexit(TestFinishAtExit);
argc = parseCustomParam(argc, argv);
if (argc == -1)
@@ -666,7 +663,3 @@ static void printUsage( void )
}
}
static void TestFinishAtExit(void)
{
test_finish();
}