252 Commits

Author SHA1 Message Date
Chris Johns
623a641297 rtems-bsp-builder: Add a check for invalid ARCH and BSP names.
If invalid characters are in a BSP or ARCH name generate an error.

Add the missing ',' to the line in the PowerPC BSP configuration.
2018-02-01 09:42:59 +11:00
Joel Sherrill
033344235c tester/covoar/covoar.cc: Add missing throw keyword
Why clang caught this and gcc didn't is a mystery.

Updates #3191.
2018-01-02 16:59:31 -06:00
Joel Sherrill
b516a581a3 tester/covoar/covoar.cc: Exit using exit() rather than just throwing.
Closes #3191.
2017-12-05 08:03:44 -06:00
Joel Sherrill
149144fef9 tester/covoar/covoar.cc: Clean up formatting (tabs, braces, indentation, etc) 2017-12-05 08:01:49 -06:00
Sebastian Huber
c432d89fa3 Add tester qoriq_e6500_64.ini 2017-11-22 11:32:20 +01:00
Sebastian Huber
f010b51c24 Add tester qoriq_e6500_32.ini 2017-11-22 11:32:05 +01:00
Sebastian Huber
2248c9a73d Add imx7 and qoriq_e500 to tier-1 2017-11-22 10:31:45 +01:00
Sebastian Huber
3ba9c034d3 Add tester qoriq_e500.ini 2017-11-21 16:00:00 +01:00
Chris Johns
30218f5ca5 tester: Add reporting the RTEMS version, build and tools.
Update #3217.
2017-11-11 16:21:52 +11:00
Sebastian Huber
6f5cfada96 Add tester imx7.ini
Update #3090.
2017-11-09 09:54:14 +01:00
Sebastian Huber
e5dad3cfed Change RTEMS version from 4.12 to 5
Update #3220.
2017-11-09 08:06:16 +01:00
Chris Johns
24d51f7e4b tester: Change the mail subject so it list by BSP in the archives.
Change the subject to place the arch/bsp first and then a short
score card for the tests so the archive can be listed by subject and
you can see regressions.
2017-11-04 11:22:08 +11:00
Chris Johns
42e39d2644 tester: Fix the output so the report end analysis works. 2017-11-03 18:20:31 +11:00
Chris Johns
c68beb8181 tester: Add the rtems-run command. 2017-11-03 17:59:53 +11:00
Chris Johns
7e85878173 tester: Make the mandatory items appear first. 2017-11-03 17:59:53 +11:00
Chris Johns
0fe3a4b586 tester: Fix rtems-bsp-builder reporting bug 2017-11-01 14:30:32 +11:00
Hesham Almatary
35b9c0c84a Tester - RISC-V: Add spike simulator and scripts/bsp for riscv ports
Update #3109
2017-10-28 18:10:02 +11:00
Chris Johns
bb218b62b0 tester: Minor fix to the test results mail. 2017-10-25 10:21:22 +11:00
Chris Johns
c73e03040f tester: Check mail parameters early so users can fix. 2017-10-25 10:13:28 +11:00
Chris Johns
41d0c343ee tester: Add a BSP field to each BSP INI configuration section.
The INI section in a BSP configuration is the name of the INI file so
each BSP configuration section needs a BSP.

Updates #3204.
2017-10-25 09:03:43 +11:00
Chris Johns
bf58911519 tester: Refactor to use INI format files for BSP configurations.
- Add support for user condfigurations files with the --user-config.
- Add support for a $HOME/.rtemstesterrc for a user configuration.

Closes #3204.
2017-10-24 22:21:35 +11:00
Chris Johns
5251361066 tester: Add an executable file name filter.
The exe filter lets a BSP change the executable file to something
that can be downloaded to the target. For example U-Boot requires the image
format. The tester can now be configured to on-demand generate a specific
image for the target as the tester runs.
2017-10-23 15:22:34 +11:00
Chris Johns
7051ba5b19 bsb-builder: Add email support, and config report types. 2017-10-22 18:56:26 +11:00
Chris Johns
b1d2db9546 tester: Update BeagleBone Black, PC and Zedboard configurations. 2017-10-21 17:05:00 +11:00
Chris Johns
f1e8fd49dd tester: Add pretest and posttest target commands with @ARCH@, @BSP@ and @EXE@ substitution. 2017-10-21 17:04:53 +11:00
Chris Johns
cec5878ad3 tester: Remove pass status messages from the email log posts. 2017-10-21 16:20:04 +11:00
Chris Johns
af6a54d7c8 tester: Use a target ON command before the first test. 2017-10-21 16:20:04 +11:00
Chris Johns
ac679ba950 tester: Print the host and port on error in telnet connect. 2017-10-21 16:20:04 +11:00
Chris Johns
0054585256 tester/covoar: Use standard waf modules for linking.
Use the standard modules `use` option for building executables and
let waf figure out the platform specifics.

