Fix zero_ext documentation
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / miscexprs.exp
index caafe0525c818a331c62c93321d65b7d960b0c91..059c4341febf67516f10b207de5bc1096849128a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1998-2000, 2007-2012 Free Software Foundation, Inc.
+# Copyright 1998-2016 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
@@ -37,23 +37,18 @@ set additional_flags "additional_flags=${storage}"
 # test running programs
 #
 
-set testfile "miscexprs"
-set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
+standard_testfile .c
 
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug ${additional_flags} nowarnings]] != "" } {
     untested miscexprs.exp
     return -1
 }
 
-if [get_compiler_info ${binfile}] {
-    return -1;
+if [get_compiler_info] {
+    return -1
 }
 
-gdb_exit
-gdb_start
-gdb_reinitialize_dir $srcdir/$subdir
-gdb_load ${binfile}
+clean_restart ${binfile}
 
 
 #
This page took 0.025799 seconds and 4 git commands to generate.