Index: gdb/testsuite/gdb.base/enum_cond.exp |
diff --git a/gdb/testsuite/gdb.base/enum_cond.exp b/gdb/testsuite/gdb.base/enum_cond.exp |
index 5c041d94bc8c514881901e577e9ed311af7588ce..6c5d5881b516024f3e29aa803af86c7028fb9c04 100644 |
--- a/gdb/testsuite/gdb.base/enum_cond.exp |
+++ b/gdb/testsuite/gdb.base/enum_cond.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2012 Free Software Foundation, Inc. |
+# Copyright 2012-2013 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 |
@@ -17,9 +17,7 @@ |
# gdb can correctly print arrays with indexes for each element of the |
# array. |
-set testfile "enum_cond" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile .c |
set opts [list debug additional_flags=-fshort-enums] |
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $opts] != "" } { |