aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xruntest.exp6
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 22fab06..86f3aaa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-06 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com>
+
+ * Check for Makefile style arguments in the second pass, but
+ ignore them, so they don't become invalid arguments.
+
2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
* 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] != "" } {