summaryrefslogtreecommitdiffstats
path: root/tester (follow)
Commit message (Collapse)AuthorAgeFilesLines
* test, rtemstoolkit: Fix regx escape errors on python 3.12HEADmasterChris Johns2024-04-222-3/+3
|
* tester/console: Fix restart regx checkChris Johns2023-12-141-1/+1
| | | | | | The fix to the TFTP timeout has a simple bug. Updates #4959
* tester/tftp: Add a session timeoutChris Johns2023-11-085-36/+110
| | | | | | | | - Fix listener done state - Finish open with the state as finished Closes #4959
* rtems-tools: stty rename / spelling bug.Sam Price2023-09-111-1/+1
| | | | This patch fixes a spelling/rename mistake in rtems-tools.
* tester/sis: Use the RTEMS SIS commandChris Johns2023-08-212-5/+3
| | | | | | | Make sis and sis-run the same as there is no SIS support in gdb anymore. Closes #4945
* tester: Use shorter SHA512 encodingSebastian Huber2023-08-111-1/+2
| | | | | Encode the SHA512 digest in base64urlsafe instead of a hex string to reduce the report size.
* rtemstoolkit: Fix shlex.split to use posix mode and add unit test for pipe ↵Muhammad Sulthan Mazaya2023-06-211-1/+1
| | | | | | | | | operation Turns out subprocess.Popen operates on posix mode. Also, there is an issue with previous implementation of pipe command that is fixed by Chris. Now, it can also accepts command in form of a string. The unit test for that is added via this patch.
* tester/rt: use shlex.split to split command argsMuhammad Sulthan Mazaya2023-06-211-1/+2
| | | | | | | | | | | | The regular split-by-space function used to split command arguments creates compatibility issues with many shell command syntaxes. A specific example is the handling of string arguments, as shown below: %define renode_args -e start_opts -e "s %{bsp_resc_script}" Thus, it is changed to use shlex.split instead. It splits the command arguments using shell-like syntax. More about shlex module here: https://docs.python.org/3/library/shlex.html
* tester/bsps: change stm32h7-stlink to handle SIGTRAP as a nostopKarel Gardas2023-03-271-0/+1
| | | | | | | | | | | | | The ST-Link GDB server throws spurious SIGTRAP into the GDB sometimes. When this happen, the gdb exits immediately as it's run in batch/script manner. Unfortunately this may be while testcase itself is still running and does not have enough time to print all the required output. Such testcase is then marked as failed although otherwise it may run well to its end. Adding handle of SIGTRAP as a nostop means that GDB will not exit after receiving SIGTRAP but rather be forced to continue as nothing would happen and the running testcase will have a chance to finish its business.
* RISC-V: Test rv32i and rv32imafdc on QEMUHesham Almatary2023-02-082-0/+74
| | | | Updates #4775
* RISC-V Default rv64* BSPs to medany and 0x80000000 start addressHesham Almatary2023-02-088-121/+7
| | | | | | To run on both QEMU and Spike Updates #4775
* fix _mkdir parameter error.zhengxiaojun2022-11-281-1/+1
| | | | | | fix _mkdir parameter error. Signed-off-by: zhengxiaojun <jameszxj at gmail.com>
* tester: Check for begin/end of testSebastian Huber2022-10-071-3/+3
| | | | | Check for "BEGIN OF TEST" and "END OF TEST" to not use other information blocks such as "END OF GCOV" to determine the test status.
* tester: Load RISC-V image using -bios and increase memory sizeDaniel Cederman2022-08-192-2/+4
| | | | | This avoids overlapping the RTEMS image with the builtin opensbi image and the location of the fdt.
* tester: Add option to specify how to load image with QEMUDaniel Cederman2022-08-191-1/+4
| | | | Defaults to "-kernel", but can be changed to, for example, "-bios".
* tester: Sort test reports for JSON/YAMLSebastian Huber2022-08-081-1/+1
| | | | | | This makes the reports more git friendly. Update 4671.
* tester: Normalize JSON and YAML reportsSebastian Huber2022-07-261-151/+42
| | | | | | | Report the same data in JSON and YAML reports. Do not report redundant information. Update 4671.
* tester: Fix string representationSebastian Huber2022-07-261-2/+2
|
* tester: Make the SIS time limit user configurableChris Johns2022-07-0610-26/+89
| | | | | | Let the user set the test time limit in a config file to provide site specific overrides. Optimisation can effect the time a test may take to run.
* tester/bsps: add stm32h7-stlink family configurationKarel Gardas2022-05-301-0/+43
| | | | Sponsored-By: Precidata
* tester/gdb: allow kill on the test endKarel Gardas2022-05-291-0/+1
| | | | Sponsored-By: Precidata
* tester: Fix target_start_regexSebastian Huber2022-01-144-4/+4
| | | | | It seems that the text used match with the regular expression does not start with a line in general.
* tester: Fix target_start_regexSebastian Huber2022-01-134-4/+4
|
* tester/exe: Fix adjust timeouts by the step sizeSebastian Huber2022-01-101-3/+3
| | | | | | | | | | | | | The bug was introduced by cfd5aa41e847752cd98cde65515df7ce45ff9665. The code monitors the test and generates a timeout test failure. There are two layers of timeout, one for output and the other for a test running too long. The test needs to generate some output within the first timeout period and the second timeout detects if the test has run too long. The first timeout detects a target has locked up. The second is for a test looping generating output. With exe type tests the output is buffered in a separate thread.
* ReportsBase: Change raw pointer to unique_ptrRyan Long2021-12-221-41/+36
| | | | | | | | Replaced raw pointer used with ReportsBase-derived classes to make code cleaner and make it to where pointers do not have to be manually deleted. Closes #4376
* TraceConverter.cc: Fix Uncaught exception issueRyan Long2021-12-151-3/+27
| | | | | | CID 1471639: Uncaught exception Closes #4501
* SymbolTable.cc: Fix formattingRyan Long2021-12-151-32/+38
|
* ObjdumpProcessor.h: Fix formattingRyan Long2021-12-151-12/+10
|
* ObjdumpProcessor.cc: Fix formattingRyan Long2021-12-151-86/+111
|
* ConfigFile: Fix formattingRyan Long2021-12-152-37/+37
|
* TargetFactory.cc: Fix formattingRyan Long2021-12-151-11/+9
|
* ObjdumpProcessor.cc: Fix formattingRyan Long2021-12-151-28/+36
|
* ObjdumpProcessor: Convert to C++Ryan Long2021-12-102-15/+18
|
* ConfigFile: Convert to C++Ryan Long2021-12-102-51/+33
|
* Target: Convert to C++Ryan Long2021-12-1018-92/+103
|
* TargetFactory.cc: Convert to C++Ryan Long2021-12-101-3/+3
|
* TraceList.cc: Convert from C to C++Ryan Long2021-12-071-8/+6
|
* TraceConverter.cc: Fix formattingRyan Long2021-12-071-19/+21
|
* TraceConverter.cc: Convert to C++Ryan Long2021-12-071-20/+19
|
* Explanations.h: Fix formattingRyan Long2021-12-071-10/+4
|
* Explanations.cc: Fix formattingRyan Long2021-12-071-25/+26
|
* Explanations: Convert to C++Ryan Long2021-12-072-7/+7
|
* ExecutableInfo.h: Fix formattingRyan Long2021-12-071-8/+8
|
* ExecutableInfo.cc: Fix formattingRyan Long2021-12-071-45/+58
|
* TraceConverter.cc: Add final catch for exceptionsRyan Long2021-11-301-3/+13
| | | | | | CID 1471639: Add catch for exception Closes #4501
* TraceConverter.cc: Add catch for exceptionRyan Long2021-11-041-4/+18
| | | | | | CID 1471639: Add catch for exception Closes #4501
* rtems-bsp-builder: Fix mail supportAlex White2021-10-291-1/+16
| | | | | This fixes a problem with mailer options support that occurred because check.py uses argparse.ArgumentParser instead of tester.rt.options.
* TraceConverter.cc: Add catch for exceptionRyan Long2021-10-131-16/+29
| | | | | | CID 1471639: Add catch for exception Closes #4501
* tester: Fix rtems-test installationSebastian Huber2021-10-131-1/+2
|
* tester: Add realview_pbx_a9_qemu_smp configurationSebastian Huber2021-10-131-0/+38
| | | | | Add a configuration for the arm/realview_pbx_a9_qemu BSP to run the tests if it was built with SMP support enabled.