Index: gdb/testsuite/gdb.cp/abstract-origin.exp |
diff --git a/gdb/testsuite/gdb.cp/abstract-origin.exp b/gdb/testsuite/gdb.cp/abstract-origin.exp |
index 68e247b45ce40eba37fddfc5873942f824b308ba..16c90692a26ff5352d6251502180e10d15807e82 100644 |
--- a/gdb/testsuite/gdb.cp/abstract-origin.exp |
+++ b/gdb/testsuite/gdb.cp/abstract-origin.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 abstract-origin |
-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 |
} |