Commit Graph

447 Commits

Author SHA1 Message Date
zhengxiaojun
df2d86ecda fix _mkdir parameter error.
fix _mkdir parameter error.

Signed-off-by: zhengxiaojun <jameszxj at gmail.com>
2022-11-28 10:16:12 +11:00
Sebastian Huber
203077030d tester: Check for begin/end of test
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.
2022-10-07 06:26:31 +02:00
Daniel Cederman
99cc1fb79a tester: Load RISC-V image using -bios and increase memory size
This avoids overlapping the RTEMS image with the builtin opensbi image
and the location of the fdt.
2022-08-19 16:14:35 +02:00
Daniel Cederman
a5d0291ccc tester: Add option to specify how to load image with QEMU
Defaults to "-kernel", but can be changed to, for example, "-bios".
2022-08-19 16:12:43 +02:00
Sebastian Huber
1cd476e155 tester: Sort test reports for JSON/YAML
This makes the reports more git friendly.

Update 4671.
2022-08-08 06:42:34 +02:00
Sebastian Huber
ef4b8c53f9 tester: Normalize JSON and YAML reports
Report the same data in JSON and YAML reports.  Do not report redundant
information.

Update 4671.
2022-07-26 14:31:32 +02:00
Sebastian Huber
e3a5912249 tester: Fix string representation 2022-07-26 13:43:37 +02:00
Chris Johns
3d54ccfaa5 tester: Make the SIS time limit user configurable
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.
2022-07-06 09:43:44 +10:00
Karel Gardas
ff36d6b42d tester/bsps: add stm32h7-stlink family configuration
Sponsored-By:	Precidata
2022-05-30 01:21:53 +02:00
Karel Gardas
43843b85fe tester/gdb: allow kill on the test end
Sponsored-By:	Precidata
2022-05-29 19:47:05 +02:00
Sebastian Huber
b8307aa287 tester: Fix target_start_regex
It seems that the text used match with the regular expression does not
start with a line in general.
2022-01-14 14:47:17 +01:00
Sebastian Huber
3f3249c0f7 tester: Fix target_start_regex 2022-01-13 16:55:49 +01:00
Sebastian Huber
f73627e364 tester/exe: Fix adjust timeouts by the step size
The bug was introduced by cfd5aa41e8.

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.
2022-01-10 13:55:23 +01:00
Ryan Long
8167ad2339 ReportsBase: Change raw pointer to unique_ptr
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
2021-12-22 08:41:26 -06:00
Ryan Long
c9aefbba45 TraceConverter.cc: Fix Uncaught exception issue
CID 1471639: Uncaught exception

Closes #4501
2021-12-15 10:25:39 -06:00
Ryan Long
366807c4a9 SymbolTable.cc: Fix formatting 2021-12-15 08:04:43 -06:00
Ryan Long
29f00bd971 ObjdumpProcessor.h: Fix formatting 2021-12-15 08:04:43 -06:00
Ryan Long
f5a3e8964f ObjdumpProcessor.cc: Fix formatting 2021-12-15 08:04:43 -06:00
Ryan Long
d7eccfd33b ConfigFile: Fix formatting 2021-12-15 08:04:43 -06:00
Ryan Long
877d83b57e TargetFactory.cc: Fix formatting 2021-12-15 08:04:43 -06:00
Ryan Long
082dea8220 ObjdumpProcessor.cc: Fix formatting 2021-12-15 08:04:43 -06:00
Ryan Long
2ddc3169ec ObjdumpProcessor: Convert to C++ 2021-12-10 11:05:16 -06:00
Ryan Long
7578f43da3 ConfigFile: Convert to C++ 2021-12-10 11:05:16 -06:00
Ryan Long
361e30450c Target: Convert to C++ 2021-12-10 11:05:16 -06:00
Ryan Long
fa95ae2dad TargetFactory.cc: Convert to C++ 2021-12-10 11:05:16 -06:00
Ryan Long
10d33a6333 TraceList.cc: Convert from C to C++ 2021-12-07 10:49:34 -06:00
Ryan Long
9fa892751b TraceConverter.cc: Fix formatting 2021-12-07 10:49:34 -06:00
Ryan Long
7fb212d71d TraceConverter.cc: Convert to C++ 2021-12-07 10:49:34 -06:00
Ryan Long
ad116b6559 Explanations.h: Fix formatting 2021-12-07 10:49:34 -06:00
Ryan Long
8cd3d1dd3f Explanations.cc: Fix formatting 2021-12-07 10:49:34 -06:00
Ryan Long
18759092e1 Explanations: Convert to C++ 2021-12-07 10:49:34 -06:00
Ryan Long
c62e9f17cb ExecutableInfo.h: Fix formatting 2021-12-07 10:49:34 -06:00
Ryan Long
0c0eec1ebd ExecutableInfo.cc: Fix formatting 2021-12-07 10:49:34 -06:00
Ryan Long
59ca889149 TraceConverter.cc: Add final catch for exceptions
CID 1471639: Add catch for exception

