41 Commits

Author SHA1 Message Date
Alex White
ba4648bf68 rtems-bsp-builder: Fix mail support
This fixes a problem with mailer options support that occurred because
check.py uses argparse.ArgumentParser instead of tester.rt.options.
2021-10-29 16:44:02 -05:00
Ryan Long
c6870de792 check.py: Fix incorrect use of os.linesep
Replaced a couple of calls to os.linesep() with os.linesep because
os.linesep() does not exist.
2021-09-15 10:53:54 -05:00
Ryan Long
527848d5cc rtems-bsp-builder: Change to waf build system
Closes #4124
2021-05-25 12:41:13 -05:00
Sebastian Huber
274981f77d Improve Python 3 compatibility 2020-03-17 11:36:05 +01:00
Chris Johns
128ee7b7ec bsp-builder: Do not clean the build space when starting with --no-clean 2019-09-05 09:47:01 +10:00
Chris Johns
5156445f7b tester/check: Convert the indent size to an int. 2019-02-08 05:41:03 +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
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
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
252d21c8cb bsp-builder: Collect2 messages are errors. 2018-04-10 11:46:11 +10:00
Chris Johns
005f995a80 rtems-bsp-builder: Remove stray %s from the run log message.
Close #3278
2018-02-01 10:51:54 +11:00
Chris Johns
623a641297 rtems-bsp-builder: Add a check for invalid ARCH and BSP names.
If invalid characters are in a BSP or ARCH name generate an error.

Add the missing ',' to the line in the PowerPC BSP configuration.
2018-02-01 09:42:59 +11:00
Chris Johns
0fe3a4b586 tester: Fix rtems-bsp-builder reporting bug 2017-11-01 14:30:32 +11:00
Chris Johns
7051ba5b19 bsb-builder: Add email support, and config report types. 2017-10-22 18:56:26 +11: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
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
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
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
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
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