Marian Buschsieweke
8183bbb069
makefiles/tests: add unit test for info-boards-supported
2021-02-17 15:40:05 +01:00
Marian Buschsieweke
ed2ae85985
tests/feature_resolution: add build system unit tests
...
This test "application" contains a set of unit tests for the feature resolution
of RIOT's build system.
2021-02-10 21:05:38 +01:00
Martine Lenders
9ecc804151
static-tests: group tests
2021-01-19 17:31:01 +01:00
Martine Lenders
89418e4277
dist/tools/ci/static_tests.sh: fix shellcheck warnings
2021-01-13 22:03:11 +01:00
Martine Lenders
79301c623d
static-tests: add shellcheck (but don't fail)
2021-01-13 22:02:49 +01:00
Martine Lenders
c251551a8c
dist/tools/uncrustify: annotate errors in Github Action
2021-01-12 14:25:09 +01:00
Martine Lenders
619d013d6e
github_annotate.sh: fix usage and function of _github_annotate
2021-01-11 15:57:14 +01:00
Martine Lenders
429a2a8724
github_annotate.sh: fix escaped echo for bash scripts
2021-01-11 15:57:14 +01:00
Martine Lenders
44b48e6c2d
gh-actions: move PR checks from static tests to own workflow
2021-01-08 14:09:42 +01:00
Martine Lenders
39db02ade0
Merge pull request #15669 from miri64/dist/enh/github-annotate-no-file
...
dist/tools/ci/github_annotate.sh: allow annotations without files
2021-01-08 11:06:52 +01:00
Martine Lenders
20350edebb
dist/tools/ci/github_annotate.sh: allow annotations without files
2021-01-08 10:38:59 +01:00
Martine Lenders
40d72df91f
static_tests.sh: only default to master when not in a GitHub action
2021-01-06 12:09:46 +01:00
Martine Lenders
9066ab28e1
make: run static_tests.sh directly with static-tests
target
2020-12-17 15:16:36 +01:00
Martine Lenders
9817811b8f
dist/tools/ci/static_tests.sh: add dependency check for tools
2020-12-17 15:10:17 +01:00
Martine Lenders
f6cc30664e
dist/tools/ci: Add README.md
2020-12-16 21:23:40 +01:00
Martine Lenders
019817d58b
dist/tools/ci: add harness to annotate static tests in Github Actions
2020-12-16 21:23:38 +01:00
b979fb3262
ci/changed_files: exclude lpc2k_pgm tool
2020-12-03 19:17:58 +01:00
8183809ebf
ci/print_versions: don't print directory for make shell
2020-11-09 20:32:02 +01:00
cf04e5c824
Merge pull request #15347 from bergzand/pr/tools/sh2bash
...
dist/tools: Use bash instead of sh where needed
2020-10-30 16:47:38 +01:00
c5b2ded055
dist/tools: Use /usr/bin/env bash
for bash scripts
2020-10-30 13:13:40 +01:00
96cad82910
dist/tools: Use bash instead of sh where needed
...
A number of scripts use features from bash such as `local` which are not
in the POSIX spec. This breaks on systems where sh is not symlinked to
bash.
This patch changes the interpreter indicated by the hashbang to bash for
those scripts
2020-10-30 12:12:10 +01:00
e4f724a443
tools/build_and_test: use all instead of all-debug on native
2020-10-28 22:08:18 +01:00
Marian Buschsieweke
d9e495fe83
build system: use riscv-none-elf as triplet
...
Use riscv-none-elf instead of legacy riscv-none-embed as target triplet for
RISC-V development. However, if ricsv-none-elf is not present, try
riscv64-unknown-elf and riscv-none-embed instead. If the legacy riscv-none-embed
is used, a warning is printed.
2020-09-15 11:18:33 +02:00
Cenk Gündoğan
964413c34a
ci: changed_files: ignore fixdep.c for cppcheck
2020-08-11 09:47:32 +02:00
26c915dcb3
tools: print_toolchain_versions.sh: update to msp430-elf
2020-08-05 14:29:07 +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
Jose Alamos
bf1e2431ac
ci/static_tests: call uncrustify check
2020-04-28 12:35:25 +02:00
f7bb189d3e
dist/tools/ci/static_tests.sh: tag base branch for Murdock
2020-03-03 14:38:13 +01:00
294b999d34
dist/tools/ci/static_tests.sh: fix shellcheck errors
2020-03-03 14:38:13 +01:00
09538c5a75
dist: split out static tests from build_and_test.sh
2020-02-26 12:36:50 +01:00
Sebastian Meiling
2aaf811d84
Merge pull request #9778 from jia200x/pr/vera++
...
style-check/vera++: add style validator and scripts
2020-02-18 10:04:38 +01:00
Jose Alamos
d0b13281d8
ci: invoke vera++ from CI
2020-02-14 14:17:17 +01:00
077bf8aa73
tools/toolchain_version: remove extra underlying -
2020-02-13 10:54:42 +01:00
Juan Carrano
02b72ab385
print_toolchain_versions: print system and make's default shell.
...
Some systems use dash as system shell, others use bash. The shell used
by make can also be different, and unrelated to the system shell.
Differences in this variable can cause problems when testing PRs and
reporting bugs.
The default shell is important system information that should be reported.
2020-01-07 09:28:46 +01:00
Gunar Schorcht
0252af6572
dist/tools/ci: print toolchain version update for esp8266
...
The new ESP8266 port in PR #11108 requires a different tool chain than the previous implementation. The version check must be updated accordingly.
2020-01-04 17:23:28 +01:00
Sebastian Meiling
c185307025
tools: correctly detect and print FreeBSD OS
...
Currently the `print_toolchain_versions` script only supports Linux
and Apple macOS when printing OS name and version. This adds support
for FreeBSD.
2019-12-18 10:25:29 +01:00
Martine S. Lenders
ccc10432be
dist/tools/ci/print_toolchain_versions.sh: add ccache
2019-11-26 09:28:28 +01:00
3e3768140c
tools/ci: fix typo in build_and_test.sh script
2019-10-10 15:48:18 +02:00
5d408d68c4
ci: add codespell check to track typos
2019-10-10 15:48:18 +02:00
Sebastian Meiling
950b83e63e
Merge pull request #10252 from jcarrano/flake8-report-existence
...
tools/ci: correcly report flake8 version.
2019-08-14 11:11:50 +02:00
3d6434125e
dist/tools/ci: update print version script in build_and_test.sh
2019-05-24 17:14:06 +02:00
Juan Carrano
2209435214
tools/ci: correcly report flake8 version.
...
If the flake8 executable is not found, the static test script reports
the tool as missing. It may happen that the flake8 module is installed,
but the console entry point is not.
In the flake8 shell script, flake is invoked via `python -m`. The result
is a confusing error message where static-test reports the tools as missing,
yet the flake8 tests are run.
This patch makes the toolchain version script use the same command as the
flake8 script.
2019-01-15 20:10:29 +01:00
Juan Carrano
9926ac1ffa
ci/print_toolchain_versions: robust/portable version detection.
...
Detect command line tool versions without using "command".
Command may be a builting in some shells, leading to unportability.
The new version uses the status code to correctly detect a non-existent
command. This allows it to differentiate between error in the tool and
not-found errors.
It also works with compound commands, for example `python -m callable_module".
2019-01-15 20:02:01 +01:00
Martine Lenders
4887b22ef5
print_toolchain_versions.sh: add xtensa newlibs
2018-12-29 15:26:36 +01:00
Martine Lenders
745574266c
print_toolchain_versions.sh: add xtensa toolchains
2018-12-29 14:28:08 +01:00
Martine Lenders
7bdbd163c9
print_toolchain_versions.sh: make lists easily diff-able
2018-12-29 14:27:35 +01:00
cladmi
bcf0342cbd
static-test: add buildsystem sanity check
2018-11-19 16:00:46 +01:00
Joakim Nohlgård
3deea7dfbf
print_toolchain_versions.sh: Add make command version
2018-11-12 14:06:29 +01:00
smlng
6d24033bd6
dist/tools: print OS and Kernel version
...
Add output to print_toolchain_version script to include info
on the operating system and its kernel version.
2018-09-25 09:22:42 +02:00
smlng
87505f0334
dist/tools: fix whitespace in print_toolchain_versions
2018-09-25 09:22:41 +02:00