Closes #4501
2021-11-30 10:04:42 -06:00
Ryan Long
d1df4f6e02 TraceConverter.cc: Add catch for exception
CID 1471639: Add catch for exception

Closes #4501
2021-11-04 10:46:43 -05:00
Alex White
ba4648bf68 rtems-bsp-builder: Fix mail support
This fixes a problem with mailer options support that occurred because
check.py uses argparse.ArgumentParser instead of tester.rt.options.
2021-10-29 16:44:02 -05:00
Ryan Long
958aa5b805 TraceConverter.cc: Add catch for exception
CID 1471639: Add catch for exception

Closes #4501
2021-10-13 11:40:54 -05:00
Sebastian Huber
9b59f277f5 tester: Fix rtems-test installation 2021-10-13 15:23:42 +02:00
Sebastian Huber
a3943181a9 tester: Add realview_pbx_a9_qemu_smp configuration
Add a configuration for the arm/realview_pbx_a9_qemu BSP to run the tests if it
was built with SMP support enabled.
2021-10-13 15:16:55 +02:00
Ryan Long
234c19e847 TraceConverter.cc: Add catch for exception
CID 1471639: Uncaught exception

Closes #4501
2021-10-08 08:58:32 -05:00
Ryan Long
724505095a ReportsBase.cc: Add assert for member variables
The uncoveredRanges and uncoveredBranch member variables are allocated
as a pair. They are both either NULL or not NULL. Coverity does not know
this though, so this assert is added to ensure they are not NULL before
being dereferenced.

CID 1503710: Dereference after null check

Closes #4428
2021-10-07 09:32:10 -05:00
Ryan Long
4ca99d0066 TraceWriterQEMU.h: Fix formatting 2021-09-28 09:01:55 -05:00
Ryan Long
ce166f06c8 TraceReaderLogQEMU.h: Fix formatting 2021-09-28 09:01:55 -05:00
Ryan Long
c12fd2ba9a TraceWriterQEMU.cc: Fix formatting 2021-09-28 09:01:55 -05:00
Ryan Long
63ad1ae57f TraceReaderLogQEMU.cc: Fix formatting 2021-09-28 09:01:55 -05:00
Ryan Long
703c691a6d TraceWriter: Convert to C++ 2021-09-28 09:01:55 -05:00
Ryan Long
7c8b04db77 TraceReader: Convert to C++ 2021-09-28 09:01:55 -05:00
Ryan Long
c75f883c2c CoverageRanges.cc: Fix formatting 2021-09-28 09:01:55 -05:00
Ryan Long
247d39ac71 GcovFunctionData.cc: Initialize member variables
CID 1399640: Uninitialized pointer field

Closes #4432
2021-09-27 17:20:47 -05:00
Ryan Long
06a39db587 DesiredSymbols.h: Initialize symbolInfo
CID 1399627: Uninitialized pointer field

Closes #4433
2021-09-27 17:20:47 -05:00