aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRob Savoye <rob@welcomehome.org>2001-09-12 22:31:36 +0000
committerRob Savoye <rob@welcomehome.org>2001-09-12 22:31:36 +0000
commit1f449230d7601cdfc87d9ccb8902cb327984abbe (patch)
tree1c020515e7037f98bc91ddb689b8ad4a7a5af7a9 /lib
parente77af0ef603a6cfd7c3c4c904b310ea94d40411a (diff)
downloaddejagnu-1f449230d7601cdfc87d9ccb8902cb327984abbe.zip
dejagnu-1f449230d7601cdfc87d9ccb8902cb327984abbe.tar.gz
dejagnu-1f449230d7601cdfc87d9ccb8902cb327984abbe.tar.bz2
* Makefile.am: Add a clean-local target, and nuke example and
testsuite from SUBDIRS, so they don't get built via "make all". * Makefile: All Makefiles regenerated. * debian/changelog: Update version for 1.4.2 release. * redhat/dejagnu.spec: Update version for 1.4.2 release.
Diffstat (limited to 'lib')
-rw-r--r--lib/utils.exp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/utils.exp b/lib/utils.exp
index 39e1150..eaebdb9 100644
--- a/lib/utils.exp
+++ b/lib/utils.exp
@@ -308,13 +308,12 @@ proc psource { file } {
# file names (ie: the "foo" in make check RUNTESTFLAGS="bar.exp=foo").
# "glob" style expressions are supported as well as multiple files (with
# spaces between them).
-# Eg: RUNTESTFLAGS="bar.exp=foo1.c foo2.c foo3*.c bar*.c"
+# Eg: RUNTESTFLAGS="bar.exp=foo1.c foo2.c foo3*.c bar/baz*.c"
#
proc runtest_file_p { runtests testcase } {
if [string length [lindex $runtests 1]] {
- set basename [file tail $testcase]
foreach ptn [lindex $runtests 1] {
- if [string match $ptn $basename] {
+ if [string match "*/$ptn" $testcase] {
return 1
}
if [string match $ptn $testcase] {