Fix crash in quirk_rust_enum
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.fortran / subarray.exp
index 47fc40dca80c60709aad6661a08d9bde55352719..1ea07732ca412ff09e2da7b6f5b356157adae93d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2005, 2007, 2008, 2009 Free Software Foundation, Inc.
+# Copyright 2005-2018 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
 # This file is part of the gdb testsuite.  It contains tests for evaluating
 # Fortran subarray expression.
 
-if $tracelevel then {
-       strace $tracelevel
-}
-
 if { [skip_fortran_tests] } { return -1 }
 
-set testfile "subarray"
-set srcfile ${testfile}.f
-set binfile ${objdir}/${subdir}/${testfile}
+standard_testfile .f
 
-if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
-       executable {debug f77}] != ""} {
+if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug f90}]} {
     return -1
 }
 
This page took 0.025191 seconds and 4 git commands to generate.