From 3f0f6ed2e85d073d184924153c173baf7d420a6a Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 24 Feb 2005 23:54:03 +0000 Subject: [PATCH] * gdb.ada/fixed_points.exp: Create compilation object directory before running the test. * gdb.ada/null_record.exp: Likewise. * gdb.ada/packed_array.exp: Likewise. * gdb.ada/start.exp: Likewise. --- gdb/testsuite/ChangeLog | 8 ++++++++ gdb/testsuite/gdb.ada/fixed_points.exp | 1 + gdb/testsuite/gdb.ada/null_record.exp | 1 + gdb/testsuite/gdb.ada/packed_array.exp | 1 + gdb/testsuite/gdb.ada/start.exp | 1 + 5 files changed, 12 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 567558b5656..f0a278e49b1 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2004-02-24 Joel Brobecker + + * gdb.ada/fixed_points.exp: Create compilation object directory + before running the test. + * gdb.ada/null_record.exp: Likewise. + * gdb.ada/packed_array.exp: Likewise. + * gdb.ada/start.exp: Likewise. + 2005-02-15 Joel Brobecker * gdb.ada/packed_array/pa.adb: New file. diff --git a/gdb/testsuite/gdb.ada/fixed_points.exp b/gdb/testsuite/gdb.ada/fixed_points.exp index db47bd3b5c2..7a4d2fbac1a 100644 --- a/gdb/testsuite/gdb.ada/fixed_points.exp +++ b/gdb/testsuite/gdb.ada/fixed_points.exp @@ -26,6 +26,7 @@ set testfile "${testdir}/fixed_points" set srcfile ${srcdir}/${subdir}/${testfile}.adb set binfile ${objdir}/${subdir}/${testfile} +file mkdir ${objdir}/${subdir}/${testdir} if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } { return -1 } diff --git a/gdb/testsuite/gdb.ada/null_record.exp b/gdb/testsuite/gdb.ada/null_record.exp index 1989d0b3e2d..c3cbd9389dd 100644 --- a/gdb/testsuite/gdb.ada/null_record.exp +++ b/gdb/testsuite/gdb.ada/null_record.exp @@ -26,6 +26,7 @@ set testfile "${testdir}/null_record" set srcfile ${srcdir}/${subdir}/${testfile}.adb set binfile ${objdir}/${subdir}/${testfile} +file mkdir ${objdir}/${subdir}/${testdir} if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } { return -1 } diff --git a/gdb/testsuite/gdb.ada/packed_array.exp b/gdb/testsuite/gdb.ada/packed_array.exp index 6192470e860..aa75450b51e 100644 --- a/gdb/testsuite/gdb.ada/packed_array.exp +++ b/gdb/testsuite/gdb.ada/packed_array.exp @@ -26,6 +26,7 @@ set testfile "${testdir}/pa" set srcfile ${srcdir}/${subdir}/${testfile}.adb set binfile ${objdir}/${subdir}/${testfile} +file mkdir ${objdir}/${subdir}/${testdir} if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } { return -1 } diff --git a/gdb/testsuite/gdb.ada/start.exp b/gdb/testsuite/gdb.ada/start.exp index 31c3ea17bcd..f91e8728b16 100644 --- a/gdb/testsuite/gdb.ada/start.exp +++ b/gdb/testsuite/gdb.ada/start.exp @@ -26,6 +26,7 @@ set testfile "${testdir}/dummy" set srcfile ${srcdir}/${subdir}/${testfile}.adb set binfile ${objdir}/${subdir}/${testfile} +file mkdir ${objdir}/${subdir}/${testdir} if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } { return -1 } -- 2.30.2