aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Bachmeyer <jcb@gnu.org>2020-12-27 21:50:20 -0600
committerJacob Bachmeyer <jcb@gnu.org>2020-12-27 21:50:20 -0600
commita0a71986117a3bec03eaebe9f22121821697f9b0 (patch)
treef259701da194283bc95791f8a0a45d9b7d88f49c
parentecbcbae3dd945c5f5ca0eeda36b2be21df7d0b92 (diff)
downloaddejagnu-a0a71986117a3bec03eaebe9f22121821697f9b0.zip
dejagnu-a0a71986117a3bec03eaebe9f22121821697f9b0.tar.gz
dejagnu-a0a71986117a3bec03eaebe9f22121821697f9b0.tar.bz2
Improve DejaGnu internal library tests
-rw-r--r--ChangeLog4
-rw-r--r--testsuite/runtest.libs/libs.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a38bb37..1d81fe9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2020-12-27 Jacob Bachmeyer <jcb@gnu.org>
+ * testsuite/runtest.libs/libs.exp (process_test): Report running
+ test scripts as each test script is run.
+ Also, at top-level, sort the list of tests to run.
+
* doc/dejagnu.texi (testsuite procedure): Remove noise word "api"
from new "testsuite can call api" feature test API entrypoint.
* lib/framework.exp (testsuite_can): Likewise.
diff --git a/testsuite/runtest.libs/libs.exp b/testsuite/runtest.libs/libs.exp
index e688ab3..73b4420 100644
--- a/testsuite/runtest.libs/libs.exp
+++ b/testsuite/runtest.libs/libs.exp
@@ -21,7 +21,7 @@ load_lib libsup.exp
proc process_test { test } {
global EXPECT
- verbose -log "Executing test case $test"
+ verbose "Running $test ..." 0
set text "\[- A-Za-z0-9\,\.\;\"\_\:\'\`\(\)\!\#\=\+\?\&\*]*"
set timeout 150
@@ -97,7 +97,7 @@ proc process_test { test } {
}
start_expect
-foreach i [glob [testsuite file -source -test *.test]] {
+foreach i [lsort -dictionary [glob [testsuite file -source -test *.test]]] {
if { [runtest_file_p $runtests $i] } { process_test $i }
}
stop_expect