268 Commits

Author SHA1 Message Date
Ryan Long
64ad86c10b bsps/sparc: Remove INI files using SIS in GDB
Removed the INI files that use the "target sim" option
since the SIS sparc simulator in GDB is no longer used
with RTEMS. A newer version of SIS is built separately.

Closes #4355
2021-03-23 15:04:42 -05:00
Kinsey Moore
2cfdc80a4d tester: Update for ZynqMP QEMU BSP name change
The ZynqMP QEMU BSPs were renamed to include _qemu for more consistent
identification. This updates the tester configurations to match.
2021-03-05 10:41:14 -06:00
Kinsey Moore
4da011424c tester: Swap Xilinx ZynqMP BSPs to secondary UART
Qemu's machine definition uses the second UART in the memory map as the
primary UART. This follows from the hardware itself where the second
UART in the memory map is UART 0. This switches the tester to using the
correct UART.
2021-01-14 13:33:16 -06:00
Sebastian Huber
90342feb4d tester: Add support for arm/fvp_cortex_r52 BSP
Update #4202.
2020-12-16 09:15:53 +01:00
Cláudio Maia
2251c5a878 tester: Add yaml format to the supported report formats 2020-12-16 07:43:29 +01:00
Kinsey Moore
4bc285e988 tester: Add configs for AArch64 ZynqMP BSPs 2020-12-11 09:55:28 -06:00
Sebastian Huber
97fe5bf8a3 tester: Add support for sparc/gr740 BSP
Update #4195.
2020-12-02 10:16:34 +01:00
Kinsey Moore
2bb7d3a1bb tester: Report fatal-error test states as failures
Tests resulting in the fatal-error state are counted as failures, but
are not currently reported in the text summary. This has already been
fixed for JSON output.
2020-11-25 16:18:03 -06:00
Vijay Kumar Banerjee
7b63e355db bsps/a53_*: Fix typo in qemu options 2020-11-15 02:19:41 +05:30
Kinsey Moore
79a9a46a20 tester: Prevent crash with json output
This fixes an issue with json report output that causes a crash due to
the incorrect object member being accessed for test-too-long. This also
changes treatment of fatal errors to match how they are displayed in the
tester log output and changes "fatal error" to "fatal-error" to better
match the naming of all the other failure types.
2020-10-05 18:58:40 -05:00
Kinsey Moore
b09cfc4415 tester: Add a53_ilp32_qemu.ini 2020-10-05 16:12:41 -05:00
Kinsey Moore
79950221f1 tester: Add a53_lp64_qemu.ini 2020-10-05 16:12:41 -05:00
Chris Johns
87262b429d Move all python commands to use env python
- If you host does not provide a python command consult the User
  manual for ways you can run the python commands.

- Full package paths are being used to avoid namespace pollution and
  crosstalk.
2020-09-26 10:49:27 +10:00
Chris Johns
cd8fa2fe74 tester: Add support for test-too-long
- A test that loops generating output did not timeout. Monitor the
  the session time and set a maximum test period.
2020-09-08 16:15:43 +10:00
Chris Johns
b1c6a98da4 tester: Fix the install with the new TFTP server 2020-09-07 10:29:33 +10:00
Chris Johns
7a29b47a0f tester: Fix TFTP server Python2 issues.
- Add a --show-backtrace option to make it easier for users to
  get an exception backtrace if something goes wrong.

- Fix the --packet-trace option so it actually decodes the packets
2020-09-07 10:07:11 +10:00
Chris Johns
eb3608133b tester: Change to a simpler TFTP server
- Add a simpler TFTP to allow parallel test hardware

- Remove the imported tftpy server

Closes #4063
2020-09-01 09:18:04 +10:00
Sebastian Huber
351bb7e41d Change version to RTEMS 6
Update #4020.
2020-06-30 09:30:38 +02:00
Chris Johns
4f5485eb51 rtems-test: target_exe_filter fails when there is no filter
Closes #4006
2020-06-17 08:43:00 +10:00
Hesham Almatary
ea86d967ec rtems-tester: Add rv64imafdc_medany for QEMU 2020-04-09 12:40:01 +01:00
Cláudio Maia
bba29e3048 bsps: Deletes erc32-run.ini 2020-04-05 21:50:52 -06:00
Jan Sommer
225438c9e3 tester: Add configuration pc-qemu.ini 2020-04-03 09:24:36 -06:00
Chris Johns
753eb949b3 tester/gdb: Add lock timing and remote fetching registers.
- Add timing for the locks to aid performance profiling
- Remove fetching registers as the MI parser is slow on pyton2

