This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[OBV] Fix testsuite gdb.base/exe-lock.exp windows specific failure

Checked in as obvious,

Pierre Muller

ChangeLog entry:

2009-06-26  Pierre Muller  <>

	* gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
	windows problem for 'file delete $binfile'.

Index: gdb.base/exe-lock.exp
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/exe-lock.exp,v
retrieving revision 1.1
diff -u -p -r1.1 exe-lock.exp
--- gdb.base/exe-lock.exp	14 Apr 2009 16:49:56 -0000	1.1
+++ gdb.base/exe-lock.exp	25 Jun 2009 22:39:04 -0000
@@ -23,7 +23,10 @@ if $tracelevel {
 set testfile "arrayidx"
 set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
+# $EXEEXT suffix is needed here, because otherwise, Windows targets
+# don't find the $binfile for 'file delete $binfile'.
+set binfile ${objdir}/${subdir}/${testfile}$EXEEXT
 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable
{debug}] != "" } {
     untested "Couldn't compile ${srcfile}"
     return -1

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]