From 10292fcddb07a08056bdd052b559968f0fe2e97d Mon Sep 17 00:00:00 2001 From: Aaron Watry Date: Thu, 1 Nov 2012 08:22:06 -0500 Subject: Fix test macro-definitions.cl The original version defined BUILD_OPT, but used BUILD_OPT1. Clover wasn't capable of passing the test either way. Now, the test should pass on conforming implementations. Reviewed-by: Tom Stellard --- tests/cl/program/build/macro-definitions.cl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cl/program/build/macro-definitions.cl b/tests/cl/program/build/macro-definitions.cl index a8493b08..1758c3f9 100644 --- a/tests/cl/program/build/macro-definitions.cl +++ b/tests/cl/program/build/macro-definitions.cl @@ -2,9 +2,9 @@ [config] name: Macro Definitions clc_version_min: 10 -build_options: -D BUILD_OPT -D BUILD_OPT2 +build_options: -D BUILD_OPT1 -D BUILD_OPT2 !*/ kernel void dummy_kernel(){ int var1 = BUILD_OPT1; int var2 = BUILD_OPT2; -} \ No newline at end of file +} -- cgit v1.2.3