626 Commits

Author SHA1 Message Date
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
kaidoho
eb1d8f49c7 Fix wrong function signatures 2018-12-06 12:53:54 +11: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
6db01e577f rtemstoolkit/host: Fix the darwin support.
- Add python as a unit test variant.
2018-11-29 10:16:44 +11:00
Chris Johns
93821feb16 rtemstoolkit/git: Use 'git' if no macro path is present. 2018-11-29 10:16:38 +11:00
Chris Johns
3bc12bbd4c rtemstoolkit/version: Remove the tailing - with a clean git repo 2018-11-29 09:24:48 +11:00
Chris Johns
6d30de6dac rtemstoolkit: Fix unittests on Windows
- Fix Windows host support so MSYS pythons can be used.
- Fix Windows host support for python3.
- Improve the mailer unittest.
2018-11-29 08:37:40 +11:00
Chris Johns
61410dbcc8 tester/coverage: Remove warnings in covoar on Windows. 2018-11-29 08:37:22 +11:00
Chris Johns
09f4dbea55 rtemstoolkit:libelf: Removing warning for asprintf on Windows. 2018-11-29 08:16:39 +11:00
Chris Johns
3d2db56f7d Fix warnings on Windows. 2018-11-29 05:45:21 +11:00
Chris Johns
95abe76daf waf: Fix version paths on Windows. 2018-11-29 05:45:05 +11:00
Chris Johns
571db94df5 rtemstoolkit: Fix mailer unittest. 2018-11-28 20:27:50 +11:00
Christian Spindeldreier
97dc555efa fix native elf detection on x86_64 machines
Closes #3616
2018-11-27 17:02:18 +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
29f9e10ed4 rtemstoolkit/git: Ignore untracked files in the dirty state. 2018-11-26 14:37:09 +11:00
Chris Johns
af5cecfff0 rtemstoolkit: Fixes to the reader and writer threads for capturing
- Use the 'read1' file handle call to return if any data is queued
  for reading from stdout or stderr.
- Flush the stdin pipe in the writer thread.

These changes let the execute module work on Python2 and Python3.
2018-11-26 14:36:44 +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
7e5cdeaabe rtemstoolkit: Add unit testing for the python modules
- Add support to run the unit tests for the rtemstoolkit python
  modules from waf. Enter './waf test' for the tests to be run on
  python2 and python3.
- Update the importing of rtemstoolkit modules to the standard
  method which works on python2 and python3.
- Update the README.
2018-11-23 15:02:52 +11:00
Chris Johns
6fa09650b8 rtemstoolkit/execute: Use buffered output and improve performance
- Use buffered output on the stdout and stderr streams from
  child processors.
- Simplify the read thread line processing to improve performance.
- Disable 'close_fds' as it slows down python3's popen call.
- Update the importing of rtemstoolkit modules.
2018-11-23 14:59:18 +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
f9a17cd2a1 rtemstoolkit/path : Add support to copy single files 2018-11-17 12:31:45 +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
Chris Johns
94214bf125 rtemstoolkit: Add ARM and AArch64 support to Linux elftoolchain. 2018-11-15 13:35:35 +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
Chris Johns
087be8c67f rtemstoolkit: Fix the parsing of the revision string to a number.
Fix provided by Amar on the user list:

 https://lists.rtems.org/pipermail/users/2018-October/032714.html
2018-11-05 15:37:49 +11:00
Vijay Kumar Banerjee
92a340c305 Coverage : Generate reports using the object files in cpukit 2018-10-25 15:47:26 -05:00
Joel Sherrill
36fde5169a rtemstoolkit/rld-cc.cpp: Accept -EL, -EB, and -Gn machine flags
closes #3401, #3402, $3424.
2018-10-14 16:58:20 -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
2950fd40f0 linkers/exeinfo: Report who inlines which functions. Report not inline functions. 2018-08-07 09:11:29 +10:00
Chris Johns
317d85d71f rtemstoolkit/dwarf: Add types of inline. Report machine code size not span.
- Add the types of inlined functions to the interface.

- Return the machine code for each function and not the address span.
2018-08-07 09:11:29 +10: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
Chris Johns
f450227669 linkers/exeinfo: Add an inlines report and DWARF data dump. 2018-08-07 09:11:29 +10:00
Chris Johns
d3318eb351 rtemstoolkit/dwarf: C++ object relates fixes and a dump report.
- Various C++ object fixes that improve stability where data from
  libdwarf is moving between object instances.
- Functions now provide better detail with inlined functions picking
  up attributes from an abstrtact DIE.
- Dump to a provide stream not stdout.
2018-08-07 09:11:29 +10:00