From 01599a0570d858b0ad6e00a32cc7f7e70154059d Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Sat, 8 Dec 2018 17:28:51 +1100 Subject: * NEWS: Document 'testsuite' command. * doc/dejagnu.texi (testsuite procedure): Document multiplex entry point and "testsuite file" command. * lib/framework.exp (testsuite): New proc for multiplex commands. (testsuite_file): New proc implementing "testsuite file". * testsuite/runtest.all/testsuite_file.test: New file. * runtest.exp: Expect to find testsuite in ${srcdir}/testsuite, but also search $srcdir itself. (load_lib): Add explicit search for testsuite-local libraries. (load_tool_init): Use $testsuitedir in search. (load_config): Use $testsuitedir instead of $srcdir. (load_tool_target_config): Likewise. Add variable "testsuitedir" for testsuite root directory. Add internal global variables "testbuilddir" and "testdir" for use by "testsuite file". Ensure that $testsuitedir, $testbuilddir, and $objdir also avoid duplicated path delimiters. Add warning if no tests are found and fallback method of searching $srcdir is used. Signed-off-by: Ben Elliston --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 35466ce..afdfbcc 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,12 @@ Changes since 1.6.2: computes a relative file name to a given destination from a given base. 4. The utility procedure 'grep' now accepts a '-n' option that includes line numbers in the output, consistent with GNU grep. +5. A new 'testsuite' library procedure is provided for retrieving or + providing information about the current testsuite. Initially, the + 'testsuite file' command returns an absolute file name specified + relative to either the testsuite source or object trees. This + enables testsuites to not have to access the $subdir internal + DejaGnu variable. Changes since 1.6.1: -- cgit v1.1