Fix nullptr in with_command_1
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.opencl / callfuncs.exp
index f43558924d66df91ef431a0fd43ecc545a488ff3..1870b25f8bf8cee4ca7b9b1ffb01e6a0a3502b34 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2011 Free Software Foundation, Inc.
+# Copyright 2011-2019 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 #
 # Tests OpenCL function calling conventions.
 
-if $tracelevel {
-    strace $tracelevel
-}
-
 load_lib opencl.exp
 
 if { [skip_opencl_tests] } {
@@ -32,7 +28,7 @@ set clprogram [remote_download target ${srcdir}/${subdir}/${testfile}.cl]
 
 # Compile the generic OpenCL host app
 if { [gdb_compile_opencl_hostapp "${clprogram}" "${testfile}" "" ] != "" } {
-    untested ${testfile}.exp
+    untested "failed to compile"
     return -1
 }
 
This page took 0.024082 seconds and 4 git commands to generate.