From e3702ff9e26b1a2db3382a4977e2bf77e1715852 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Sun, 7 Oct 2001 04:10:28 +0000 Subject: [PATCH] 2001-10-06 Gwenole Beauchesne * Check for Makefile style arguments in the second pass, but ignore them, so they don't become invalid arguments. --- ChangeLog | 5 +++++ runtest.exp | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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] != "" } { -- 2.7.4