Remove __DATE__ and __TIME__ usage (#1506)

These macros make the build non-deterministic.
This commit is contained in:
Krzysztof Kosiński
2022-09-23 09:29:18 -07:00
committed by GitHub
parent 92285f7c9d
commit 180adef84c
6 changed files with 5 additions and 16 deletions

View File

@@ -434,7 +434,6 @@ static int ParseArgs( int argc, const char **argv )
gArgCount++; gArgCount++;
} }
} }
vlog( "\n\nTest binary built %s %s\n", __DATE__, __TIME__ );
PrintArch(); PrintArch();

View File

@@ -484,8 +484,6 @@ static int ParseArgs( int argc, const char **argv )
vlog( "\n" ); vlog( "\n" );
vlog( "Test binary built %s %s\n", __DATE__, __TIME__ );
PrintArch(); PrintArch();
if( gWimpyMode ) if( gWimpyMode )

View File

@@ -221,7 +221,6 @@ static int ParseArgs( int argc, const char **argv )
gWimpyMode = 1; gWimpyMode = 1;
} }
vlog( "Test binary built %s %s\n", __DATE__, __TIME__ );
PrintArch(); PrintArch();
if( gWimpyMode ) if( gWimpyMode )
{ {
@@ -247,4 +246,3 @@ static void PrintUsage( void )
vlog("\t\t%s\n", test_list[i].name ); vlog("\t\t%s\n", test_list[i].name );
} }
} }

View File

@@ -502,8 +502,6 @@ static int ParseArgs(int argc, const char **argv)
gWimpyMode = 1; gWimpyMode = 1;
} }
vlog("\nTest binary built %s %s\n", __DATE__, __TIME__);
PrintArch(); PrintArch();
if (gWimpyMode) if (gWimpyMode)

View File

@@ -1030,8 +1030,6 @@ test_status InitCL( cl_device_id device )
return TEST_SKIP; return TEST_SKIP;
} }
log_info( "Test binary built %s %s\n", __DATE__, __TIME__ );
gFd = acquireOutputStream(&err); gFd = acquireOutputStream(&err);
if (err != 0) if (err != 0)
{ {

View File

@@ -639,7 +639,6 @@ int main(int argc, const char* argv[])
s_wimpy_mode = true; s_wimpy_mode = true;
} }
log_info( "Test binary built %s %s\n", __DATE__, __TIME__ );
if (s_wimpy_mode) { if (s_wimpy_mode) {
log_info("\n"); log_info("\n");
log_info("*** WARNING: Testing in Wimpy mode! ***\n"); log_info("*** WARNING: Testing in Wimpy mode! ***\n");
@@ -668,4 +667,3 @@ static void printUsage( void )
log_info( "\t%s\n", test_list[i].name ); log_info( "\t%s\n", test_list[i].name );
} }
} }