252 Commits

Author SHA1 Message Date
Cillian O'Donnell
6a4859e627 covoar: Use rld tempfile and add signals to clean up in event of crash.
Use rld tempfile for temporary files and add fatal signal handling to clean
them up in the event of a crash.
2017-08-29 18:06:11 +10:00
Krzysztof Miesowicz
4cee5c3d2f covoar/wscript: Add paths to rtemstoolkit to build.
Co-Author: Cillian O'Donnell <cpodonnell8@gmail.com>
2017-08-29 18:06:05 +10:00
Cillian O'Donnell
953415779a covoar/ObjdumpProcessor.cc: Remove jump tables from the end of symbols.
Some tests objdumps have jump tables added to the end of them causing the
same symbols to have different sizes when processed. This removes them and
their associated errors.
2017-08-29 18:06:00 +10:00
Hermann Felbinger
cb018bcdff covoar: Add information to improve diagnostics. 2017-08-29 18:05:51 +10:00
Hermann Felbinger
b857151112 covoar: Fix buffer overflow and fix br tag in html report.
Co-Author: Krzysztof Miesowicz <krzysztof.miesowicz@gmail.com>
2017-08-29 18:05:38 +10:00
Fabien Chouteau
05b4cfbfc1 covoar/qemu-traces.h: Change to match current couverture-qemu file. 2017-08-29 18:05:13 +10:00
Sebastian Huber
fd0bcc562b tester: Add qoriq_e6500_64
Update #3082.
2017-08-22 16:55:07 +02:00
Sebastian Huber
0ea1c27f79 tester: Add imx7 2017-08-07 08:01:59 +02:00
Joel Sherrill
581b0710a9 rtems-bsps-i386.ini: Remove Edison 2017-07-31 09:29:48 -05:00
Sebastian Huber
738716dadc tester: Update BSP names 2017-07-31 07:33:56 +02:00
Jiri Gaisler
9f72ea6f86 Added test scripts for standalone sis 2017-07-25 15:50:50 +10:00
Chris Johns
d67c20abe3 rtems-bsp-builder: Use the profile's architecture's BSP lists. 2017-05-31 22:16:18 +10:00
Chris Johns
37a08438ca rtems-bsp-builder: Refactor to add jobs.
This change adds job support to the rtems-bsp-builder so builds can
run in parallel.

Some options have changed so they make sense and are more useful.
2017-05-24 12:27:38 +10:00
Chris Johns
52cfa18385 rtems-bsp-builder: Fix the powerpc configuration. 2017-05-24 12:12:55 +10:00
Chris Johns
61ddcfc8f0 rtems-bsp-builder: Add as a build type. 2017-05-18 15:22:43 +10:00
Chris Johns
ef38b5d7c2 rtemstoolkit: Add Python INI configuration support. 2017-05-15 11:48:44 +10:00
Chris Johns
9a8a03c713 rtems-bsp-builder: Add all architectures and BSPs.
- Add support to include other INI files.
- Add support for extended interpolation on Python 2.7.
2017-05-15 11:29:46 +10:00
Chris Johns
85e14e0cbf rtems-bsp-builder: Fix excluding builds.
Excluding builds was not working. This patch fixes that and it
also correctly handles mixed builds.
2017-05-10 21:09:02 +10:00
Chris Johns
ad15f6b2ce rtems-bsp-builder: Fix passes report alignment. 2017-04-28 06:49:23 +10:00
Chris Johns
096c95e9a2 rtems-bsp-tester: Make the failure and pass report more compact. 2017-04-28 06:36:32 +10:00
Chris Johns
fc22d2a05e rtems-bsp-builder: Fix time in warnings report, wrapping in reports.
Also fix accessing group counts when there are no counts.
2017-04-26 22:07:15 +10:00
Chris Johns
c2df65bcf6 rtems-bsp-builder: Fix access when there are no messages. 2017-04-26 20:01:23 +10:00
Chris Johns
ab57e79715 rtems-test: Fix gdb bug. 2017-04-25 09:32:18 +10:00
Chris Johns
b89a7e4b18 rtems-bsp-builder: Fix the build sets excludes. 2017-04-25 08:40:19 +10:00
Chris Johns
5d1edd55c8 rtems-bsp-builder: Refactor for better config format, warnings and errors.
Refactor the code to improve the warnings and errors reporting.

