aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/enumval.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/enumval.exp')
-rw-r--r--gdb/testsuite/gdb.base/enumval.exp7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/enumval.exp b/gdb/testsuite/gdb.base/enumval.exp
index 7f80ab3..e0964fc 100644
--- a/gdb/testsuite/gdb.base/enumval.exp
+++ b/gdb/testsuite/gdb.base/enumval.exp
@@ -15,11 +15,10 @@
# 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 "enumval"
-set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
+standard_testfile
-if { [prepare_for_testing enumval.exp "enumval" "" {debug}] } {
+if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} {
+ untested $testfile.exp
return -1
}