Remove imageSupportRequired parameter to runTestHarness (#1077)

* Tests requiring image support use runTestHarnessWithCheck

Removing special case for images in runTestHarness.

Fixes #710

* Remove imageSupportRequired argument

Tests which require image support now specify this while
calling runTestHarnessWithCheck.

Fixes #710

Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>
This commit is contained in:
ellnor01
2020-12-09 16:12:40 +00:00
committed by GitHub
parent b7adaa5c3b
commit 5ae5e7a1fa
49 changed files with 60 additions and 55 deletions

View File

@@ -151,7 +151,8 @@ int main(int argc, const char *argv[])
if( gTestSmallImages )
log_info( "Note: Using small test images\n" );
int ret = runTestHarness( argCount, argList, test_num, test_list, true, false, 0 );
int ret = runTestHarnessWithCheck(argCount, argList, test_num, test_list,
false, 0, verifyImageSupport);
free(argList);
return ret;

View File

@@ -124,7 +124,8 @@ int main(int argc, const char *argv[])
if ( gTestSmallImages )
log_info( "Note: Using small test images\n" );
int ret = runTestHarness( argCount, argList, test_num, test_list, true, false, 0 );
int ret = runTestHarnessWithCheck(argCount, argList, test_num, test_list,
false, 0, verifyImageSupport);
free(argList);
return ret;

View File

@@ -108,7 +108,8 @@ int main(int argc, const char *argv[])
if( gTestSmallImages )
log_info( "Note: Using small test images\n" );
int ret = runTestHarness( argCount, argList, test_num, test_list, true, false, 0 );
int ret = runTestHarnessWithCheck(argCount, argList, test_num, test_list,
false, 0, verifyImageSupport);
free(argList);
return ret;

View File

@@ -112,7 +112,8 @@ int main(int argc, const char *argv[])
if( gTestSmallImages )
log_info( "Note: Using small test images\n" );
int ret = runTestHarness( argCount, argList, test_num, test_list, true, false, 0 );
int ret = runTestHarnessWithCheck(argCount, argList, test_num, test_list,
false, 0, verifyImageSupport);
free(argList);
return ret;

View File

@@ -112,7 +112,8 @@ int main(int argc, const char *argv[])
if( gTestSmallImages )
log_info( "Note: Using small test images\n" );
int ret = runTestHarness( argCount, argList, test_num, test_list, true, false, 0 );
int ret = runTestHarnessWithCheck(argCount, argList, test_num, test_list,
false, 0, verifyImageSupport);
free(argList);
return ret;

View File

@@ -395,7 +395,8 @@ int main(int argc, const char *argv[])
FPU_mode_type oldMode;
DisableFTZ(&oldMode);
int ret = runTestHarness( argCount, argList, test_num, test_list, true, false, 0 );
int ret = runTestHarnessWithCheck(argCount, argList, test_num, test_list,
false, 0, verifyImageSupport);
// Restore FP state before leaving
RestoreFPState(&oldMode);

View File

@@ -152,7 +152,8 @@ int main(int argc, const char *argv[])
FPU_mode_type oldMode;
DisableFTZ(&oldMode);
int ret = runTestHarness( argCount, argList, test_num, test_list, true, false, 0 );
int ret = runTestHarnessWithCheck(argCount, argList, test_num, test_list,
false, 0, verifyImageSupport);
// Restore FP state before leaving
RestoreFPState(&oldMode);