X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.cp%2Fabstract-origin.exp;h=98a432785ca690f42ed6bf1a2b3d4eed15076bfb;hb=e2882c85786571175a0b0bfc3bcd2f14620b1ea3;hp=9ba1194e8d1e891af63faf070813c832ec1563be;hpb=d389af10b70d4c5be1a4a7d1317c0e6020cac979;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/gdb.cp/abstract-origin.exp b/gdb/testsuite/gdb.cp/abstract-origin.exp index 9ba1194e8d..98a432785c 100644 --- a/gdb/testsuite/gdb.cp/abstract-origin.exp +++ b/gdb/testsuite/gdb.cp/abstract-origin.exp @@ -1,4 +1,4 @@ -# Copyright 2009 Free Software Foundation, Inc. +# Copyright 2009-2018 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 @@ -13,9 +13,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -set testfile abstract-origin -set srcfile ${testfile}.cc -if [prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}] { +standard_testfile .cc + +if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} { return -1 }