Closes #3190.
2017-10-13 09:31:47 -07:00
Chris Johns
5e40b4a163 tester: Fix excluded fails processing. 2017-10-12 06:25:10 +11:00
Chris Johns
89e8c2abb6 tester: Add support to email results. 2017-10-12 06:13:47 +11:00
Chris Johns
fce29b0c1f tester: Change the capture console prompt to avoid email reply processing in clients. 2017-10-12 06:13:13 +11:00
Chris Johns
b4b61b5b88 testing: Add a PC BSP configuration. 2017-10-11 22:51:02 +11:00
Chris Johns
2d6d1c5536 testing: Update BSP configurations. 2017-10-11 22:51:02 +11:00
Chris Johns
4b76b8ef7f testing: Generate console message on a second TFTP exe request. 2017-10-11 22:51:02 +11:00
Chris Johns
0eb84005f4 testing: Print the output after the result. Easier to find and review failures. 2017-10-11 22:51:02 +11:00
Sebastian Huber
5df7c3cd51 Install missing files 2017-10-10 20:07:15 +02:00
Chris Johns
662e1f7d9a tester: Add a tester off to turn the target off when finished.
Turning the target off stops it sitting asking for a download if you have
more than one target in a test set up. Any target can jump in and
nick the download.
2017-10-10 13:30:31 +11:00
Chris Johns
9580804ae5 Add a target start and target reset to manage boards that do not boot cleanly.
Rename the reset regex as start regex to detect a board has started.
Add a reset regex to detect if a board has failed to boot cleanly and
needs to be reset.

The Microzed I have can fail to boot. The PHY does not initalise.
I do not know if it is the board, the design or u-boot.
2017-10-07 18:57:24 +11:00
Chris Johns
68cbfc35c6 tester: Add Zedboard. 2017-10-05 14:24:11 +11:00
Chris Johns
2ae9b6d52b tester: Telnet console reopens the connection if it fails or closes.
Some hardware can drop a USB serial enumeration when power is
remove or applied. This changes make the telnet console more
fault tolerant.
2017-10-05 14:21:33 +11:00
Chris Johns
0737b4603b tester: Add a target reset regular expression to detect a reset. 2017-10-05 14:21:01 +11:00
Chris Johns
3c7cd05593 tester: Fix the TFTP ok to kill deadlock. 2017-09-21 21:34:34 +10:00
Chris Johns
3ed65c0106 Lower the step size for the TFTP timeout. 2017-09-21 21:33:56 +10:00
Chris Johns
3a867a4919 Add TFTP as a back end option for testing. Add telnet as a console option.
TFTP runs a local TFTP server on port 69 or another specified port and
serves each test for any requested file.

Telnet is now a console option.
2017-09-21 18:26:20 +10:00
Joel Sherrill
f4378eaac7 tester/covoar/DesiredSymbols.cc: Now compiles on Cygwin 2017-09-14 18:04:55 -05:00
Cillian O'Donnell
f4773ac5c7 covoar: Add function defs to fix Windows build errors.
Closes #3129
2017-09-14 12:22:01 +10:00
Chris Johns
cb0677b05c Add Windows includes so the rtemstoolkit builds.
Closes #3128.
2017-09-11 07:15:02 +10:00
Cillian O'Donnell
f9a4b2c4c1 covoar: Remove config file and test critical options are valid. 2017-08-29 18:06:24 +10:00
Cillian O'Donnell
46009037b8 covoar/CoverageReaderQEMU.cc: Remove trace block matching check.
This removes the 'Trace block inconsistent with coverage map' check as it was
deemed to be too restrictive and not neccessary.
2017-08-29 18:06:17 +10:00