Gaëtan Harter
25890c814a
compile_and_test_for_board: add --with-test-only
...
Add an option to only compile applications that have available test.
The target usage is when running hardware tests to save time by only
compiling what will be tested.
2019-08-02 14:35:05 +02:00
Gaëtan Harter
821c42f5b2
compile_and_test_for_board: add logger info for 'has_test'
...
Add a logger info printing if the application has a test.
2019-08-02 13:24:52 +02:00
Kevin "Bear Puncher" Weiss
f932999df4
Merge pull request #11853 from sanjuprakashk/testrunner-timeout
...
dist/pythonlibs/testrunner: dynamic changing of test timeout
2019-07-18 11:57:31 +02:00
Gaëtan Harter
5ed65989ed
dist/jlink.sh: Allow overwriting the 'reset' commands
...
Add a variable to configure the reset commands.
This is required for board that need a hardware reset.
2019-07-17 15:29:51 +02:00
sanjuprakashk
d30bd7ae47
dist/pythinlibs/testrunner: dynamic changing of test timeout
...
Few flashers require a longer time to flash code and reset the device and
requires the test script to wait for a longer time before timing out.
This commit adds a environment variable "RIOT_TEST_TIMEOUT" that can be
set by the user to vary the timeout in accordance to the requirements
of the system
on-behalf-of: @sparkmeter <sanju.kannioth@sparkmeter.io>
2019-07-17 06:25:28 -07:00
21e796d6f9
Merge pull request #11841 from kaspar030/bump_git_cache
...
dist/tools/git/git-cache: bump version
2019-07-17 13:21:59 +02:00
b33a196e78
dist/tools/git/git-cache: bump version
...
Upstream contains important fixes:
- improve tag handling
- improve concurrent use
- clean up temporary tags
2019-07-17 12:04:37 +02:00
f74e5e754a
dist/tools/ethos: add setup_network.sh script
2019-07-15 12:33:11 +02:00
Juan I Carrano
6349d91277
Merge pull request #11695 from cladmi/pr/buildsystem_sanity_check/bug/never_returns_error
...
dist/tools/build_system_sanity_check: BUG fix errors being ignored
2019-06-26 11:58:11 +02:00
f1ffa10c7e
dist/tools/ethos: adapt README.md to USEMODULE+=stdio_ethos
2019-06-24 09:56:30 +02:00
a66c7cf6e7
tools/nrf52_resetpin_cfg: add stdin dependency
2019-06-20 16:01:45 +02:00
Gaëtan Harter
e4b82be564
dist/tools/build_system_sanity_check: BUG error_on_input always fail
...
The function was always failing but was hidden by the previous bug too.
2019-06-14 12:24:31 +02:00
Gaëtan Harter
7d65a715ca
dist/tools/build_system_sanity_check: deprecate FEATURES_MCU_GROUP
...
Add a function to list deprecated variables or patterns and use it for
* FEATURES_MCU_GROUP
2019-06-14 11:34:00 +02:00
Gaëtan Harter
b744ba7f9e
dist/tools/build_system_sanity_check: BUG fix errors being ignored
...
On error messages the exit code was still 0 due to the typo.
Having error messages again properly return with an exit code of 1.
2019-06-14 10:58:28 +02:00
be1551c180
Revert "REMOVE ME TEST COMMIT"
...
This reverts commit c7b16bb4b4
.
2019-06-14 10:04:33 +02:00
Gaëtan Harter
c7b16bb4b4
REMOVE ME TEST COMMIT
2019-06-13 16:04:04 +02:00
Gaëtan Harter
f37a586183
dist/tools/build_system_sanity_check: add reasons for each error type
...
Prepend the reason for the matched error pattern.
It will only add the reason if there is an error.
2019-06-13 16:04:04 +02:00
Gaëtan Harter
534ccaf5ee
dist/tools/build_system_sanity_check: handle error by prepending
...
Handle putting the final error message by prepending the output.
This removes issue with errors being concatenated and gives an
interractive output.
The errors are now send to stderr.
2019-06-13 16:03:51 +02:00
Gaëtan Harter
ef24df7ac0
dist/tools/build_system_sanity_check: add script helper functions
...
Add helper functions to better handle output and errors.
2019-06-13 16:01:45 +02:00
Leandro Lanzieri
4f3bc12daa
dist/tools/edbg: Escape variable values
2019-06-06 14:45:35 +02:00
Gaëtan Harter
6c529458f1
dist/tools/buildsystem_sanity_check/: check no PORT_ exports
...
Add sanity check for removed exports.
2019-06-03 16:24:48 +02:00
06013cf443
tools/buildsystem_sanity_check: blacklist PROGRAMMER_SERIAL variable
2019-06-03 10:32:09 +02:00
4b4b5106c9
tools/buildsystem_sanity_check: blacklist new variables
...
DEBUG_ADAPTER, DEBUG_ADAPTER_ID, STLINK_VERSION are now blacklisted from exported variables
2019-06-03 10:32:08 +02:00
Leandro Lanzieri
79c095ef46
tools/jlink: Exit terminal on Ctrl+C
2019-05-29 09:18:52 +02:00
Leandro Lanzieri
07131b4e4d
tools/jlink: Wait for server before pyterm
2019-05-29 09:16:05 +02:00
Gaëtan Harter
d486598fdf
dist/tools/buildsystem_sanity_check: check no PREFLASH* exports
...
Add sanity check for removed exports.
2019-05-28 09:58:40 +02:00
Gaëtan Harter
ea51cf3174
dist/tools/buildsystem_sanity_check: check no DEBUG* exports
...
Add sanity check for removed exports.
2019-05-28 09:58:40 +02:00
Gaëtan Harter
734410b9cd
dist/tools/buildsystem_sanity_check: check no RESET/RESET_FLAGS exports
...
Add sanity check for removed exports.
2019-05-28 09:56:14 +02:00
Gaëtan Harter
95c07c507c
dist/tools/buildsystem_sanity_check: check no FLASHER/FFLAGS exports
...
Add sanity check for removed exports.
2019-05-28 09:56:14 +02:00
Gaëtan Harter
04e76f323d
dist/tools/buildsystem_sanity_check: handle vars exported in vars.inc.mk
...
Handle differently variables that are exported in `vars.inc.mk` from the
ones that should not.
This is needed for the upcoming variables change that should also be
removed from `vars.inc.mk` right now.
Keeping the old behavior will help migrating other variables more easily
by keeping them only exported in vars.inc.mk in the first time.
2019-05-28 09:53:40 +02:00
Martine Lenders
0f3ccb2a33
Merge pull request #11227 from maribu/leonardo
...
boards: Add support for the Arduino-Leonardo
2019-05-24 18:24:21 +02:00
3d6434125e
dist/tools/ci: update print version script in build_and_test.sh
2019-05-24 17:14:06 +02:00
Thomas Perrot
b63121c588
board: add support for arduino-leonardo
2019-05-24 15:12:47 +02:00
Francisco
00c652c8b0
Merge pull request #11223 from cladmi/pr/openocd/flashbin/probe
...
tools/openocd.sh: try to probe the board for real flash address
2019-05-17 10:28:58 -07:00
Gaëtan Harter
468e4084f2
tools/openocd.sh: probe the board for real flash address on binary flash
...
Some boards have a configuration of the flash bank with an address of 0
when it actually starts as 0x08000000 but openocd relies on probing
the hardware at runtime.
This now allows to first probe the board to get the actual value.
If probing fail for any reason, return the value from the configuration.
This can happen when the board is unreachable so at least give a valid
output instead of an error.
This will allow correct flash detection on for example the `stm32f3` and
`stm32l4` which have a configured address of 0.
4a6f93c961/tcl/target/stm32f3x.cfg (L64)
4a6f93c961/tcl/target/stm32l4x.cfg (L51)
2019-05-17 18:28:27 +02:00
9363a515a5
tools/pr_check: make sure no pkg makefile defines PKG_SOURCE_LOCAL
...
The variable is supposed to be used for local development only.
2019-05-16 11:31:32 +02:00
Gaëtan Harter
5bb49b673c
Merge pull request #11517 from cladmi/pr/compile_and_test_for_board/do_not_check_git
...
tools/compile_and_test_for_board: ignore git tracked or not
2019-05-13 19:43:02 +02:00
Gaëtan Harter
89e5c67f28
tools/compile_and_test_for_board: ignore git tracked or not
...
Remove the check that directory are git tracked or not.
This should not be done by the script and was a mistake.
If need be to be checked it should be moved to RIOT 'info-applications'
and running tests should be done in a clean environment anyway.
2019-05-13 16:38:41 +02:00
Gaëtan Harter
16f07e571e
tools/compile_and_test_for_board: assert resultdir is valid
...
Currently giving an absolute or outside of RIOT application breaks the
result directory evaluation which can lead to deleting the application.
Add an assertion to detect it.
2019-05-13 15:47:44 +02:00
Gaëtan Harter
db3847f107
tools/compile_and_test_for_board: add is_in_directory function
...
Add function testing if a path is inside a directory.
2019-05-13 15:38:27 +02:00
Gaëtan Harter
42b3cd5903
dist/tools/buildsystem_sanity_check: add an export variable check
...
Check that some variables are not exported in the build system.
This should track variables that managed to not be exported anymore so
that they do not reappear in a BSP.
It is not a whitelist but just a way to keep things cleaned in the
future.
2019-05-06 13:36:46 +02:00
Martine Lenders
bb7936cf21
release-stats: simplify script usage
2019-04-30 16:06:59 +02:00
Martine Lenders
11da5e8e67
Merge pull request #11435 from miri64/dist/fix/backport-tracking
...
backport_pr: set tracking branch to remotely created branch
2019-04-24 16:37:08 +02:00
Martine Lenders
aef6110b40
backport_pr: set tracking branch to remotely created branch
2019-04-24 15:53:54 +02:00
Martine Lenders
22640396a5
backport_pr: get Head object from new_branch
name after creation
2019-04-24 15:52:55 +02:00
Martine Lenders
e3a99c40f6
backport_pr: exclude 'Reviewed' labels from backport
2019-04-24 11:52:54 +02:00
Martine Lenders
292c5dd730
backport_pr: add doc tests for _get_labels()
2019-04-24 11:47:22 +02:00
Gaëtan Harter
a0ef287f82
Merge pull request #11409 from miri64/dist/enh/backport_pr_fixes
...
dist/tools/backport_pr: several improvements
2019-04-18 14:55:03 +02:00
Semjon Kerner
f72cb846da
dist/tools/nrf52_resetpin: delete obsolete register
2019-04-17 15:32:48 +02:00
Martine Lenders
1930368fd5
backport_pr: exit early when backport branch already exists
2019-04-17 12:44:21 +02:00