1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist
bors[bot] 20ddfb7e86
Merge #18803
18803: dist/tools: Add compile_like_murdock r=benpicco a=MrKevinWeiss




### Contribution description

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

### Testing procedure

View the help...
```
./dist/tools/compile_test/compile_like_murdock.py -h
```

Do a dry run of the cpu...
```
./dist/tools/compile_test/compile_like_murdock.py -c stm -d
```

Play with each of the args, try adding a module to hello-world to get a module mismatch.

### Issues/PRs references

<!--
Examples: Fixes #1234. See also #5678. Depends on PR #9876.

Please use keywords (e.g., fixes, resolve) with the links to the issues you
resolved, this way they will be automatically closed when your pull request
is merged. See https://help.github.com/articles/closing-issues-using-keywords/.
-->


Co-authored-by: MrKevinWeiss <weiss.kevin604@gmail.com>
2022-12-08 18:40:30 +00:00
..
pythonlibs riotctrl_shell.cord_ep: remove regif parameter 2022-10-10 10:57:37 +02:00
testbed-support make: Sort >/dev/null and 2>&1 when used with command 2022-04-16 10:04:20 +02:00
tools Merge #18803 2022-12-08 18:40:30 +00:00
empty.a make: OSX: don't fail for empty .a archives 2014-06-24 20:29:32 +02:00
gdbinit-docker tools: use 'BOARDSDIR' for the boards directory 2019-12-16 15:35:04 +01:00
Makefile makefiles: do not locally export compilation variables 2019-08-29 10:35:36 +02:00
usb_id_testing usb: Warn on test-ID usage in a unified location 2020-06-30 10:51:36 +02:00