22 Commits

Author SHA1 Message Date
Sebastian Huber
9b59f277f5 tester: Fix rtems-test installation 2021-10-13 15:23:42 +02:00
Chris Johns
87262b429d Move all python commands to use env python
- If you host does not provide a python command consult the User
  manual for ways you can run the python commands.

- Full package paths are being used to avoid namespace pollution and
  crosstalk.
2020-09-26 10:49:27 +10:00
Chris Johns
cd8fa2fe74 tester: Add support for test-too-long
- A test that loops generating output did not timeout. Monitor the
  the session time and set a maximum test period.
2020-09-08 16:15:43 +10:00
Chris Johns
b1c6a98da4 tester: Fix the install with the new TFTP server 2020-09-07 10:29:33 +10: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
6ab939e393 tester: Install the coverage python module. 2018-06-20 08:28:18 +10:00
Chris Johns
c68beb8181 tester: Add the rtems-run command. 2017-11-03 17:59:53 +11:00
Sebastian Huber
5df7c3cd51 Install missing files 2017-10-10 20:07:15 +02: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
a5d243d3f8 tester: Remove the RT version.py and use the toolkit's version. 2016-03-04 12:10:09 +11:00
Chris Johns
7148caeb91 Add Windows specific waf support for MSYS2.
Limit the compilers used to gcc and clang. Clang has not been tested.
Users with MSVC install does not need to remove now.

Force the os.sep path to the standard '\\' on Windows. The MSYS2 python
sets it to '/' for internal project reasons. Doing this does cause waf
problems when running configure so only do this for the build target.

Closes #2583.
2016-02-19 14:51:28 +11:00
Chris Johns
de1beea245 Disable installing PYO and PYC. Fix install paths.
Installing PYO and PYC does not work so disable this. Move the
Python check to the top level and have a single place.

Fix the install paths a revert the 'from . import' changes. This
is resolved by installing into the correct paths.
2016-02-19 11:26:51 +11:00
Chris Johns
a6f5f188ce Fix how to use the waf py feature to get py source and pyo file installed.
Thanks to ita for the example.
2015-12-11 17:17:22 +11:00
Chris Johns
efc4f099b4 Add release versioning support.
Support a top level VERSION file that defines an RTEMS release.

Fix the install of the python modules including thertems-test.

Update the git python module to the RSB version. Fix the options to
not call clean and to call dirty.

Update the version python module.

Fix the rtld C++ support to the VERSION file and the top level waf
script.
2015-12-09 20:08:19 +11:00
Chris Johns
0382b6863b Fix Windows build issues.
Fix biulding the mmap Windows code.
Fix installing the files for Windows.
2015-10-19 09:06:49 +11:00
Chris Johns
f5b639bf72 rtems-tester: Remove repeated install line in wscript.
Fixes #2312.
2015-03-27 14:24:11 +11:00
Adit Sahasrabudhe
01a419253a Modified waf scripts to have a minimum python version requirement of 2.6.6, instead of 2.7.3 2015-02-25 20:46:02 +11:00
Chris Johns
e143a62f6b Fix the chmod octal value to use the correct Python syntax. 2015-02-16 11:30:37 +11:00
Chris Johns
05fe73dfd7 Fix the tester wscript. 2015-02-08 18:40:35 +11:00
Chris Johns
9600c39638 Fixes to the run the waf built tests when installed. 2015-02-08 18:14:16 +11:00
Chris Johns
b7d48ef5a4 Install the rtems-test command.
This installs the Python RTEMS Toolkit.

The copmiler has been switched from forcing gcc to allowing waf
to detect the host's tool chain.
2015-02-08 17:12:04 +11:00
Chris Johns
749ddf1ed5 waf: Include waf in the souce tree and updated README on building.
Add support to build all parts of The RTEMS Tools project.
2014-09-13 10:47:07 +10:00