Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-06-19 | Revise stty settings used in testsuiteHEADmaster | Jacob Bachmeyer | 4 | -5/+20 | |
2024-04-13 | Update web site addresses in manual | Jacob Bachmeyer | 2 | -3/+10 | |
2023-12-13 | Update ChangeLog after installing patches | Jacob Bachmeyer | 1 | -0/+26 | |
2023-12-13 | Harmonise test execution reporting across protocols | Maciej W. Rozycki | 5 | -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-12 | Use `test_timeout' consistently across protocols | Maciej W. Rozycki | 6 | -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-12 | Set `testcase_timeout' earlier on in `gdb_comm_load' | Maciej W. Rozycki | 1 | -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-12 | Do not set `test_timeout' in `unix_load' | Maciej W. Rozycki | 1 | -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-22 | Document the grand totals reported by report-card tool | Jacob Bachmeyer | 2 | -1/+14 | |
2023-11-07 | Fix tests that attempt to determine if target_alias has been set | Jacob Bachmeyer | 2 | -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-20 | Fix handling of lists given as command-line parameters | Jacob Bachmeyer | 3 | -4/+20 | |
2023-04-20 | Change argument lists in option tests to use braced list notation | Jacob Bachmeyer | 2 | -21/+26 | |
2023-04-18 | Tighten --objdir option test | Jacob Bachmeyer | 2 | -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-20 | Change summary totals emitted by dejagnu.h for consistency | Jacob Bachmeyer | 3 | -3/+8 | |
2022-12-20 | Add support for reporting errors and warnings in dejagnu.h | Jacob Bachmeyer | 7 | -1/+101 | |
2022-12-20 | Add support for errors and warnings in the unit test protocol | Jacob Bachmeyer | 6 | -3/+51 | |
2022-12-20 | Add tests for result conversion after errors | Jacob Bachmeyer | 3 | -22/+53 | |
2022-11-30 | Rename libdejagnu test driver | Jacob Bachmeyer | 2 | -0/+3 | |
The previous name was confusingly similar to the test programs. | |||||
2022-11-30 | Document the recent C++ API improvements and the rest of the C++ API | Jacob Bachmeyer | 2 | -13/+62 | |
2022-11-30 | Add global TestState object in dejagnu.h | Jacob Bachmeyer | 2 | -0/+3 | |
2022-11-30 | Avoid spurious reinitialization in TestState | Jacob Bachmeyer | 2 | -1/+9 | |
2022-11-30 | Revise generation of "END" messages in dejagnu.h | Jacob Bachmeyer | 2 | -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-30 | Move C++ internals to prefixed names in dejagnu.h | Jacob Bachmeyer | 2 | -19/+28 | |
Also tidy the TestState constructor. | |||||
2022-11-30 | Eliminate global buffer in dejagnu.h | Jacob Bachmeyer | 2 | -34/+52 | |
2022-11-30 | Move unit test summary counters into global struct in dejagnu.h | Jacob Bachmeyer | 2 | -53/+69 | |
2022-11-30 | Document use of "DG_" and "DG__" prefixes in dejagnu.h | Jacob Bachmeyer | 2 | -9/+24 | |
2022-11-29 | Add tests for mixed C/C++ unit test library usage | Jacob Bachmeyer | 5 | -3/+111 | |
2022-11-29 | Add comment in libdejagnu test driver that the framework tests are elsewhere | Jacob Bachmeyer | 2 | -0/+11 | |
2022-11-29 | Remove old unit test program | Jacob Bachmeyer | 5 | -197/+14 | |
2022-11-29 | Add tests for C++ unit test library | Jacob Bachmeyer | 5 | -7/+107 | |
2022-11-29 | Align C++ TestState::totals() with C totals() | Jacob Bachmeyer | 2 | -0/+3 | |
2022-11-29 | Add NOTE function to C++ unit test API | Jacob Bachmeyer | 3 | -0/+16 | |
2022-11-29 | Fix incorrect documentation | Jacob Bachmeyer | 2 | -4/+12 | |
2022-11-28 | Document the dejagnu.h functions for the UNSUPPORTED status | Jacob Bachmeyer | 2 | -0/+19 | |
2022-11-28 | Remove wait() function in dejagnu.h to resolve PR59586 | Jacob Bachmeyer | 2 | -32/+10 | |
2022-11-28 | Update DejaGnu internal testsuite for changes to unit test protocol | Jacob Bachmeyer | 3 | -0/+11 | |
2022-11-28 | Add UNSUPPORTED test result to DejaGnu unit test protocol | Jacob Bachmeyer | 6 | -11/+61 | |
2022-11-28 | Add test for NOTE message type | Jacob Bachmeyer | 2 | -1/+6 | |
2022-11-26 | Add tests for C unit test library | Jacob Bachmeyer | 5 | -9/+251 | |
2022-11-26 | Fix miscounting of expected failures in C unit test API | Jacob Bachmeyer | 2 | -2/+8 | |
2022-11-26 | Add explicit end-of-test marker to DejaGnu unit test protocol | Jacob Bachmeyer | 4 | -8/+29 | |
2022-10-04 | Buffer test results in case the pruning callback aborts the test | Jacob Bachmeyer | 2 | -8/+27 | |
2022-10-04 | Add regression test for PR58065 | Jacob Bachmeyer | 1 | -1/+7 | |
2022-10-04 | Add lib/dg.exp unit tests for skipping files by callback | Jacob Bachmeyer | 2 | -1/+41 | |
2022-10-01 | Add lib/dg.exp unit tests for xfail by target | Jacob Bachmeyer | 1 | -5/+35 | |
2022-10-01 | Add lib/dg.exp unit tests for skipping files by target | Jacob Bachmeyer | 2 | -4/+55 | |
2022-10-01 | Avoid needless errors in internal unit test infrastructure | Jacob Bachmeyer | 2 | -4/+9 | |
2022-10-01 | Add unit tests with explicit line numbers for lib/dg.exp | Jacob Bachmeyer | 2 | -0/+18 | |
2022-09-30 | Add initial unit tests for lib/dg.exp | Jacob Bachmeyer | 3 | -1/+193 | |
2022-09-29 | Add initial mockvfs support for internal unit tests | Jacob Bachmeyer | 2 | -0/+267 | |
2022-09-26 | Allow internal unit test names to contain forward slash | Jacob Bachmeyer | 2 | -1/+6 | |