735 Commits

Author SHA1 Message Date
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
3fab1f5110 linkers: Fix the -O option handling in rtems-execinfo 2019-01-10 12:40:52 +11:00
Chris Johns
e846257ad3 rtems-test: Fix qemu coverage logic errors. 2019-01-09 12:26:15 +11:00
Joel Sherrill
246227803f 4.9/gcc/gcc-core-4.3.2-rtems4.9-20181217.diff: New file
Enable 4.9 tools to build with a modern makeinfo. Tested on CentOS 7.

Added like other 4.9 tool patches.
2018-12-19 11:13:00 -06:00
Christian Mauderer
e59f4ee300 waf: Update to waf-2.0.13.
This fixes a problem with python 3.7.

Update #3569.
2018-12-18 18:34:59 +01: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
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