aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-05-21DejaGnu unit testing API for PythonRob Savoye1-0/+88
2020-05-21Explicitly list optional arguments instead of simply copying the Tcl ↵Jacob Bachmeyer2-11/+24
argument list for the remote_exec procedure.
2020-05-21Set sum_file to empty string instead of opening a temporary file named .tmp.Jacob Bachmeyer3-4/+7
2020-05-21Fix internal testsuite stubs to reflect previous changes.Jacob Bachmeyer3-38/+47
2020-05-21Use runtest_file_p to honor requests to run only some library tests.Jacob Bachmeyer2-5/+10
2020-05-18Add entry and FIXMERob Savoye2-0/+9
2020-05-18Add hook to put branch and evision in the version for development builds.Rob Savoye2-1/+8
2020-05-15add entryRob Savoye1-0/+4
2020-05-15Update Copyright datesRob Savoye18-18/+18
2020-05-15Update Copyright datesRob Savoye3-3/+6
2019-03-08 * runtest.exp (search_and_load_file): Join the directory andAndrew Burgess2-6/+12
filename once using 'file join'. Signed-off-by: Ben Elliston <bje@gnu.org>
2019-01-24 * doc/dejagnu.texi: Refill paragraphs and normalize inter-sentenceJacob Bachmeyer2-960/+992
spacing so the Emacs move-by-sentence commands work correctly. Signed-off-by: Ben Elliston <bje@gnu.org>
2019-01-23 * doc/dejagnu.texi: Replace "config file" with "configurationBen Elliston2-34/+39
file" throughout.
2019-01-23 * doc/dejagnu.texi (Command line option variables): Improve tableJacob Bachmeyer2-19/+13
formatting to fix overlapping columns and revise text slightly. Signed-off-by: Ben Elliston <bje@gnu.org>
2019-01-23 * doc/dejagnu.texi (Global config file): Change example to use theJacob Bachmeyer2-8/+13
Tcl "switch" command instead of the deprecated "case" command. Signed-off-by: Ben Elliston <bje@gnu.org>
2019-01-20Bump version.texi.Ben Elliston1-1/+1
2019-01-12 * doc/dejagnu.texi (runtest_file_p procedure): Fix description ofJacob Bachmeyer2-2/+7
the structure of the "runtests" argument. Signed-off-by: Ben Elliston <bje@gnu.org>
2019-01-12 * doc/dejagnu.texi: Various documentation fixes.Ben Elliston2-14/+19
2019-01-10 * testsuite/runtest.libs/clone_output.test: Use new test harnessJacob Bachmeyer4-28/+142
for verifying output of clone_output. * testsuite/runtest.libs/default_procs.tcl (send_error): Roll into template using store_test_output. (send_log): Likewise. (send_user): Likewise. (clear_test_output): New proc. (store_test_output): New proc. * lib/framework.exp (clone_output): Actually send errors to the error stream; bug found while improving testsuite. Signed-off-by: Ben Elliston <bje@gnu.org>
2019-01-10 * testsuite/runtest.libs/libs.exp (process_test): Handle blankJacob Bachmeyer2-0/+6
lines from child process correctly. Signed-off-by: Ben Elliston <bje@gnu.org>
2019-01-02 * NEWS: Document report card.Jacob Bachmeyer12-33/+1262
* Makefile.am (clean-local): Add target. (clean-local-check): Add target; mark as PHONY. (commands_DATA): Add "report-card" scripts. (dist_man_MANS): Add dejagnu-report-card.1 and split. (DEJATOOL): Add "report-card" tool. (TESTSUITE_FILES): Add testsuite for "report-card" tool. * commands/report-card.awk: New command script. * doc/dejagnu.texi (Invoking dejagnu report card): New node. * doc/dejagnu-report-card.1: New man page. * testsuite/lib/bohman_ssd.exp: New file. * testsuite/lib/report-card.exp: New file. * testsuite/report-card.all/onetest.exp: New file. * testsuite/report-card.all/passes.exp: New file. Signed-off-by: Ben Elliston <bje@gnu.org>
2019-01-02 * Makefile.am (DISTCLEANFILES): Don't use this.Ben Elliston3-3/+9
(CLEANFILES): Use this instead. * Makefile.in: Regenerate.
2019-01-01 * configure.ac: Abort if AWK is not installed.Ben Elliston3-0/+13
* configure: Regenerate.
2019-01-01 * config.guess: Update to latest version.Ben Elliston3-20/+29
* config.sub: Likewise.
2019-01-01 * configure.ac: Add AC_PROG_AWK check.Ben Elliston3-0/+48
* configure: Regenerate.
2018-12-29 * dejagnu: Avoid use of semicolon as sed(1) command separator.Jacob Bachmeyer2-1/+6
POSIX does not clearly require sed(1) to support that feature. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-28 * testsuite/lib/util-defs.exp: Whitespace clean up.Jacob Bachmeyer2-5/+9
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-21 PR 33817Jacob Bachmeyer3-5/+26
* dejagnu: Improve command parsing to fix bug. Previously, the documented equivalence between "multi word command" and "multi-word-command" did not hold if no arguments were given. * testsuite/launcher.all/command.exp: Add tests. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-21Update date.Ben Elliston1-1/+1
2018-12-20 * NEWS: Add item for new dejagnu command.Ben Elliston2-0/+6
2018-12-20 * Makefile.am (EXTRA_DIST): Remove $(XML).Ben Elliston3-2/+7
* Makefile.in: Regenerate.
2018-12-20 * Makefile.am (EXTRA_DIST): Add "dejagnu" launcher script andJacob Bachmeyer19-42/+1449
contents of $(commands_DATA). (bin_SCRIPTS): Add "dejagnu" launcher script. (commandsdir): Installation directory for "dejagnu" subcommands is $(pkgdatadir)/commands. (commands_DATA): New, contains "commands/help.sh" as initial item. (TESTSUITE_FILES): Add testsuite for same. (DEJATOOL): Add "launcher" to list of tools to test. (dist_man_MANS): Add man pages for "dejagnu" and "dejagnu help". * doc/dejagnu.texi (Running other DejaGnu commands): New chapter. (Invoking dejagnu): New node for dejagnu(1) launcher script. (Invoking dejagnu help): New node. * doc/dejagnu.1: New man page. * doc/dejagnu-help.1: New man page. * dejagnu: New script. * commands/help.sh: New dejagnu subcommand for reading manpages. * testsuite/launcher.all/command.exp: New file. * testsuite/launcher.all/command/commands/bar-baz.awk: New file. * testsuite/launcher.all/command/commands/bar.awk: New file. * testsuite/launcher.all/command/commands/bar.sh: New file. * testsuite/launcher.all/command/commands/baz-quux.gawk: New file. * testsuite/launcher.all/command/commands/foo.sh: New file. * testsuite/launcher.all/command/commands/foo.tcl: New file. * testsuite/launcher.all/help.exp: New file. * testsuite/launcher.all/interp.exp: New file. * testsuite/launcher.all/verbose.exp: New file. * testsuite/lib/launcher.exp: New file. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-20 * doc/dejagnu.texi (bt procedure): Fix Info links.Jacob Bachmeyer2-2/+6
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-17 * doc/dejagnu.texi (Board config file): Fix up @ref.Ben Elliston2-3/+29
(Command line option variables): Likewise. (Debugging Procedures): Add an entry for 'bt' command.
2018-12-16 * runtest.exp: Move processing of -V|--version option to firstJacob Bachmeyer2-8/+13
pass through command line arguments instead of delaying it. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-16 * Makefile.am (RUNTESTDEFAULTFLAGS): Remove; no longer needed.Jacob Bachmeyer3-4/+6
* Makefile.in: Regenerate. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-15 * doc/dejagnu.texi (telnet Procedure): Remove old node.Ben Elliston2-121/+14
(rlogin Procedure): Likewise. (rsh Procedure): Likewise. (tip Procedure): Likewise. (kermit Procedure): Likewise. (list_targets Procedure): Likewise. (prune_system_crud): Likewise.
2018-12-15 * testsuite/runtest.libs/default_procs.tcl (send_error): New stub.Jacob Bachmeyer10-138/+109
(send_user): Likewise. * testsuite/runtest.libs/clone_output.test: Remove unneeded global variable link at top-level. * testsuite/runtest.libs/utils.test: Adjust absolute path to config.status. * testsuite/runtest.libs/clone_output.test: Use preset srcdir, subdir, and objdir variables instead of extracting them from argv. Remove setval.tmp, which is now obsolete. * testsuite/runtest.libs/config.test: Likewise. * testsuite/runtest.libs/remote.test: Likewise. * testsuite/runtest.libs/target.test: Likewise. * testsuite/runtest.libs/testsuite_file.test: Likewise. * testsuite/runtest.libs/utils.test: Likewise. * testsuite/lib/libsup.exp (make_defaults_file): Replace this .. (send_defaults): .. with this. (start_expect): Remove redundant code. * testsuite/runtest.libs/libs.exp: Eliminate setval.tmp file. Remove unneeded test for EXPECT global variable. Use one Expect subprocess to run all test cases. (process_test): Redesign to use Expect subprocess and to use throwaway slave interpreters for running test cases. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-15 * testsuite/lib/runtest.exp (runtest_start): Remove.Jacob Bachmeyer2-16/+24
Move the sanity check in runtest_start to top-level and similarly check to ensure that $EXPECT can be found. Make failure of either sanity check an immediate fatal error. Improve error messages for sanity checks to indicate which critical tool was not found. Remove useless 'global RUNTEST' command at top-level. (runtest_version): Brace 'if' expression. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-15 * testsuite/lib/runtest.exp: Use 'testsuite file' to locate theJacob Bachmeyer2-6/+7
default runtest executable instead of implicitly searching PATH. Remove unused RUNTESTFLAGS Tcl variable. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-15 * testsuite/lib/runtest.exp (runtest_start): Remove unused globalJacob Bachmeyer2-6/+5
variable links. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-14 * lib/framework.exp (log_summary): Remove "testcnt" mechanism.Jacob Bachmeyer3-35/+6
* testsuite/lib/libsup.exp: Remove obsolete "testcnt" variable. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-12 * config/gdb-comm.exp, config/gdb_stub.exp, config/vxworks.exp,Ben Elliston11-40/+50
lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/rlogin.exp, lib/telnet.exp, runtest.exp, testsuite/lib/libsup.exp: Simplify some regular expressions in constant strings by placing them inside braces instead of quotes. This allows one level of backslash quoting to be removed.
2018-12-12Remove new stray entries.Ben Elliston1-17/+0
2018-12-12 * doc/dejagnu.texi: Acknowledge contributions to the manual fromBen Elliston2-2/+24
others.
2018-12-11 * testsuite/runtest.all/libs.exp: Use "testsuite file" command.Jacob Bachmeyer21-145/+273
* testsuite/runtest.all/load_lib.exp: Likewise. * testsuite/runtest.all/stats.exp: Likewise. * testsuite/runtest.all/stats.exp: Write local init file as "stats-init.exp" for status summary tests. Use --local_init option to runtest to load that file instead of site.exp and move the inner test module to a nested testsuite. * testsuite/runtest.all/stats-sub.exp: Move file from here .. * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp: .. to here. * testsuite/runtest.all/options.exp: Clean up whitespace in file. Wrap lines in test list and move short items to beginning of list. Write local init file as "options-init.exp" for options tests. Use --local_init option with nested runtest to load that file instead of site.exp; also create an empty nested testsuite. Local init file arranges for inner runtest processes to run in a subdirectory in the object tree to eliminate filename clashes. Set tmpdir if not already set and remove entire temporary directory after running options tests. * testsuite/runtest.all/options/testsuite/null.test/null.exp: New. * testsuite/runtest.all/clone_output.test: Move from here .. * testsuite/runtest.libs/clone_output.test: .. to here. * testsuite/runtest.all/config.test: Move from here .. * testsuite/runtest.libs/config.test: .. to here. * testsuite/runtest.all/default_procs.tcl: Move from here .. * testsuite/runtest.libs/default_procs.tcl: .. to here. * testsuite/runtest.all/libs.exp: Move from here .. * testsuite/runtest.libs/libs.exp: .. to here. * testsuite/runtest.all/load_lib.exp: Move from here .. * testsuite/runtest.libs/load_lib.exp: .. to here. * testsuite/runtest.all/remote.test: Move from here .. * testsuite/runtest.libs/remote.test: .. to here. * testsuite/runtest.all/target.test: Move from here .. * testsuite/runtest.libs/target.test: .. to here. * testsuite/runtest.all/testsuite_file.test: Move from here .. * testsuite/runtest.libs/testsuite_file.test: .. to here. * testsuite/runtest.all/topdir/subdir1/subfile1: Move from here .. * testsuite/runtest.libs/topdir/subdir1/subfile1: .. to here. * testsuite/runtest.all/topdir/subdir1/subfile2: Move from here .. * testsuite/runtest.libs/topdir/subdir1/subfile2: .. to here. * testsuite/runtest.all/topdir/subdir1/subsubdir1/subsubfile1: Move from here .. * testsuite/runtest.libs/topdir/subdir1/subsubdir1/subsubfile1: .. to here. * testsuite/runtest.all/topdir/subdir2/subfile2: Move from here .. * testsuite/runtest.libs/topdir/subdir2/subfile2: .. to here. * testsuite/runtest.all/utils.test: Move from here .. * testsuite/runtest.libs/utils.test: .. to here. * testsuite/runtest.libs/utils.test: Update references to "runtest.all". * testsuite/runtest.all/options.exp: Move from here .. * testsuite/runtest.main/options.exp: .. to here. * testsuite/runtest.all/options/testsuite/null.test/null.exp: Move from here .. * testsuite/runtest.main/options/testsuite/null.test/null.exp: .. to here. * testsuite/runtest.all/stats.exp: Move from here .. * testsuite/runtest.main/stats.exp: .. to here. * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp: Move from here .. * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp: .. to here. * Makefile.am (DISTCLEANFILES): Update for testsuite improvements. (TESTSUITE_FILES): Update to reflect testsuite reorganization. * Makefile.in: Regenerate. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-11 * doc/dejagnu.texi: Clean up whitespace. Some indented examplesJacob Bachmeyer2-163/+171
were changed to use the Texinfo '@ ' command (yes, a space character) to preserve correct indentation. The '@ ' command is treated as a single space by Tex and makeinfo, but prevents Emacs from complaining about indentation using spaces instead of tabs. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-11 * doc/dejagnu.texi (getdirs procedure): Document hard-codedJacob Bachmeyer2-2/+16
directory exclusions by name in this procedure. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-10 * doc/dejagnu.texi (getdirs procedure): This procedure accepts TclBen Elliston2-3/+5
glob patterns, not "shell wildcard characters" per se.
2018-12-10 * doc/dejagnu.texi (istarget procedure): Remove stray @{.Ben Elliston2-1/+5