From: Rob Savoye Date: Sun, 7 Oct 2001 04:10:28 +0000 (+0000) Subject: 2001-10-06 Gwenole Beauchesne X-Git-Tag: upstream/1.6.2~585 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3702ff9e26b1a2db3382a4977e2bf77e1715852;p=platform%2Fupstream%2Fdejagnu.git 2001-10-06 Gwenole Beauchesne * Check for Makefile style arguments in the second pass, but ignore them, so they don't become invalid arguments. --- diff --git a/ChangeLog b/ChangeLog index 22fab06..86f3aaa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-10-06 Gwenole Beauchesne + + * Check for Makefile style arguments in the second pass, but + ignore them, so they don't become invalid arguments. + 2001-10-02 Nick Clifton * lib/remote.exp (proc file_on_host): Fix typo in construction diff --git a/runtest.exp b/runtest.exp index 2606efe..4eb2a07 100755 --- a/runtest.exp +++ b/runtest.exp @@ -20,7 +20,7 @@ # This file was written by Rob Savoye. (rob@welcomehome.org) -set frame_version 1.4.2 +set frame_version 1.4.2.x if ![info exists argv0] { send_error "Must use a version of Expect greater than 5.0\n" exit 1 @@ -1164,6 +1164,10 @@ for { set i 0 } { $i < $argc } { incr i } { exit 0 } + "[A-Z0-9_-.]*=*" { # skip makefile style args like CC=gcc, etc... (processed in first pass) + continue + } + default { if [info exists tool] { if { [info proc ${tool}_option_proc] != "" } {