mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-24 07:59:01 +00:00
Stop using ../../test_common to include common headers
Contributes to #395. Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
@@ -7,8 +7,6 @@ set(CMAKE_C_FLAGS_RELEASE "-O0")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O0")
|
||||
endif(MSVC)
|
||||
|
||||
include_directories(../../test_common/harness)
|
||||
|
||||
add_executable(conformance_test_conversions
|
||||
Sleep.c test_conversions.c basic_test_conversions.c
|
||||
../../test_common/harness/ThreadPool.c
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
#include <string.h>
|
||||
#include <float.h>
|
||||
|
||||
#include "../../test_common/harness/compat.h"
|
||||
#include "../../test_common/harness/mt19937.h"
|
||||
#include "harness/compat.h"
|
||||
#include "harness/mt19937.h"
|
||||
|
||||
static inline cl_ulong random64( MTdata d );
|
||||
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#include "../../test_common/harness/compat.h"
|
||||
#include "../../test_common/harness/errorHelpers.h"
|
||||
#include "../../test_common/harness/rounding_mode.h"
|
||||
#include "harness/compat.h"
|
||||
#include "harness/errorHelpers.h"
|
||||
#include "harness/rounding_mode.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#if defined( __APPLE__ )
|
||||
@@ -32,7 +32,7 @@
|
||||
#include <CL/opencl.h>
|
||||
#endif
|
||||
|
||||
#include "../../test_common/harness/mt19937.h"
|
||||
#include "harness/mt19937.h"
|
||||
|
||||
typedef void (*Convert)( void *dest, void *src, size_t );
|
||||
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
#include "../../test_common/harness/compat.h"
|
||||
#include "../../test_common/harness/rounding_mode.h"
|
||||
#include "../../test_common/harness/ThreadPool.h"
|
||||
#include "../../test_common/harness/parseParameters.h"
|
||||
#include "harness/compat.h"
|
||||
#include "harness/rounding_mode.h"
|
||||
#include "harness/ThreadPool.h"
|
||||
#include "harness/parseParameters.h"
|
||||
#if defined (_WIN32)
|
||||
#define MAX(x,y) ((x>y)?x:y);
|
||||
#define MIN(x,y) ((x<y)?x:y);
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <libgen.h>
|
||||
#endif
|
||||
|
||||
#include "mingw_compat.h"
|
||||
#include "harness/mingw_compat.h"
|
||||
#if defined(__MINGW32__)
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
@@ -66,7 +66,7 @@
|
||||
#if (defined(_WIN32) && defined (_MSC_VER))
|
||||
// need for _controlfp_s and rouinding modes in RoundingMode
|
||||
#include <float.h>
|
||||
#include "../../test_common/harness/testHarness.h"
|
||||
#include "harness/testHarness.h"
|
||||
#endif
|
||||
|
||||
#pragma mark -
|
||||
|
||||
Reference in New Issue
Block a user