Fix nullptr in with_command_1
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / complex.exp
index 455ed65789b8f8a3bace3f52c59f3e0c3f4d45a9..2a691be3b9c0bd715420116004f6d51b4e5c2a1b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2003-2015 Free Software Foundation, Inc.
+# Copyright 2003-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
@@ -20,8 +20,7 @@ if [get_compiler_info] {
     return -1
 }
 
-if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} {
-    untested $testfile.exp
+if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
     return -1
 }
 
This page took 0.028445 seconds and 4 git commands to generate.