Martine Lenders
d00bde7750
Merge pull request #13789 from cgundogan/pr/uri_parser/remove_check_for_zero
...
sys/uri_parser: check for uri_end instead of 0
2020-04-03 13:13:18 +02:00
Cenk Gündoğan
1bfc1fbcb3
uri_parser: unittests: add validity check for unterminated string
2020-04-02 15:11:34 +02:00
Leandro Lanzieri
c74544c9ec
Merge pull request #13349 from maribu/dependency-or
...
build system: Restructure dependency resolution
2020-04-02 10:40:44 +02:00
Marian Buschsieweke
af21f15b02
makefiles: Minor clean ups
...
- Add FEATURES_REQUIRED_ANY to dependency-debug:
Now `make dependency-debug` by default also stores the contents of
`FEATURES_REQUIRED_ANY`.
- makefiles/features_check.inc.mk: Break long lines
- {tests/minimal,tests/unittests,bootloaders/riotboot}:
Disable auto_init_% in addition to auto_init.
This works around weird behavior due to the USEMODULE being recursively expended
in the first iteration of dependency resolution: Modules added to DEFAULT_MODULE
get automatically added to USEMODULE during the first run, but not for
subsequent. This should be iron out later on.
2020-04-02 09:56:39 +02:00
Martine Lenders
004126a5e9
tests/unittests/uri_parse: generate more sophisticated error message
2020-04-01 08:42:25 +02:00
Martine Lenders
413153704a
tests/unittests/uri_parse: use less confusing assert message
...
Also use `strncmp()` instead of `memcmp()`
2020-04-01 00:56:08 +02:00
Martine Lenders
21399ccade
tests/unittests/uri_parse: add array index as parameter to VEC_CHECK
2020-04-01 00:55:20 +02:00
Martine Lenders
d9b9426a86
Merge pull request #13758 from cgundogan/uri_parser
...
sys/uri_parser: minimal and non-destructive URI parsing
2020-04-01 00:40:27 +02:00
Cenk Gündoğan
ed30450fcf
tests/unittests: add tests for uri_parser
2020-03-31 23:54:40 +02:00
Martine Lenders
32d4b7eea5
Merge pull request #13755 from benpicco/base64-urlsafe
...
sys/base64: Implement Base 64 Encoding with URL and Filename Safe Alphabet
2020-03-31 20:15:23 +02:00
Benjamin Valentin
64d4713301
tests/unittests/base64: add test case for urlsafe_encode
2020-03-31 19:01:05 +02:00
Leandro Lanzieri
64dde8f317
gnrc/nib: Move GNRC_IPV6_NIB_ABR_NUMOF to 'CONFIG_' namespace
2020-03-31 18:07:13 +02:00
Leandro Lanzieri
a77d0dd9c5
gnrc/nib: Move GNRC_IPV6_NIB_OFFL_NUMOF to 'CONFIG_' namespace
2020-03-31 18:07:13 +02:00
Leandro Lanzieri
f6ee712e98
gnrc/nib: Move GNRC_IPV6_NIB_DEFAULT_ROUTER_NUMOF to 'CONFIG_' namespace
2020-03-31 18:07:12 +02:00
Leandro Lanzieri
07771de08f
gnrc/nib: Move GNRC_IPV6_NIB_NUMOF to 'CONFIG_' namespace
2020-03-31 18:07:11 +02:00
Leandro Lanzieri
53a522d642
gnrc/nib: Move GNRC_IPV6_NIB_CONF_MULTIHOP_P6C to 'CONFIG_' namespace
...
Also evaluate using IS_ACTIVE macro.
2020-03-31 18:07:10 +02:00
Leandro Lanzieri
3ec296400d
gnrc/nib: Move GNRC_IPV6_NIB_CONF_DC to 'CONFIG_' namespace
...
Also evaluate using IS_ACTIVE macro.
2020-03-31 18:07:09 +02:00
Leandro Lanzieri
e52b93cef0
gnrc/nib: Move GNRC_IPV6_NIB_CONF_ARSM to 'CONFIG_' namespace
...
Also evaluate it using IS_ACTIVE macro.
2020-03-31 18:07:07 +02:00
Leandro Lanzieri
49ec28867c
gnrc/nib: Move GNRC_IPV6_NIB_CONF_ROUTER to 'CONFIG_' namespace
...
Also evaluate it using IS_ACTIVE macro.
2020-03-31 18:07:05 +02:00
Leandro Lanzieri
40c78f1c75
gnrc/nib: Move GNRC_IPV6_NIB_CONF_6LBR to 'CONFIG_' namespace
...
Also evaluate it using IS_ACTIVE macro.
2020-03-31 18:07:03 +02:00
Benjamin Valentin
9c4eb8918f
tests/unittests: rtt_rtc: blacklist esp32
...
On esp32, pm_layered pulls in periph_rtc.
This results the real rtc functions being called, which of course
can't be fast-forwarded - all the tests fail.
2020-03-24 23:15:55 +01:00
84941a2548
tests/unittests: exclude nucleo-l412kb
2020-03-20 18:48:31 +01:00
Gunar Schorcht
df19c6d1b4
Merge pull request #13519 from benpicco/rtt_rtc
...
drivers/rtt_rtc: add RTT based RTC implementation, enable it for cpu/cc2538, nrf5x_common
2020-03-19 17:18:43 +01:00
Benjamin Valentin
d632eb44b0
tests/unittests: add tests for rtt_rtc
2020-03-19 15:25:14 +01:00
e9af310159
tests: use check_unittests func from testrunner
2020-03-19 10:39:34 +01:00
012567e0a8
tests/unittests: blacklist bootloader_arduino feature
2020-03-18 10:53:18 +01:00
7b17f6254f
Merge pull request #13643 from aabadie/pr/tests/ztimer_cleanup_unittests
...
tests/ztimer_mock: cleanup leftover debug messages
2020-03-18 10:33:36 +01:00
benpicco
796ae80ea2
Merge pull request #13478 from miri64/tests/fix/unittests-6ctx-prefix-match
...
unittests: tests-sixlowpan_ctx: fix prefix check
2020-03-17 13:31:49 +01:00
329c1044bc
tests/ztimer_mock: cleanup leftover debug messages
2020-03-16 15:21:22 +01:00
francisco
55b11b7925
boards/im880b: add insufficient memory to tests
2020-03-13 14:36:51 +01:00
Martine Lenders
5defa1ae34
Merge pull request #13466 from gschorcht/fix_compilation_with_ndebug
...
tests: fix compilation problems with NDEBUG
2020-03-12 19:34:33 +01:00
Gunar Schorcht
4f5dab16b7
tests/unittests/tests-gnrc_ipv6: fix NDEBUG compile problem
2020-03-12 17:40:46 +01:00
benpicco
1212165222
Merge pull request #13584 from kb2ma/nanocoap/add_uquery_improvements
...
net/nanocoap: add uquery improvements
2020-03-12 15:18:07 +01:00
Ken Bannister
2e0a5c053e
tests/nanocoap: add test for coap_opt_add_uquery2()
2020-03-12 08:44:26 -04:00
benpicco
d4e05edac0
Merge pull request #13524 from benpicco/openlabs-kw41z-mini-256kib
...
boards: add openlabs-kw41z-mini-256kib
2020-03-11 15:42:25 +01:00
Benjamin Valentin
9573b2bba0
boards: add openlabs-kw41z-mini-256kib
...
Add the 256k version of the openlabs-kw41z-mini.
They are identical to the openlabs-kw41z-mini except that it uses
the mkw41z256vht4 instead of the mkw41z512vht4.
2020-03-11 13:50:37 +01:00
benpicco
008faef16a
Merge pull request #13581 from Scallog/olimexino-stm32-support
...
boards/olimexino-stm32: add support for olimexino-stm32 board
2020-03-11 11:40:53 +01:00
Corentin 'Kmikaz' Vigourt
54cafc5125
boards/olimexino-stm32: add support for olimexino-stm32 board
2020-03-11 10:59:57 +01:00
5332ecec33
tests/crypto*: use crypto_% modules instead of CFLAGS
2020-03-06 19:49:58 +01:00
Joakim Nohlgård
39980d5ea3
unittests: Add ztimer test suite
2020-03-04 12:44:02 +01:00
Benjamin Valentin
5b64ae4ef5
periph_common/rtc: add rtc_localtime()
...
Add function to convert a RTC timestamp (non-UNIX) to a time struct.
2020-03-03 11:01:02 +01:00
Benjamin Valentin
becff61e20
periph_common/rtc: add rtc_mktime()
...
Add a function to convert a time struct to an unsigned timestamp (non-UNIX).
2020-02-29 17:42:50 +01:00
dylad
fd984439a3
tests/unittests: fix GCC compiler bug in core-atomic for SAML1X
...
Co-Authored-By: benpicco <benpicco@googlemail.com>
2020-02-26 10:56:15 +01:00
dylad
841140ad88
tests/unittests: remove the temporary fix from #13456
2020-02-26 10:56:15 +01:00
Martine S. Lenders
2929b1ba20
unittests: tests-sixlowpan_ctx: fix prefix check
...
The result must be checked for being greater or equal to the targeted
value. So for the [Yoda conditions] in those unittests the comparison
mast be lesser or equal.
[Yoda conditions]: https://en.wikipedia.org/wiki/Yoda_conditions
2020-02-25 17:49:47 +01:00
13a6cfb9ba
tests/unittests: temporarily disable for saml1[01]-xpro
2020-02-24 14:56:04 +01:00
benpicco
628aa1197e
Merge pull request #13331 from btcven/2020_02_10-sram-size
...
cc26x2_cc13x2: use correct RAM value
2020-02-11 15:43:38 +01:00
f3874edd14
tests/unittests: add basic zptr test
2020-02-11 13:59:59 +01:00
Jean Pierre Dudey
de50518146
cc26x2_cc13x2: use correct RAM value
...
Previous value was 20 K, now it's 80 K. The older family of these MCUs
(cc13x0, cc26x0) had that size, currently for cc13x2 and cc26x2 it's
80 K.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-02-10 18:38:15 -05:00
Ken Bannister
b354722574
net/gcoap: remove test migrated to nanocoap
2020-01-29 09:24:46 -05:00