Index: gdb/testsuite/gdb.cp/destrprint.exp |
diff --git a/gdb/testsuite/gdb.cp/destrprint.exp b/gdb/testsuite/gdb.cp/destrprint.exp |
index 377c785d1e4d3559c1ff99404e7fcb0b098d63b8..23d7e14662132eaf1dbd62a122b6bb12ff705862 100644 |
--- a/gdb/testsuite/gdb.cp/destrprint.exp |
+++ b/gdb/testsuite/gdb.cp/destrprint.exp |
@@ -13,9 +13,9 @@ |
# You should have received a copy of the GNU General Public License |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
-set testfile destrprint |
-set srcfile ${testfile}.cc |
-if [prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}] { |
+standard_testfile .cc |
+ |
+if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} { |
return -1 |
} |