summaryrefslogtreecommitdiffstats
path: root/tester/rt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* tester/wait: Add a wait directive to the testerChris Johns2021-09-212-2/+179
| | | | - Lets you test with stand alone TFTP or other services
* tester/exe: Adjust timeouts by the step sizeChris Johns2021-09-211-3/+3
|
* tester/tftp: Fix recovery of timed out TFTP sessionsChris Johns2021-09-195-59/+183
| | | | | | | | - Add support to retry the tftp session if the target has not started - Add target handlers for the test directives to allow recovery on error
* tester: Simplify the console data handlingChris Johns2021-09-191-7/+4
|
* check.py: Fix incorrect use of os.linesepRyan Long2021-09-151-2/+2
| | | | | Replaced a couple of calls to os.linesep() with os.linesep because os.linesep() does not exist.
* tester/tftp: Fix prptocol timeout handlingChris Johns2021-09-092-15/+15
| | | | - Change some of the notification messages
* tester: Count tester header errorsChris Johns2021-09-093-12/+29
| | | | - Remove the hard tester error and count the header errors.
* tester/telnet: Only reopen once a secondChris Johns2021-09-091-1/+9
| | | | | | - Limit the reopen to once a second - Make sure the socket is closed when reopening
* rtems-bsp-builder: Change to waf build systemRyan Long2021-05-251-9/+26
| | | | Closes #4124
* tester: Avoid TFTP race conditionKinsey Moore2021-05-181-2/+2
| | | | | | | | | The u-boot TFTP client will fail a fully completed file retrieval if the final ACK gets an ICMP response that the port is unavailable which can occur if the port is closed before the ACK arrives from the client. This change causes the TFTP server to wait for the final ACK before closing the socket and prevents transfers from failing due to the race condition.
* coverage.py: Call covoar onceAlex White2021-04-061-30/+30
| | | | Updates #4374
* tester: Limit branch coverage percentage precisionAlex White2021-03-301-1/+1
|
* coverage: Fix option processing on FreeBSDAlex White2021-03-301-2/+5
| | | | | | | | | | | Covoar uses getopt() to process the command line options. If getopt() is POSIX-compliant, it will return -1 when it encounters the first non-option command line argument. It appears that it behaves this way on FreeBSD, but on Linux getopt() continues to process arguments while skipping any non-options. This changes the order of arguments passed to covoar by coverage.py to group all options at the beginning. This allows hosts with POSIX-compliant getopt() implementations to correctly process all command line options.
* coverage: Give coverage bars red backgroundAlex White2021-03-301-0/+3
|
* coverage/reports: Share common JS and CSS in reportsAlex White2021-03-301-5/+6
| | | | | | This moves all of the javascript and CSS files that are shared by the symbol set HTML reports to the shared parent directory. It also includes the javascript and CSS in the top-level index file.
* coverage/reports: Improve formatting and clarityAlex White2021-03-301-4/+15
| | | | | | | The coverage reports contain places where they display incorrect or vague information particularly when some statistic is unavailable. This has been fixed. The formatting and wording of various things has been improved as well.
* covoar/reports: Add new statistics to summaryAlex White2021-03-301-13/+20
| | | | | | The following new statistics have been added to the summary report: number of unreferenced symbols, total branch paths found, number of branch paths not executed, and percentage of branch paths covered.
* tester: Remove target from BSP coverage configsAlex White2021-03-301-1/+2
|
* tester: Add yaml format to the supported report formatsCláudio Maia2020-12-161-2/+114
|
* tester: Report fatal-error test states as failuresKinsey Moore2020-11-251-0/+1
| | | | | | 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.
* tester: Prevent crash with json outputKinsey Moore2020-10-052-4/+7
| | | | | | | | 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.
* Move all python commands to use env pythonChris Johns2020-09-2610-211/+71
| | | | | | | | - 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.
* tester: Add support for test-too-longChris Johns2020-09-086-56/+345
| | | | | - A test that loops generating output did not timeout. Monitor the the session time and set a maximum test period.
* tester: Fix TFTP server Python2 issues.Chris Johns2020-09-071-4/+28
| | | | | | | - 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
* tester: Change to a simpler TFTP serverChris Johns2020-09-0112-2193/+721
| | | | | | | | - Add a simpler TFTP to allow parallel test hardware - Remove the imported tftpy server Closes #4063
* rtems-test: target_exe_filter fails when there is no filter5.1Chris Johns2020-06-172-0/+3
| | | | Closes #4006
* tester/gdb: Add lock timing and remote fetching registers.Chris Johns2020-03-301-3/+6
| | | | | | | - Add timing for the locks to aid performance profiling - Remove fetching registers as the MI parser is slow on pyton2 Updates #3864
* Improve Python 3 compatibilitySebastian Huber2020-03-171-1/+1
|
* tester: Use prefix for rtems_tools by defaultSebastian Huber2020-02-261-0/+2
| | | | | | | | | | 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.
* tester: Prefer '_' as test state separator charSebastian Huber2019-12-191-9/+11
|
* tester: Add basic support to generate JUnit test reportsHesham Almatary2019-11-221-1/+51
|
* Fix exception when no output format is specifiedKinsey Moore2019-09-241-0/+2
| | | | | The JSON log generation patch introduced a bug when the report output generation was not configured due to attempting to iterate over 'None'.
* bsp-builder: Do not clean the build space when starting with --no-cleanChris Johns2019-09-051-1/+1
|
* tester: Minor fix to prefix handling.Chris Johns2019-09-051-3/+1
|
* tester/tftp: Handle ctl-C when active.Chris Johns2019-09-051-7/+12
|
* Add JSON log generationKinsey Moore2019-08-221-13/+111
| | | | | Add log formatter hooks and JSON log formatter to the test infrastructure for consumption by automated processes or report generators.
* rtemstoolkit/path : Add listdir functionVijay Kumar Banerjee2019-05-211-2/+2
|
* coverage: Add subdirectory name in HTML reportsVijay Kumar Banerjee2019-03-271-0/+18
|
* coverage: remove utf-8 encoding in symbolset namesVijay Kumar Banerjee2019-03-221-2/+1
|
* Coverage: Add support for TSIM formatVijay Kumar Banerjee2019-02-141-13/+22
|
* tester: Ignore the execute return code for some commandsChris Johns2019-02-081-1/+1
| | | | | Some simulators like psim-run return a non-zero error code. Allow a BSP configuration to ignore the return code.
* rtemstoolkit/config: Unlock when printing to avoid blocking.Chris Johns2019-02-081-1/+10
|
* tester/check: Convert the indent size to an int.Chris Johns2019-02-081-1/+1
|
* tester : Add support to use QEMU serial console when coverage is enabledVijay Kumar Banerjee2018-12-021-0/+1
|
* Coverage : install covoar in tester/binVijay Kumar Banerjee2018-11-272-5/+10
|
* tester/tftpd: Set the socket option to reuse.Chris Johns2018-11-271-0/+8
|
* tester: Fix the handling of the version and tools recs when running parallel ↵Chris Johns2018-11-272-118/+128
| | | | jobs
* tester/gdb: mi_parser, fix on Python3 and remove globalsChris Johns2018-11-263-50/+61
| | | | | | | | - Fix mi_parser on Python3. Python3 does not support the __cmp__ operator and rich comparision operators are required, See PEP 207. - Remove the global variables and make a class containing them. Update the gdb class to use the mi_parser session class. Removing the globals means the global lock in the gdb module can be removed.
* tester: Minor formatting change.Chris Johns2018-11-261-1/+2
|