Updates #3864
2020-03-30 09:52:57 +11:00
Joel Sherrill
9b9e0dd47f gdbarmsim: Remove all variants
Updates #3911.
2020-03-20 13:37:26 -05:00
Sebastian Huber
274981f77d Improve Python 3 compatibility 2020-03-17 11:36:05 +01:00
Joel Sherrill
3833c39f6c psim-device-tree: Rework so devices do not conflict with 256MB RAM
closes #3849.
2020-03-05 21:29:10 -06:00
Sebastian Huber
0d66fd5264 tester: Use prefix for rtems_tools by default
Commit 72c684eff2cd932b4948e21902680a93473340c3 removed the default
value of rtems_tools.  If the --rtems--tools option was omitted the
rtems-test command printed lots of

	error: run.cfg:61: macro '%{rtems_tools}' not found

error messages.
2020-02-26 07:29:53 +01:00
Cláudio Maia
fb241f8a56 Fix typo in error message 2020-02-26 14:18:45 +11:00
Sebastian Huber
629c330e14 tester: Add qemu_opts_serial
The realview_pbx_a9_qemu test configuration for Qemu produced no output
due to wrong serial/monitor settings.  Remove the serial/monitor
settings from qemu_opts_base and move them to the new qemu_opts_serial.
2020-02-25 09:23:47 +01:00
Vijay Kumar Banerjee
18d3daa237 covoar/wscript: Install covoar.css and table.js 2020-01-28 08:36:50 +11:00
Sebastian Huber
29ad0ec7a8 tester: Prefer '_' as test state separator char 2019-12-19 10:09:22 +01:00
Hesham Almatary
c02459ee65 tester: Add basic support to generate JUnit test reports 2019-11-22 09:05:23 +00:00
Kinsey Moore
e9f48e9fac Fix exception when no output format is specified
The JSON log generation patch introduced a bug when the report output
generation was not configured due to attempting to iterate over 'None'.
2019-09-24 08:32:52 +10:00
Chris Johns
128ee7b7ec bsp-builder: Do not clean the build space when starting with --no-clean 2019-09-05 09:47:01 +10:00
Chris Johns
72c684eff2 tester: Minor fix to prefix handling. 2019-09-05 09:47:01 +10:00
Chris Johns
89442b7c0c tester/tftp: Handle ctl-C when active. 2019-09-05 09:47:01 +10:00
Kinsey Moore
5fcaf843bd Add JSON log generation
Add log formatter hooks and JSON log formatter to the test infrastructure
for consumption by automated processes or report generators.
2019-08-22 10:41:48 +10:00
Chris Johns
30a5cd65cc tester: Add raspberrypi2 BSP. 2019-07-26 10:44:04 +10:00
Chris Johns
d7979dece6 waf: Update the check_cc tests to a newer method supported by waf.
- Fix a minor issue in covoar's use of 64bit calls.
2019-05-27 10:08:27 +10:00
Vijay Kumar Banerjee
9f197dea76 rtemstoolkit/path : Add listdir function 2019-05-21 15:53:38 +10:00
Vijay Kumar Banerjee
53dd5e656a coverage: Add subdirectory name in HTML reports 2019-03-27 17:25:45 -05:00
Vijay Kumar Banerjee
8dcfc0ed8a coverage: remove utf-8 encoding in symbolset names 2019-03-22 10:26:12 -05:00
Vijay Kumar Banerjee
1c821fe672 testing/bsps: Add covoar commands in bsp ini file 2019-02-19 14:32:52 +11:00
Vijay Kumar Banerjee
f6d30db99b Coverage: Add support for TSIM format 2019-02-14 09:43:40 +11:00
Vijay Kumar Banerjee
4828c19d38 Coverage : Add coverage support for RISCV 2019-02-12 16:18:19 -06:00
Chris Johns
7f85a65b9d tester: Ignore the execute return code for some commands
Some simulators like psim-run return a non-zero error code. Allow
a BSP configuration to ignore the return code.
2019-02-08 05:41:03 +11:00
Chris Johns
e6bf128eea rtemstoolkit/config: Unlock when printing to avoid blocking. 2019-02-08 05:41:03 +11:00
Chris Johns
5156445f7b tester/check: Convert the indent size to an int. 2019-02-08 05:41:03 +11:00
Chris Johns
e7d8293ade tester: Increase the psim memory size to match the BSP. 2019-02-08 05:41:03 +11:00
Jiri Gaisler
551ce08253 rtems-test: add bsp for leon3 on sis with coverage 2019-01-25 20:46:28 +01:00