1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

30 Commits

Author SHA1 Message Date
023e676a1a
compile_like_murdock.py: fix path to test applications 2023-05-13 19:08:37 +02:00
3989cd79ff
treewide: fix path to shell related tests in doc 2023-05-13 18:27:58 +02:00
f9d247791d
treewide: replace occurrences of tests/driver_ with new path 2023-05-06 15:38:21 +02:00
07d2e1c228
treewide: replace remaining occurrences of tests/pkg_* 2023-05-06 07:55:03 +02:00
MrKevinWeiss
1a2ed1fecc
tools/compile_like_murdock: Add simple test 2023-03-24 13:21:30 +01:00
MrKevinWeiss
f3dea757e9
tools/compile_like_murdock: Fix default board case... 2023-03-24 13:21:26 +01:00
MrKevinWeiss
c9cfd27d3b tools/compile_like_murdock: Add -m to only check mod/pkgs 2023-03-08 14:35:03 +01:00
MrKevinWeiss
df3f0ce71c tools/compile_like_murdock: -v -vv -vvv verbosity settings 2023-03-08 07:59:57 +01:00
MrKevinWeiss
57899387a0 tools/compile_like_murdock: Allow 'all' boards 2023-03-08 07:59:56 +01:00
MrKevinWeiss
1bc8cdabc1 tools/compile_like_murdock: Ignore warning from info-* 2023-03-08 07:59:56 +01:00
MrKevinWeiss
53d266e5a6
dist/tools: Add compile_like_murdock
Helper script to pre-test murdock build conditions.

This is intended to compile like murdock giving control for only a subset of
boards or applications. One can use this if only a limited change should be
build tested. Defaults boards and apps are selected to be an early warning
if something is wrong.

This should be used before triggering much larger murdock builds.

The following use cases are:

I made a change to something in the stm32 clocks...
./compile_like_murdock.py -c stm32

I changed a driver the DHT driver
./compile_like_murdock.py -a tests/driver_dht tests/saul

I changed a nucleo-f103rb board...
./compile_like_murdock.py -a tests/driver_dht tests/saul
2022-12-08 16:52:54 +01:00
Francisco
d665546d6f
Merge pull request #14464 from benpicco/python3
Convert remaining Python2 users to Python3
2020-08-18 09:11:23 +02:00
Benjamin Valentin
a5043540f4 dist/tools/compile_test: use Python3 2020-08-16 20:00:54 +02:00
Martine S. Lenders
da3fdd33d1
tools: add capability to provide make command via environment
Not all operating systems name the GNU Make `make`. FreeBSD e.g. uses a
different dialect of Make, that seems to be incompatible with GNU make.
(I wasn't able to get `make` run, but `gmake` works).

This allows our test scripts to be configured via the environment
variable `MAKE` to point to a different make command.
2020-07-08 09:36:36 +02:00
de55265835 dist/tools/compile_test: make use of makefiles/app_dirs.inc.mk 2018-09-05 12:03:09 +02:00
a5714cc7c7 dist/tools/compile_test: fix flake8 issues 2018-08-31 08:50:52 +02:00
Martine Lenders
fe38901588 dist: compile_test: cleanup after buildtest
We are at a point were building all of RIOT takes massive amounts of
storage. Since my machine runs full after only compiling ~20
applications (I have ~170 GB free storage if the RIOT repo is clean).

Thus the easiest solution for the compile tests is to just clean-up the
mess they made ;-).
2017-10-26 12:19:58 +02:00
Joakim Nohlgård
06092aaca5 dist/tools/compile_test: Add Python3 support
Tested with Python 2.7.12 and Python 3.4.5
2017-01-10 13:36:53 +01:00
Martine Lenders
6a4636410c dist: CI: remove application skipping 2016-03-26 21:19:15 +01:00
e308ad4a54 dist: compile_test.py: build everything on changes in pkg/ 2016-03-23 14:26:52 +01:00
a2d8c4b50d dist: tools: compile_test: fix unassigned variable 2016-02-28 22:51:10 +01:00
Philipp Rosenkranz
d0f23b8a3e compile_test.py: fix error/warning output duplication 2015-07-22 13:57:34 +02:00
Philipp Rosenkranz
e3fc0a3fb5 dist: compile_test.py refactored 2015-07-17 00:20:17 +02:00
Philipp Rosenkranz
da1e715473 make/compile_test.py: display compile errors and warnings 2015-07-16 21:22:57 +02:00
Philipp Rosenkranz
94490ed031 compile_test.py / buildtest: fix output for failed boards 2015-07-10 03:12:04 +02:00
Martine Lenders
eb14425806 travis: build applications only on change 2015-04-16 15:54:15 +02:00
René Kijewski
9879e4aaa7 buildtest: retry failed builds once
On Travis CI often builds fail spuriously.

This PR lets `make buildtest` retry the build once.
2014-08-05 17:42:32 +02:00
René Kijewski
bd1630adca buildtest: ignore empty folders
`compile_test.py` fails if there are empty folders in `/examples` or
`tests`. This is not a problem for Travis, because it always has a clean
repo.

For the average users there is a problem if they work on multiple
branches and one branch has new examples or tests. If they don't delete
the residual `bin` folders, then `compile_test.py` will print out these
applications as having failed.

This change checks for the existence of a `Makefile` in the application
folder. Also I added a progress indicator, because I like it. :)
2014-05-16 20:18:52 +02:00
René Kijewski
d16b819069 Add process indicator to compile_test.py 2014-05-12 22:09:29 +02:00
René Kijewski
2c9bfcf5c7 Add "compile everything" tool
Having many tests is quite futile if they aren't executed once in a
while<sup>[citation needed]</sup>.

Alas, this is not the purpose of this PR. This PR adds the tool
"compile_test.py", which executes `make buildtest` for all applications
in `examples` and `tests`, and prints a comprehensive list of the
results.
2014-04-24 11:21:22 +02:00