From 6da78614a34009388ab8af71cd26f59a451d486a Mon Sep 17 00:00:00 2001 From: Ken Werner Date: Fri, 21 Jan 2011 14:05:51 +0000 Subject: [PATCH] gdb/testsuite/ChangeLog 2011-01-21 Ken Werner * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags argument to the gdb_compile_opencl_hostapp call. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/lib/opencl.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e5799432c3b..9edc9d6812d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-01-21 Ken Werner + + * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags + argument to the gdb_compile_opencl_hostapp call. + 2011-01-19 Yao Qi * lib/dwarf.exp (dwarf2_support): Change supported targets to a diff --git a/gdb/testsuite/lib/opencl.exp b/gdb/testsuite/lib/opencl.exp index b5e7c098a46..c1b52916654 100644 --- a/gdb/testsuite/lib/opencl.exp +++ b/gdb/testsuite/lib/opencl.exp @@ -50,7 +50,7 @@ proc skip_opencl_tests {} { verbose "$me: compiling OpenCL test app" 2 set compile_flags {debug nowarnings quiet} - if { [gdb_compile_opencl_hostapp "${clprogram}" "${executable}" "" ] != "" } { + if { [gdb_compile_opencl_hostapp "${clprogram}" "${executable}" "${compile_flags}" ] != "" } { verbose "$me: compiling OpenCL binary failed, returning 1" 2 return [set skip_opencl_tests_saved($board) 1] } -- 2.30.2