mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Move printing sub-test information into test harness (#421)
This removes all the duplicated code from each test, and moves it to test harness so that we have single place where this information is printed. Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
This commit is contained in:
committed by
Kévin Petit
parent
19951a2a14
commit
03650057bb
@@ -22,8 +22,6 @@
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
int gTestCount = 0;
|
||||
int gTestFailure = 0;
|
||||
RoundingMode gFloatToHalfRoundingMode = kDefaultRoundingMode;
|
||||
|
||||
static cl_ushort float2half_rte( float f );
|
||||
@@ -3719,8 +3717,6 @@ bool check_minimum_supported( cl_image_format *formatList, unsigned int numForma
|
||||
{
|
||||
log_error( "ERROR: Format required by OpenCL 1.0 is not supported: " );
|
||||
print_header( &formatsToTest[ i ], true );
|
||||
gTestCount++;
|
||||
gTestFailure++;
|
||||
passed = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user