From: Jimmy Guo <guo@cup.hp.com>
To: Fernando Nasser <fnasser@cygnus.com>
Cc: gdb-patches@sourceware.cygnus.com
Subject: Re: [RFA] dejagnu runtest.exp *dir_to_run
Date: Mon, 14 Aug 2000 11:02:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.10.10008141101140.23765-100000@hpcll168.cup.hp.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10008071056180.5575-100000@hpcll168.cup.hp.com>
I've committed this patch.
- Jimmy
>2000-08-07 Jimmy Guo <guo@cup.hp.com>
>
> Re-apply this change which needn't be backed out:
>
> * runtest.exp: Handle multiple directories in TCL variables
> dir_to_run and cmdline_dir_to_run.
>
>
>Index: runtest.exp
>===================================================================
>RCS file: /cvs/src/src/dejagnu/runtest.exp,v
>retrieving revision 1.4
>diff -c -r1.4 runtest.exp
>*** runtest.exp 2000/08/05 06:34:02 1.4
>--- runtest.exp 2000/08/07 17:53:42
>***************
>*** 1730,1736 ****
> # value (for example in MULTIPASS) and the test
> # directory matches that directory.
> if {[info exists dir_to_run] && $dir_to_run != ""} {
>! if ![string match "*${dir_to_run}*" $dir] {
> continue
> }
> }
>--- 1730,1745 ----
> # value (for example in MULTIPASS) and the test
> # directory matches that directory.
> if {[info exists dir_to_run] && $dir_to_run != ""} {
>! # JYG: dir_to_run might be a space delimited list
>! # of directories. Look for match on each item.
>! set found 0
>! foreach directory $dir_to_run {
>! if [string match "*${directory}*" $dir] {
>! set found 1
>! break
>! }
>! }
>! if {!$found} {
> continue
> }
> }
>***************
>*** 1740,1746 ****
> # directory matches that directory
> if {[info exists cmdline_dir_to_run] \
> && $cmdline_dir_to_run != ""} {
>! if ![string match "*${cmdline_dir_to_run}*" $dir] {
> continue
> }
> }
>--- 1749,1764 ----
> # directory matches that directory
> if {[info exists cmdline_dir_to_run] \
> && $cmdline_dir_to_run != ""} {
>! # JYG: cmdline_dir_to_run might be a space delimited
>! # list of directories. Look for match on each item.
>! set found 0
>! foreach directory $cmdline_dir_to_run {
>! if [string match "*${directory}*" $dir] {
>! set found 1
>! break
>! }
>! }
>! if {!$found} {
> continue
> }
> }
>
>
prev parent reply other threads:[~2000-08-14 11:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <398C3E91.D0EDB934@cygnus.com>
2000-08-07 10:09 ` recent dejagnu changes Jimmy Guo
2000-08-07 11:00 ` [RFA] dejagnu runtest.exp *dir_to_run Jimmy Guo
2000-08-07 11:34 ` [RFA] dejagnu runtest.exp redundant testing Jimmy Guo
2000-08-11 19:17 ` (withdraw) " Jimmy Guo
2000-08-14 11:02 ` Jimmy Guo [this message]
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=Pine.LNX.4.10.10008141101140.23765-100000@hpcll168.cup.hp.com \
--to=guo@cup.hp.com \
--cc=fnasser@cygnus.com \
--cc=gdb-patches@sourceware.cygnus.com \
/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