230 Commits

Author SHA1 Message Date
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
Jiri Gaisler
c553ccdd1e covoar: wrong symbol length in coverage map 2019-01-25 16:40:29 +01:00
Jiri Gaisler
dd6a10dfe6 covoar: enable -f switch to select other coverage formats 2019-01-25 16:39:18 +01:00
Jiri Gaisler
dd3d0cc5bf covoar: debug print-out of addresses should be in hex 2019-01-25 16:36:24 +01:00
Jiri Gaisler
66c0e33204 rtems-tester: added griscv bsps for gdb and sis 2019-01-22 14:21:38 +01:00
Chris Johns
e846257ad3 rtems-test: Fix qemu coverage logic errors. 2019-01-09 12:26:15 +11:00
Jiri Gaisler
820eba4546 tester: Run leon3-sis with four processors
Update #3460.
2018-12-17 08:21:23 +01:00
Sebastian Huber
931b862f29 tester: Fix leon2.ini 2018-12-17 08:21:23 +01:00
Vijay Kumar Banerjee
650569cfc5 tester : Add support to use QEMU serial console when coverage is enabled 2018-12-02 14:38:39 +11:00
Chris Johns
61410dbcc8 tester/coverage: Remove warnings in covoar on Windows. 2018-11-29 08:37:22 +11:00
Vijay Kumar Banerjee
a1498ab899 Coverage : install covoar in tester/bin 2018-11-27 16:55:26 +11:00
Chris Johns
bf5fdab115 tester/tftpd: Set the socket option to reuse. 2018-11-27 11:24:38 +11:00
Chris Johns
a4fbd167eb tester: Fix the handling of the version and tools recs when running parallel jobs 2018-11-27 11:23:36 +11:00
Chris Johns
71cede05ae tester/gdb: mi_parser, fix on Python3 and remove globals
- 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.
2018-11-26 09:56:50 +11:00
Chris Johns
f632bd8b60 tester: Minor formatting change. 2018-11-26 09:56:13 +11:00
Chris Johns
82254b0de2 tester: Change the QEMU command line to match the RSB built QEMU.
The command line changed and the RSB is the newer version. Make
the old version via a config variable.
2018-11-23 14:57:07 +11:00
Vijay Kumar Banerjee
fb03e22c47 Coverage: add the style and js files to the symbol-set report directory 2018-11-17 12:31:32 +11:00
Hesham Almatary
3265580dba tester: Remove riscv_generic
Now each BSP/ISA variant has its own .ini file
2018-11-12 16:36:04 +00:00
Sebastian Huber
bd59c23f8f Remove m32c support
Update #3599.
2018-11-12 07:04:09 +01:00
Hesham Almatary
c4c268287c tester: Support testing all riscv bsps on Spike 2018-11-09 09:54:16 +00:00
Chris Johns
f24e11688e tester: Update the Python TFTP server to fix Python3 issues.
Updated to af2f2fe89a3bf45748b78703820efb0986a8207a.
Repo is https://github.com/msoulier/tftpy.git
2018-11-08 18:13:55 +11:00
Chris Johns
e058db0281 python: Provide support to select a valid python version.
- Update imports after wrapping the code.
- Fix python3 issues.
- Fix config path issues for in repo and install runs.

Closes #3537
2018-11-08 18:13:45 +11:00
Vijay Kumar Banerjee
92a340c305 Coverage : Generate reports using the object files in cpukit 2018-10-25 15:47:26 -05:00
Chris Johns
3bd8def210 config: Consolidate the version information into a single configuration file 2018-10-03 11:38:09 +10:00
Chris Johns
5416cfa39d config: Create a config directory and move the RTEMS arch/bsp data to it.
Closes #3536
2018-10-02 16:49:54 +10:00
Chris Johns
5075e8ed02 tester/bsp-builder: Yield the job control thread when in a dry-run.
This stops a dry-run blocking while the job control thread spins.
2018-09-08 15:36:31 +10:00
Chris Johns
14a12d3645 tester/bsp-builder: Add excluded build options to the base options.
Adding the exclude build options to the base options overrides the
default configure flags. An excluded build could be enabled by
default.

Only pause the jobs loop when it is not a dry run.
2018-09-08 14:42:40 +10:00
Chris Johns
e63b9ba278 tester/bsp-builder: No network builds for the epiphany BSP. 2018-09-04 10:18:36 +10:00
Chris Johns
0813c87480 tester/bsp-builder: Fix the build jobs with more than one BSP exclude.
Excluding more than one build resulted in common builds being removed
resulting in a list remove error.
2018-09-04 10:15:46 +10:00
Chris Johns
a3a1364115 covoar: Close the ELF and DWARF handles once the data is loaded.
This avoids the processing being killed with to many file handles
open.
2018-08-21 14:45:25 +10:00
Vijay Kumar Banerjee
458a144e08 coverage/symbol-sets.ini : Add symbol-sets and paths to respective libraries 2018-08-08 11:26:32 -05:00
Vijay Kumar Banerjee
18208f826a Coverage: Add support to generate separate reports for each symbol-set
Invoke covoar multiple times from the script to generate separate
reports for each symbol-set.
2018-08-08 11:26:32 -05:00
Sebastian Huber
d343f830f4 tester: Exclude SMP build of some RISC-V BSPs
It makes no sense to build BSPs without support for atomic instructions
with SMP enabled.

Update #3433.
2018-08-07 07:01:40 +02:00
Chris Johns
99c90b3353 tester/covoar: Integrate DWARF function data.
Use DAWRF function data to create the executable coverage
maps. Integrate the existing objdump processing with this
data.

- Refactor CoverageMapBase to have the address ranges
  and address info as separate objects. Move the
  to address info into a vector. Add support for
  multiple address ranges.
- DesiredSymbols is only interested in function symbols.
- ExecutableInfo creates coverage maps from DWARF function
  data.
- Add warning flags to the covoar build.
- Varous C++11 refactoring.
2018-08-07 09:11:29 +10:00
Sebastian Huber
5d957c9c51 tester: Add RISC-V support to BSP builder
Update #3433.
2018-08-06 09:51:10 +02:00
Sebastian Huber
d3d115a505 tester: Add use virt machine for rv64imafd_medany
Update #3433.
2018-07-25 10:11:26 +02:00
Joel Sherrill
08f80ca140 rtems-bsps-tiers.ini: Add amd64 2018-07-18 18:21:42 -05:00
Sebastian Huber
156b2273a4 tester: Remove obsolete BSP variants
Update #3459.
2018-07-03 07:07:16 +02:00
Sebastian Huber
7b7e340010 tester: Add rv64imafd_medany.ini
Update #3433.
2018-06-29 10:30:37 +02:00