* lib/ada.exp (standard_ada_testfile): New proc.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.ada / tagged_not_init.exp
index 013d76ab57861e97795b89b1c462320791e502cb..1113096b77184ae62c19775f130e94de175f7fda 100644 (file)
@@ -17,12 +17,8 @@ load_lib "ada.exp"
 
 if { [skip_ada_tests] } { return -1 }
 
-set testdir "tagged_not_init"
-set testfile "${testdir}/foo"
-set srcfile ${srcdir}/${subdir}/${testfile}.adb
-set binfile ${objdir}/${subdir}/${testfile}
+standard_ada_testfile foo
 
-file mkdir ${objdir}/${subdir}/${testdir}
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
     return -1
 }
This page took 0.024723 seconds and 4 git commands to generate.