aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-09-23Work around bug in AIX 7.1 awk in report card toolHEADmasterJacob Bachmeyer2-1/+9
2024-09-18Add Zsh compatibility prologue to scriptsJacob Bachmeyer3-0/+21
This dance has minimal impact on other shells but is needed for the auxiliary command launcher tests to pass with Zsh. Also including it in the main runtest launcher script should not hurt.
2024-09-18Search for a POSIX shell in dejagnu auxiliary command launcherJacob Bachmeyer2-7/+33
2024-09-18Improve search for POSIX awk in dejagnu auxiliary launcherJacob Bachmeyer2-16/+30
2024-09-18Fix shellcheck warningsJacob Bachmeyer3-3/+16
2024-09-18Fix spurious output in help messages for auxiliary toolsJacob Bachmeyer2-2/+7
2024-09-18Use multipass if LAUNCHER_SHELLS is set on command lineJacob Bachmeyer2-0/+11
This is primarily for DejaGnu development, and allows the dejagnu(1) script to be easily tested under a variety of shells.
2024-09-18Add option for testing dejagnu auxiliary launcher with specified shellJacob Bachmeyer2-2/+11
2024-09-12Change #! lines in launcher scriptsJacob Bachmeyer3-2/+8
The Autoconf manual recommends the use of a space on #! lines.
2024-09-06Fix reading of user login nameJacob Bachmeyer2-22/+29
Apparently DejaGnu had never before been run in an environment where whoami(1) did not work, as the catch commands here did not actually catch a failure. The code here has also been cleaned up into a more straightforward form that eliminates an unneeded temporary variable.
2024-09-03Tidy last stragglers omitted due to various oversightsJacob Bachmeyer2-8/+6
These were found with "grep -R Franklin *" at the top of the sources.
2024-09-03Tidy remaining license notices not fixed with automationJacob Bachmeyer9-22/+69
These varied, with some being in mixed style and others incomplete.
2024-09-03Update most license notices to refer to WWW addressJacob Bachmeyer144-572/+496
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.
2024-09-03Tidy license notices for files that should be part of DejaGnuJacob Bachmeyer2-4/+8
2024-09-03Tidy whitespace before updating license noticesJacob Bachmeyer6-30/+31
This commit also fixes a missing separator line in autogen.sh.
2024-08-14Adjust patterns for the GNU linker in prune_warningsJacob Bachmeyer2-4/+13
2024-06-19Revise stty settings used in testsuiteJacob Bachmeyer4-5/+20
2024-04-13Update web site addresses in manualJacob Bachmeyer2-3/+10
2023-12-13Update ChangeLog after installing patchesJacob Bachmeyer1-0/+26
2023-12-13Harmonise test execution reporting across protocolsMaciej W. Rozycki5-1/+10
Report both the full command and the timeout value consistently across various communication protocols, and always always output the report to the log file, so that procedures do not have to be locally overridden to extract this data where needed to reproduce an issue by hand. * baseboards/qemu.exp (qemu_load): Add execution reporting. * config/gdb-comm.exp (gdb_comm_load): Likewise. * config/gdb_stub.exp (gdb_stub_load): Likewise. * config/sim.exp (sim_load): Likewise. * config/unix.exp (unix_load): Report full command in addition to timeout value.
2023-12-12Use `test_timeout' consistently across protocolsMaciej W. Rozycki6-7/+25
The `test_timeout' global parameter was added with commit 73db65f53795, however for the `unix' protocol only and then only in the local case. Update the remote case of the `unix' protocol, other protocols that use various timeout sources, and the `qemu' board to take any `test_timeout' setting into account as appropriate. Amend the manual accordingly. * baseboards/qemu.exp (qemu_load): Respect global `test_timeout' setting. * config/gdb-comm.exp (gdb_comm_load): Likewise. * config/gdb_stub.exp (gdb_stub_load): Likewise. * config/sim.exp (sim_load): Likewise. * config/unix.exp (unix_load): Likewise, in the remote case. * doc/dejagnu.texi (Local configuration file): Update accordingly.
2023-12-12Set `testcase_timeout' earlier on in `gdb_comm_load'Maciej W. Rozycki1-6/+7
Move the setting of `testcase_timeout' earlier on in `gdb_comm_load'. It will be needed for reporting later on. No semantics change. * config/gdb-comm.exp (gdb_comm_load): Set `testcase_timeout' earlier on.
2023-12-12Do not set `test_timeout' in `unix_load'Maciej W. Rozycki1-4/+5
The `test_timeout' global parameter is expected to be optionally set by a board description file and then taken into account by `unix_load' to override the default of 300. However not only the procedure checks for the override but it sets the global parameter to the default as well if not present. This might make a minuscule TCL interpreter execution time reduction, but seems rather awkward from the programming style's point of view, and may cause undesired effects if the parameter is referred elsewhere. Remove the setting of the global parameter then, while retaining its semantics. * config/unix.exp (unix_load): Don't ever set `test_timeout', just use it locally.
2023-11-22Document the grand totals reported by report-card toolJacob Bachmeyer2-1/+14
2023-11-07Fix tests that attempt to determine if target_alias has been setJacob Bachmeyer2-2/+16
The problem with using [info exists target_alias] is that target_alias is unconditionally initialized to the empty string and therefore always exists.
2023-04-20Fix handling of lists given as command-line parametersJacob Bachmeyer3-4/+20
2023-04-20Change argument lists in option tests to use braced list notationJacob Bachmeyer2-21/+26
2023-04-18Tighten --objdir option testJacob Bachmeyer2-2/+8
Previously, this test did not ensure that the command-line value for --objdir was in force immediately after loading the local init file. This allowed ::dejagnu::command_line::restore_cmd_vars to do nothing, yet the test would still pass.
2022-12-20Change summary totals emitted by dejagnu.h for consistencyJacob Bachmeyer3-3/+8
2022-12-20Add support for reporting errors and warnings in dejagnu.hJacob Bachmeyer7-1/+101
2022-12-20Add support for errors and warnings in the unit test protocolJacob Bachmeyer6-3/+51
2022-12-20Add tests for result conversion after errorsJacob Bachmeyer3-22/+53
2022-11-30Rename libdejagnu test driverJacob Bachmeyer2-0/+3
The previous name was confusingly similar to the test programs.
2022-11-30Document the recent C++ API improvements and the rest of the C++ APIJacob Bachmeyer2-13/+62
2022-11-30Add global TestState object in dejagnu.hJacob Bachmeyer2-0/+3
2022-11-30Avoid spurious reinitialization in TestStateJacob Bachmeyer2-1/+9
2022-11-30Revise generation of "END" messages in dejagnu.hJacob Bachmeyer2-4/+53
The "END" message is now produced upon normal exit, without requiring that the totals() function or method be called. The C++ API now emits totals only when the last TestState object in the program is destroyed, instead of every time a TestState object is destroyed. This required adding code to track the number of live TestState objects.
2022-11-30Move C++ internals to prefixed names in dejagnu.hJacob Bachmeyer2-19/+28
Also tidy the TestState constructor.
2022-11-30Eliminate global buffer in dejagnu.hJacob Bachmeyer2-34/+52
2022-11-30Move unit test summary counters into global struct in dejagnu.hJacob Bachmeyer2-53/+69
2022-11-30Document use of "DG_" and "DG__" prefixes in dejagnu.hJacob Bachmeyer2-9/+24
2022-11-29Add tests for mixed C/C++ unit test library usageJacob Bachmeyer5-3/+111
2022-11-29Add comment in libdejagnu test driver that the framework tests are elsewhereJacob Bachmeyer2-0/+11
2022-11-29Remove old unit test programJacob Bachmeyer5-197/+14
2022-11-29Add tests for C++ unit test libraryJacob Bachmeyer5-7/+107
2022-11-29Align C++ TestState::totals() with C totals()Jacob Bachmeyer2-0/+3
2022-11-29Add NOTE function to C++ unit test APIJacob Bachmeyer3-0/+16
2022-11-29Fix incorrect documentationJacob Bachmeyer2-4/+12
2022-11-28Document the dejagnu.h functions for the UNSUPPORTED statusJacob Bachmeyer2-0/+19
2022-11-28Remove wait() function in dejagnu.h to resolve PR59586Jacob Bachmeyer2-32/+10