crasbe
a8ccd544e6
tests/unittests: Add unittest for CRC8-LSB
2025-06-07 11:43:25 +02:00
mguetschow
6fc81adc4e
Merge pull request #21514 from mguetschow/shell-commands-xfa
...
treewide: migrate to XFA SHELL_COMMAND
2025-06-02 09:44:12 +00:00
Mikolai Gütschow
6abf12fb41
tests/sys/struct_tm_utility: do not test shell help command
2025-06-02 09:40:50 +02:00
Mikolai Gütschow
e48b310b76
tests/sys: migrate to XFA SHELL_COMMAND
2025-06-02 09:40:50 +02:00
Mikolai Gütschow
a04fcb9d18
tests/sys/congure_*: migrate to XFA SHELL_COMMAND
2025-06-02 09:40:50 +02:00
mguetschow
91003021c6
Merge pull request #21455 from Lukas-Luger/pr/psa-aes-ccm
...
sys/psa_crypto: Adding aead aes ccm
2025-05-27 19:43:17 +00:00
Mikolai Gütschow
f02cfc9a02
tests/{build_system,cpu}: migrate to XFA SHELL_COMMAND
2025-05-27 21:08:43 +02:00
Lukas-Luger
0a9c351bfa
tests/sys: add psa_crypto aes ccm test
2025-05-27 15:21:00 +02:00
mguetschow
0124fdce88
Merge pull request #21461 from Lukas-Luger/pr/psa-ecc-pub-key-derivation
...
sys/psa_crypto: Adding ecc p256r1 pub key derivation
2025-05-27 10:10:31 +00:00
Lukas-Luger
a932a4e86d
tests/sys/psa_crypto_ecdsa: add pub key derivation
2025-05-27 08:42:30 +02:00
Marian Buschsieweke
cac44edec7
tree-wide: replace multiple empty lines with one
...
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00
Gunar Schorcht
1f0f3f6793
Merge pull request #21478 from gschorcht/tests/pkg/fatfs_cleanup_mtd_default
...
tests/pkg/fatfs*: cleanup MTD default dependencies
2025-05-20 20:42:47 +00:00
Gunar Schorcht
04aca0ff00
tests/pkg/fatfs_vfs: use default MTD if enabled by the board
...
To prevent `mtd_sdcard` from being used by default for boards that use a different default MTD, which can lead to module conflicts, `mtd_sdcard` is now only enabled if no other MTD is enabled by default with the corresponding `mtd_*_default` module.
2025-05-20 15:53:07 +02:00
Gunar Schorcht
5ee9328a43
tests/pkg/fatfs: use default MTD if enabled by the board
...
To prevent `mtd_sdcard` from being used by default for boards that use a different default MTD, which can lead to module conflicts, `mtd_sdcard` is now only enabled if no other MTD is enabled by default with the corresponding `mtd_*_default` module.
2025-05-20 15:35:33 +02:00
crasbe
876792e489
Merge pull request #10688 from gschorcht/drivers_mcp23x17
...
drivers: add MCP23x17 I/O expander support
2025-05-19 19:15:47 +00:00
Gunar Schorcht
a23a849aeb
drivers/mcp23x17: SAUL integration
2025-05-19 16:42:14 +02:00
Gunar Schorcht
a5da14835d
tests/drivers/mcp23x17: test app for MCP23x17 driver
2025-05-19 16:42:14 +02:00
Leandro Lanzieri
6247c107ba
tests/drivers/mrf24j40: rename common.h
...
To avoid name clash, rename this application header file to
test_common.h.
2025-05-15 14:51:05 +02:00
Leandro Lanzieri
044b1f52e7
test/drivers/kw2xrf: rename common.h
...
To avoid name clash, rename this application header file to
test_common.h.
2025-05-15 14:51:04 +02:00
Leandro Lanzieri
f77b41458e
tests/net/ieee802154_hal: rename common.h
...
To avoid name clash, rename this application header file to
test_common.h
2025-05-15 14:51:04 +02:00
Leandro Lanzieri
a29efa2fc2
tests/core/irq_cpp: remove irq.h override
2025-05-15 14:51:04 +02:00
Leandro Lanzieri
b6b92cde20
tests/pkg/lwip: rename local header
2025-05-15 14:51:04 +02:00
Gunar Schorcht
7c150d66ed
tests/sys/arduino_blinky: add most common Arduino example as test app
2025-05-13 14:51:50 +02:00
David Picard
2c97a5330f
tests/drivers/abp2: test implementation
2025-05-04 10:28:59 +02:00
Marian Buschsieweke
1b70a59ded
tree-wide: add the NONSTRING attribute where needed
...
This declares all char arrays that intentionally are lacking the
terminated zero byte as `NONSTRING`.
2025-04-27 22:49:22 +02:00
Marian Buschsieweke
85233b355b
tests/drivers/hm330x: use fmt_table
...
This replaces the vendored in `print_col_u32_dec()` with the one provided
by the `fmt_table` module.
2025-04-27 22:49:22 +02:00
Marian Buschsieweke
a862dc6794
Merge pull request #21428 from benpicco/sys/bcd_buf_from_str
...
sys/bcd: add `bcd_buf_to_u32()` and `bcd_buf_from_str()`
2025-04-26 14:02:28 +00:00
Benjamin Valentin
444fc84697
tests/unittests: add tests for bcd_buf_to_u32() and bcd_buf_from_str()
2025-04-25 18:48:18 +02:00
Marian Buschsieweke
42dacd7c9d
tests/sys/snprintf: Test format specifiers
...
This adds a simple test applications that runs snprintf on standard
format specifiers and compares the output with the expected output.
The assumption is that internally every stdio implementation uses the
same formatting code for each member of the printf functions family,
so testing snprintf only is sufficient.
2025-04-24 11:46:09 +02:00
Marian Buschsieweke
d9938cc634
Merge pull request #21402 from maribu/tests/unittests/clist-sort
...
tests/unittests/tests-core-clist: improve unit test
2025-04-23 19:53:11 +00:00
Marian Buschsieweke
60e31027b9
tests/unittests/core: reformat code
...
This should fix the column length warning of the static tests.
2025-04-23 20:39:42 +02:00
Marian Buschsieweke
0602bea5ae
tests/unittests/texts-core-clist: improve unit test
...
- Iterate of different lengths of unsorted data to also cover corner case
one-item list
- Actually check that the list is sorted afterwards (and not just that
the maximum got sorted in last)
- Actually check that the list was stable-sorted (as the API doc
promises a stable sort)
- Increase the length of the input data for better test coverage
- Check that no elements get lost while sorting
Co-authored-by: crasbe <crasbe@gmail.com>
2025-04-23 20:39:29 +02:00
Marian Buschsieweke
61951b31a1
tests/net/gnrc_netif: do not access internal scheduler state
...
This replaces code that directly accessed internal scheduler state with
the correct API calls.
2025-04-17 18:47:39 +02:00
Marian Buschsieweke
c05d546bca
examples,tests: Update Makefile.ci
...
This updates the `Makefile.ci` entries for all MSP430 boards plus a few
low end Cortex-M boards.
2025-04-16 15:25:38 +02:00
Benjamin Valentin
f404519ce3
tests/shell: enable the test on native
...
Now that #19002 has been merged, the test is also working on `native`.
2025-04-14 18:56:44 +02:00
Marian Buschsieweke
6b2940959f
tests/bench/runtime_coreapis: reduce benchmark runs in the CI
...
On `native32` / `native64` in the CI, the benchmark results will be
unusable due to the background load of other build tasks anyway. There
is a risk that due to the high number of benchmark runs the test will
time out.
So to avoid the timeouts and because the results are unusable anyway,
the benchmark runs have been drastically reduced. This will still
allow the CI to confirm that the benchmarks do run successfully to
completion.
2025-04-14 13:36:53 +02:00
Marian Buschsieweke
68968c5ebb
tests/bench/runtime_coreapis: add clist_sort() benchmark
...
This adds a benchmark for clist_sort() and calls that on three different
list sizes.
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
Co-authored-by: Mikolai Gütschow <mikolai.guetschow@tu-dresden.de>
2025-04-14 13:36:52 +02:00
fabian18
db0f497c61
Merge pull request #21391 from fabian18/pr/fmt_time
...
sys/fmt: add {fmt,scn}_time_tm_iso8601
2025-04-10 19:28:17 +00:00
Fabian Hüßler
d79b27df30
tests/periph/rtc: use time fmt API
2025-04-10 17:06:09 +02:00
Fabian Hüßler
29b8af8a85
tests/unittests/tests-fmt: test ISO 8601 format functions
2025-04-10 16:42:24 +02:00
Joshua DeWeese
dcf71b510d
Merge pull request #21344 from Enoch247/fix-isrpipe
...
sys/isrpipe: unit tests, doc, and fix init
2025-04-09 23:56:03 +00:00
mguetschow
72409541be
Merge pull request #21383 from mguetschow/rust-bump
...
treewide: update riot-wrappers and riot-sys
2025-04-09 11:10:07 +00:00
Joshua DeWeese
a749e3493d
sys/isrpipe: add unit tests
...
This patch adds unit tests for the isrpipe module.
2025-04-08 20:17:04 -04:00
crasbe
14fc6c04cf
tests/sen5x: remove KConfig file
2025-04-08 18:36:54 +02:00
crasbe
87352ee72d
Merge pull request #19955 from dprigoshij/sen5x
...
drivers/sen5x: Add device driver for SEN5x
2025-04-08 13:21:57 +00:00
Mikolai Gütschow
223031e0d6
treewide: update riot-wrappers and riot-sys
...
diff generated with `find -name Cargo.toml -exec cargo update --manifest-path "{}" --package riot-wrappers --package riot-sys ";"` according to https://github.com/RIOT-OS/RIOT/blob/master/doc/guides/managing-a-release/README.md?plain=1#L31
upcoming release version bump similar to https://github.com/RIOT-OS/RIOT/pull/21133
2025-04-08 14:29:46 +02:00
Daniel Prigoshij
0fd9959fbb
tests/driver_sen5x: Added a test case for the SEN5X driver
2025-04-08 11:22:15 +02:00
crasbe
a826b77de9
Merge pull request #21371 from maribu/doc/mixed-bag-of-fixes
...
tree-wide: mixed back of documentation fixes
2025-04-07 21:48:11 +00:00
crasbe
ff6bab94f6
Merge pull request #21322 from mguetschow/psa-crypto-auto-init
...
sys/psa_crypto: usa auto_init module for initialization
2025-04-07 17:05:01 +00:00
Marian Buschsieweke
db0be36345
tree-wide: mixed back of documentation fixes
...
This fixes a number of documentation issues that LLVM/clang would flag
with `-Wdocumentation`.
2025-04-07 15:59:13 +02:00