aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Bachmeyer <jcb62281+dev@gmail.com>2020-05-21 15:39:08 -0600
committerRob Savoye <rob@senecass.com>2020-05-21 15:39:08 -0600
commit60bb232959188decf2da1c38b02191edfafdd51a (patch)
tree3f2ff1fdcc0fbd72950a1ace763fe01a3efc8de8
parenta53deb4787c3229127481445a28a42ee44c8b550 (diff)
downloaddejagnu-60bb232959188decf2da1c38b02191edfafdd51a.zip
dejagnu-60bb232959188decf2da1c38b02191edfafdd51a.tar.gz
dejagnu-60bb232959188decf2da1c38b02191edfafdd51a.tar.bz2
Use runtest_file_p to honor requests to run only some library tests.
-rw-r--r--ChangeLog11
-rw-r--r--testsuite/runtest.libs/libs.exp4
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 706e39c..a3a6a39 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
-2020-05-18 Rob Savoye <rob.savoye@senecass.com>
+2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
+
+ * testsuite/runtest.libs/libs.exp: Use runtest_file_p to honor
+ requests to run only some library tests.
+
+2020-05-18 Rob Savoye <rob@senecass.com>
* configure.ac: Extract the current branch.
* Makefile.am: Change the frame_version in runtest.exp post
@@ -7,11 +12,11 @@
2020-05-15 Rob Savoye <rob@senecass.com>
- * All files: Minoe change, update copyright dates.
+ * All files: Minor change, update copyright dates.
2019-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
- * runtest.exp (search_and_load_file): Join the directory and
+ * runtest.exp (search_and_load_file): Join the directory and
filename once using 'file join'.
2019-01-24 Jacob Bachmeyer <jcb62281@gmail.com>
diff --git a/testsuite/runtest.libs/libs.exp b/testsuite/runtest.libs/libs.exp
index 8521ead..f42d3db 100644
--- a/testsuite/runtest.libs/libs.exp
+++ b/testsuite/runtest.libs/libs.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 1997-2016, 2018 Free Software Foundation, Inc.
+# Copyright (C) 1997-2016, 2018, 2019 Free Software Foundation, Inc.
#
# This file is part of DejaGnu.
#
@@ -98,7 +98,7 @@ proc process_test { test } {
start_expect
foreach i [glob [testsuite file -source -test *.test]] {
- process_test $i
+ if { [runtest_file_p $runtests $i] } { process_test $i }
}
stop_expect