aboutsummaryrefslogtreecommitdiff
path: root/runtest.exp
diff options
context:
space:
mode:
authorRob Savoye <rob@welcomehome.org>2001-10-07 04:10:28 +0000
committerRob Savoye <rob@welcomehome.org>2001-10-07 04:10:28 +0000
commite3702ff9e26b1a2db3382a4977e2bf77e1715852 (patch)
treee945bd9c08fcbc47ba484d796595baef5f0a6f4f /runtest.exp
parent08669c1e0bb589d0ef4cab20741c1d00e7d89b46 (diff)
downloaddejagnu-e3702ff9e26b1a2db3382a4977e2bf77e1715852.zip
dejagnu-e3702ff9e26b1a2db3382a4977e2bf77e1715852.tar.gz
dejagnu-e3702ff9e26b1a2db3382a4977e2bf77e1715852.tar.bz2
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.
Diffstat (limited to 'runtest.exp')
-rwxr-xr-xruntest.exp6
1 files changed, 5 insertions, 1 deletions
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] != "" } {