Improve the configuration file format to better support any type
of build by separating the flags away from the builds.
2017-04-25 02:39:56 +10:00
Chris Johns
7d3350d0bb rtemstoolkit: Move host support access into a separate module.
Moving the host support into a module lets it get used where options
is not being used.
2017-04-25 00:31:44 +10:00
Chris Johns
15a3e06518 tester: Add support for expected-fail, user-input, and benchmarks.
Count the errors for the states listed and add running totals.

Kill the test process if the test state is user-input or benchmark.
2017-04-04 13:32:03 +10:00
Chris Johns
bce090b242 rtems-bsp-builder: Fix the counts to accumulate. 2017-03-28 10:20:14 +11:00
Chris Johns
056bd4b87f rtems-bsp-builder: Fix profile error message. 2017-03-15 15:23:40 +11:00
Chris Johns
a72a462adc bsp-builder: Fix final output errors. 2016-12-13 09:56:25 +11:00
Chris Johns
d3d771e95f bsp-builder: Add support for builds.
Add build support where a build is a combination of options. The
default is 'all' which is a full set of build options passed to
configure. You can now use 'basic' which is the standard or default
configure command line. This used with the arch option lets you
quickly build all BSPs in an architecture.

For example:

 $ rtems-bsp-builder --build-path /builds/rtems/builds/arm \
                     --rtems-tools /opt/rtems/4.12 \
                     --rtems /opt/rtems/src/rtems.git \
                     --arch arm --build basic
2016-12-01 10:21:13 +11:00
Chris Johns
8a7be6379c bsp-bulder: Get the end time when building an architecture. 2016-11-30 08:13:33 +11:00
Chris Johns
a252faf1d3 bsp-builder: Results format fixes. 2016-08-30 18:10:17 +10:00
Chris Johns
06c3ccdcf3 bsp-builder: Fix bugs. 2016-08-29 11:47:04 +10:00
Chris Johns
e9fb4c5bbf bsp-builder: Add lm3s6965_qemu to ARM bsp list. Fix network-debug options. 2016-08-25 16:14:57 +10:00
Chris Johns
f7f0704905 bsp-builder: Fix column printing of the arch/bsp. 2016-08-25 16:13:18 +10:00
Chris Johns
8e13939aa0 bsp-builder: Print one results report only. 2016-08-19 11:56:09 +10:00
Chris Johns
9a1daba2ff bsp-builder: Fix results report columns. 2016-08-19 09:55:03 +10:00
Chris Johns
3a92a544aa bsp-builder: Add ARM bsps. 2016-08-18 21:00:50 +10:00
Chris Johns
51e19af92d bsp-builder: Support per BSP excludes. 2016-08-18 21:00:29 +10:00
Chris Johns
57e4172c26 tester: handle compile argument warnings. 2016-08-18 14:24:45 +10:00
Chris Johns
3e1459496a Add rtems-bsp-builder.
This is a testing tool that builds BSPs with a range of configure options
for regression testing changes do not break the kernel code.

The builds are controlled by an INI file. The INI configuration has profiles
which define a specific set of architures and BSP to build. There are architectures
which contain BSPs and these further define the options needed to build the BSP.
There is also builds which define the variations each BSP is built with.

The build output can be pointed to any suitable disks so you can control where
the output ends up.

This initial release contains tiers and these are only seeded with something to
test with. It does not define the tiers.

Wanrings, object files and libraries are counted.
2016-07-06 17:58:56 +10:00
Chris Johns
dfa2468af6 tester: Fix reraising an exception with Python2 and Python3.
Updates #2619.
2016-03-16 21:39:39 +11:00
Chris Johns
4bcf18b926 tester/sis: Provide the -nouartrx to avoid blocking on stdin. 2016-03-16 16:22:35 +11:00
Chris Johns
1845e9132e tester: Provide a gdb kill method to aid clean ups on ctrl-C. 2016-03-16 16:21:57 +11:00
Chris Johns
6f8b07c3b6 rtemstoolkit: Fix execute's writer thread to not eval() the input.
The conversion to Python3 added an eval() call which is wrong.

Fix the spelling in execute.

Fix labels in the tester gdb locking.

Check the debug-trace arguments.

Close #2642.
2016-03-14 14:59:11 +11:00
Chris Johns
c9ed2483c6 Remove exception test code left in.
Updates #2619.
2016-03-09 14:34:26 +11:00
Chris Johns
6fa359c79d Master branch version is 4.12. 2016-03-09 14:29:14 +11:00
Chris Johns
b7a9c817e1 sis: Option not present with SPARC sim. 2016-03-09 14:28:57 +11:00
Chris Johns
2de37f3432 Python 2 and python 3 refactor fixes.
Updates #2619.
2016-03-09 14:27:42 +11:00