Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: <gdb-patches@sourceware.org>
Subject: [RFA] fix testsuite/gdb.server/file-transfer.exp  windows failure
Date: Thu, 22 Jan 2009 15:33:00 -0000	[thread overview]
Message-ID: <003301c97ca6$b7a72650$26f572f0$@u-strasbg.fr> (raw)

  Testsuite on cygwin fails
on gdb.server/file-transfer.exp
due to the fact that binfile variable 
has no .exe extension, which is fine for most 
test as the extension is implicitly added,
but for the "remote put" command,
this is not the case.

  The following patch fixes the test,
no failures left on that test.


Pierre Muller
Pascal language support maintainer for GDB

gdb/testsuite/ChangeLog entry:

2009-01-22  Pierre Muller  <muller@ics.u-strasbg.fr>

	* gdb.server/file-transfer.exp: Use EXEEXT variable for
	binfile definition to fix Windows OS failure.
  


Index: gdb/testsuite/gdb.server/file-transfer.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.server/file-transfer.exp,v
retrieving revision 1.3
diff -u -p -r1.3 file-transfer.exp
--- gdb/testsuite/gdb.server/file-transfer.exp  3 Jan 2009 05:58:06 -00001.3
+++ gdb/testsuite/gdb.server/file-transfer.exp  22 Jan 2009 15:22:15 -0000
@@ -20,7 +20,7 @@ load_lib gdbserver-support.exp

 set testfile "server"
 set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
+set binfile ${objdir}/${subdir}/${testfile}${EXEEXT}

 if { [skip_gdbserver_tests] } {
     return 0


             reply	other threads:[~2009-01-22 15:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-22 15:33 Pierre Muller [this message]
2009-01-22 15:41 ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003301c97ca6$b7a72650$26f572f0$@u-strasbg.fr' \
    --to=muller@ics.u-strasbg.fr \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox