Browse Source

* runtest.exp: Fix --directory matching.

Signed-off-by: Ben Elliston <bje@gnu.org>
dejagnu-1.6.1
Tom Tromey 9 years ago
committed by Ben Elliston
parent
commit
ddca6201c3
  1. 4
      ChangeLog
  2. 5
      runtest.exp

4
ChangeLog

@ -1,3 +1,7 @@
2017-08-18 Tom Tromey <tom@tromey.com>
* runtest.exp: Fix --directory matching.
2017-08-15 Ben Elliston <bje@gnu.org>
* lib/framework.exp (xml_tag): New proc.

5
runtest.exp

@ -1829,7 +1829,10 @@ foreach current_target $target_list {
# list of directories. Look for match on each item.
set found 0
foreach directory $cmdline_dir_to_run {
if {[string match $directory $dir]} {
# Look for a directory that ends with the
# provided --directory name.
if {[string match "$directory" $dir]
|| [string match "*/$directory" $dir]} {
set found 1
break
}

Loading…
Cancel
Save