Index: gdb/testsuite/gdb.java/jnpe.exp |
diff --git a/gdb/testsuite/gdb.java/jnpe.exp b/gdb/testsuite/gdb.java/jnpe.exp |
index 85daf9d66b457b1b69f2fc263ebfcaf2f104d0f1..f7225d80dff994f90af525a20dab649d25dd83ab 100644 |
--- a/gdb/testsuite/gdb.java/jnpe.exp |
+++ b/gdb/testsuite/gdb.java/jnpe.exp |
@@ -13,16 +13,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/>. |
-if $tracelevel then { |
- strace $tracelevel |
-} |
- |
load_lib "java.exp" |
-set testfile "jnpe" |
-set srcfile ${testfile}.java |
-set binfile ${objdir}/${subdir}/${testfile} |
-if { [compile_java_from_source ${srcdir}/$subdir/${srcfile} ${binfile} "-g"] != "" } { |
+standard_testfile .java |
+if { [compile_java_from_source $srcdir/$subdir/$srcfile $binfile "-g"] != "" } { |
untested "Couldn't compile ${srcdir}/$subdir/${srcfile}" |
return -1 |
} |