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

19 Commits

Author SHA1 Message Date
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