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

@@ -133,7 +133,6 @@ static void ReleaseCL( void );
static int InitILogbConstants( void );
static int IsTininessDetectedBeforeRounding( void );
static int IsInRTZMode( void ); //expensive. Please check gIsInRTZMode global instead.
static void TestFinishAtExit(void);
int doTest( const char* name )
@@ -816,7 +815,6 @@ int main (int argc, const char * argv[])
{
return -1;
}
atexit(TestFinishAtExit);
#if defined( __APPLE__ )
struct timeval startTime;
@@ -1993,7 +1991,3 @@ cl_uint RoundUpToNextPowerOfTwo( cl_uint x )
return x+x;
}
void TestFinishAtExit(void) {
test_finish();
}