summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Watry <awatry@gmail.com>2012-11-01 08:22:06 -0500
committerTom Stellard <thomas.stellard@amd.com>2012-11-16 17:11:20 -0500
commit10292fcddb07a08056bdd052b559968f0fe2e97d (patch)
tree80949e1961eca3f45e4d7f14c76e46a269919ee9
parent672a0c96752787e31c468c5b5e645b826f6af390 (diff)
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 <thomas.stellard@amd.com>
-rw-r--r--tests/cl/program/build/macro-definitions.cl4
1 files 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
+}