mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Remove __DATE__ and __TIME__ usage (#1506)
These macros make the build non-deterministic.
This commit is contained in:
committed by
GitHub
parent
92285f7c9d
commit
180adef84c
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// Copyright (c) 2017 The Khronos Group Inc.
|
||||
//
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
@@ -434,7 +434,6 @@ static int ParseArgs( int argc, const char **argv )
|
||||
gArgCount++;
|
||||
}
|
||||
}
|
||||
vlog( "\n\nTest binary built %s %s\n", __DATE__, __TIME__ );
|
||||
|
||||
PrintArch();
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// Copyright (c) 2017 The Khronos Group Inc.
|
||||
//
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
@@ -484,8 +484,6 @@ static int ParseArgs( int argc, const char **argv )
|
||||
|
||||
vlog( "\n" );
|
||||
|
||||
vlog( "Test binary built %s %s\n", __DATE__, __TIME__ );
|
||||
|
||||
PrintArch();
|
||||
|
||||
if( gWimpyMode )
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// Copyright (c) 2017 The Khronos Group Inc.
|
||||
//
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
@@ -221,7 +221,6 @@ static int ParseArgs( int argc, const char **argv )
|
||||
gWimpyMode = 1;
|
||||
}
|
||||
|
||||
vlog( "Test binary built %s %s\n", __DATE__, __TIME__ );
|
||||
PrintArch();
|
||||
if( gWimpyMode )
|
||||
{
|
||||
@@ -247,4 +246,3 @@ static void PrintUsage( void )
|
||||
vlog("\t\t%s\n", test_list[i].name );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -502,8 +502,6 @@ static int ParseArgs(int argc, const char **argv)
|
||||
gWimpyMode = 1;
|
||||
}
|
||||
|
||||
vlog("\nTest binary built %s %s\n", __DATE__, __TIME__);
|
||||
|
||||
PrintArch();
|
||||
|
||||
if (gWimpyMode)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// Copyright (c) 2017 The Khronos Group Inc.
|
||||
//
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
@@ -1030,8 +1030,6 @@ test_status InitCL( cl_device_id device )
|
||||
return TEST_SKIP;
|
||||
}
|
||||
|
||||
log_info( "Test binary built %s %s\n", __DATE__, __TIME__ );
|
||||
|
||||
gFd = acquireOutputStream(&err);
|
||||
if (err != 0)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// Copyright (c) 2017 The Khronos Group Inc.
|
||||
//
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
@@ -639,7 +639,6 @@ int main(int argc, const char* argv[])
|
||||
s_wimpy_mode = true;
|
||||
}
|
||||
|
||||
log_info( "Test binary built %s %s\n", __DATE__, __TIME__ );
|
||||
if (s_wimpy_mode) {
|
||||
log_info("\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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user