aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runtest.libs/clone_output.test
AgeCommit message (Collapse)AuthorFilesLines
2024-09-03Update most license notices to refer to WWW addressJacob Bachmeyer1-4/+3
The old GPL notice previously used in DejaGnu contained instructions to write to the FSF to request a copy of the GPL. Unfortunately, the FSF office has moved, and the FSF now recommends citing a URL as a more stable address from which users can obtain a copy of the GPL if needed. This patch was automated.
2020-10-02Minor fixup to put Emacs headers above copyright noticesJacob Bachmeyer1-1/+2
2020-10-02Add copyright noticesRob Savoye1-0/+17
2019-01-10 * testsuite/runtest.libs/clone_output.test: Use new test harnessJacob Bachmeyer1-17/+44
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>
2018-12-15 * testsuite/runtest.libs/default_procs.tcl (send_error): New stub.Jacob Bachmeyer1-10/+2
(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-11 * testsuite/runtest.all/libs.exp: Use "testsuite file" command.Jacob Bachmeyer1-0/+67
* 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>