update copyright year range in GDB files
[external/binutils.git] / gdb / testsuite / gdb.cp / casts.exp
index 57a56b8..c8f8398 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2002-2016 Free Software Foundation, Inc.
+# Copyright 2002-2017 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
@@ -33,7 +33,7 @@ if [get_compiler_info "c++"] {
     return -1
 }
 
-if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} {
+if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
     return -1
 }
 
@@ -173,7 +173,7 @@ gdb_test "print dynamic_cast<Gamma *> (add)" \
     " = \\(Gamma \\*\\) $nonzero_hex" \
     "dynamic_cast to sibling"
 
-if {[prepare_for_testing $testfile.exp ${testfile}03 $srcfile2 \
+if {[prepare_for_testing "failed to prepare" ${testfile}03 $srcfile2 \
                         {debug c++ additional_flags=-std=c++03}]} {
     return -1
 }