1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

4243 Commits

Author SHA1 Message Date
benpicco
8e11acc9f8
Merge pull request #13877 from ML-PA-Consulting-GmbH/feat/20200409__add_mtd_spi_eeprom
drivers/mtd_spi_eeprom: add MTD wrapper for AT25XXX EEPROMs
2020-05-06 15:56:34 +02:00
Martine S. Lenders
8ff77f6444
tests/gnrc_netif: fix test script for empty payload
With the rework of `gnrc_pktdump` it does not try to print packets with
empty payload anymore. This needs to be reflected in the test script.
2020-05-06 10:46:59 +02:00
8ffd34ddd0
Merge pull request #12776 from maribu/test_event_wait_timeout
tests/event_wait_timeout: Fix for 8bit platforms
2020-05-05 21:33:06 +02:00
Francisco
cea0d1c532
Merge pull request #13421 from benpicco/cpu/sam0_common/i2c-deinit
drivers/periph/i2c: add periph_i2c_reconfigure feature & implementation for sam0
2020-05-05 19:09:47 +02:00
343dc3f90f
Merge pull request #13909 from fjmolinas/pr_stm32_rtt
cpu/stm32_common: make RTT_FREQUENCY configurable
2020-05-05 16:45:39 +02:00
Benjamin Valentin
896f9db71f tests/periph_i2c: add tests for periph_i2c_reconfigure features
Add a test to re-configure the I2C pins to GPIO functionality and
use them as output.

A small delay is added to allow for observing the change in power
draw.
2020-05-05 16:12:19 +02:00
Johannes Koster
177a653bd1 drivers/at25xxx: add MTD wrapper for AT25XXX EEPROMs
drivers/at25xxx: add mtd_wrapper as submodule

tests: add mtd_at25xxx test module for mtd wrapper

drivers/Makefile.dep: add at25xxx dep for mtd_at25xxx module
2020-05-05 13:37:51 +01:00
Francisco Molina
c95d02dfd5
tests/periph_rtt: lower RTT_FREQUENCY for stm32 boards
All stm32% but stm32f1 RTT are based on a 16 bit LPTIM, if using
the default 32768KHz configuration TICKS_TO_WAIT will overflow
2020-05-05 14:36:32 +02:00
d3e18c0ec4
Merge pull request #13025 from JulianHolzwarth/pr/xtimer_test_overflow
tests: New test for xtimer_now with interrupts disabled
2020-05-05 12:16:38 +02:00
JulianHolzwarth
fbfe7a4d7b tests/xtimer_rmutex_lock_timeout: new test
this implements a new test for sys/xtimer/xtimer.c: xtimer_rmutex_lock_timeout
The test is similar to tests/xtimer_mutex_lock_timeout
2020-05-04 17:56:08 +02:00
Marian Buschsieweke
51c19d5b6b
tests: Add test for irq_disable() / irq_restore() 2020-05-04 12:52:39 +02:00
JulianHolzwarth
921d9cf633 tests/xtimer_now_irq/: New test for xtimer_now() with irq_disable()
This test checks, if the timer returns the correct time (xtimer_now_usec() is called), when interrupts are disabled. Specifically tested is if the time is correct after a low-level timer overflow.
2020-05-01 15:37:51 +02:00
benpicco
99e8b04921
Merge pull request #13812 from gschorcht/cpu/esp32/fix_newlib_nano
cpu/esp32: use module newlib_nano
2020-05-01 14:40:02 +02:00
benpicco
2284c48175
Merge pull request #13757 from benpicco/pm_unblock_rtc
tests/periph_pm: introduce set_rtc
2020-05-01 14:14:53 +02:00
benpicco
c754e0ab3c
Merge pull request #13739 from Ciusss89/_dev
test: conn_can: add remote request test
2020-05-01 14:11:41 +02:00
Francisco
919249f361
Merge pull request #13862 from maribu/extra_boards
Makefile*: Allow multiple external board dirs
2020-04-29 20:12:06 +02:00
Marian Buschsieweke
93f8f8cd84
tests/external_board_native: Extended readme
Added a note to explain why the deprecated variable BOARDSDIR is still used.
2020-04-29 18:32:39 +02:00
Marian Buschsieweke
b0964675f1
tests,examples: Use EXTERNAL_BOARD_DIRS 2020-04-29 18:32:39 +02:00
Marian Buschsieweke
cf379660e9
tests/external_board_dirs: Test app for EXTERNAL_BOARD_DIRS 2020-04-29 18:32:39 +02:00
Benjamin Valentin
bb3995b462 tests/periph_pm: introduce set_rtc
Similar to unblock_rtc, but uses `pm_set()` instead of `pm_unblock()`.
2020-04-29 18:06:36 +02:00
Benjamin Valentin
ffdb115ffe tests/periph_pm: drop use of mktime()
The RTC implementation are expected to normalize the input struct.
2020-04-29 18:04:27 +02:00
9a4537eef6
Merge pull request #13976 from maribu/pm_get_blocker
sys/pm: Add pm_get_blocker()
2020-04-29 12:37:15 +02:00
2af3ea586a
Merge pull request #13947 from benpicco/riot-bus_multibus
core/msg: add message bus
2020-04-29 12:24:12 +02:00
Marian Buschsieweke
f6873dbac3
sys/pm: Add pm_get_blocker()
Provide access to pm_blocker via a well-defined API rather than hacks.
2020-04-29 11:21:03 +02:00
b04d354640
tests/periph_eeprom: use native as default board 2020-04-29 08:56:34 +02:00
decd73129c
tests/periph_eeprom: improve automatic test script
Reboot the application and verify data previously written on EEPROM by the test command are still there
2020-04-29 08:55:10 +02:00
Leandro Lanzieri
b543fbd69d
Merge pull request #13879 from aabadie/pr/sys/touch_dev
sys/touch_dev: add generic API for touch device
2020-04-28 18:58:25 +02:00
f22529ec71
Merge pull request #11731 from benemorius/tests-periph_pm-ux
tests/periph_pm: make usage more intuitive and move shell commands to sys/
2020-04-28 18:52:09 +02:00
804cc8cbd7
tests: add new boards in low memory blacklists 2020-04-28 18:35:17 +02:00
benpicco
96c638f2d1
Merge pull request #13949 from benpicco/MAKEFILEDIR-doc
Makefile.include: update the documentation of $(MAKEFILEDIR)
2020-04-28 18:30:44 +02:00
6778e34032
tests/touch_dev: add test application 2020-04-28 18:18:01 +02:00
Thomas Stilwell
325ab426d4
sys/shell/commands: pm: add set mode block mode unblock mode 2020-04-28 16:56:34 +02:00
Thomas Stilwell
aa97e7b49a
tests/periph_pm: be more verbose about what pm_set() is doing 2020-04-28 16:51:24 +02:00
Thomas Stilwell
90579e81c9
tests/periph_pm: print current PM blockers on startup 2020-04-28 16:51:24 +02:00
Thomas Stilwell
100390cdca
tests/periph_pm: print block/unblock error instead of assertion failure 2020-04-28 16:51:23 +02:00
Benjamin Valentin
d5dce87e1b Makefile.include: rename MAKEFILEDIR to LAST_MAKEFILEDIR
Rename the variable to make it clearer that it refers to the last Makefile
included.
Usually this is the current file, but when another Makefile is included this
changes.
2020-04-28 15:45:27 +02:00
Benjamin Valentin
950c18db42 tests/thread_msg_bus: add test application for message bus 2020-04-28 13:35:05 +02:00
Martine S. Lenders
53b5f37295
tests/lwip_sock_{ip,udp}: extend tests for new function 2020-04-28 09:46:07 +02:00
Leandro Lanzieri
de789169b2
tests/gnrc_dhcpv6_client: Increase timeout 2020-04-27 11:31:48 +02:00
Leandro Lanzieri
153f04f534
tests/gnrc_dhcpv6_client: Fix TERMPROG 2020-04-27 11:27:47 +02:00
Benjamin Valentin
aac593a7c9 tests/periph_uart: fix for !stdio_uart
Only include `stdio_uart.h` if stdio over UART is used.
This makes it possible to use the default stdio UART0
for the test.

This is needed if e.g. the default stdio of a board is USB CDC ACM.
2020-04-26 20:31:28 +02:00
Giuseppe Tipaldi
73ae19e043 test: conn_can: add remote request test example 2020-04-25 10:04:19 +02:00
Giuseppe Tipaldi
1acb24b13e test: conn_can: add remote request test 2020-04-25 10:04:17 +02:00
Cenk Gündoğan
0121ff13b8 tests-nanocoap: test adding and retrieving the proxy-uri option 2020-04-23 22:41:46 +02:00
Cenk Gündoğan
c0f4a2c085 tests-nanocoap: add missing full stop in doc 2020-04-23 22:41:12 +02:00
Marian Buschsieweke
9f75501322
tests/ztimer_msg: Use %lu to print times 2020-04-23 21:18:48 +02:00
Marian Buschsieweke
1b44066dbd
tests/xtimer_msg: Use %lu to print times 2020-04-23 21:16:57 +02:00
Marian Buschsieweke
60aabbec25
tests/event_wait_timeout: Use C11 atomics for IPC
The test currently uses static globals for communication without any protection.
This could lead optimizing C compilers to deduce that access to those are not
needed (e.g. with LTO enabled). Using C11 atomics is the easiest way to tell
the compiler that those accesses are used for communication between two
different threads of execution (here: between the ISR and the main thread).
2020-04-23 21:16:03 +02:00
Cenk Gündoğan
ecc4932d22 unittests/nanocoap: test for adding an unterminated string path 2020-04-22 12:50:50 +02:00
Leandro Lanzieri
46507ff247
Merge pull request #13894 from kb2ma/gcoap/ping
net/gcoap: add CoAP ping request
2020-04-21 12:23:54 +02:00
5293e5400c
Merge pull request #13210 from kaspar030/add_xtimer_left
sys/xtimer: remove uses of xtimer internal struct members
2020-04-21 12:15:41 +02:00
1492dc0655 tests/gnrc_ipv6_nib: memory-blacklist msb-430h 2020-04-21 11:26:57 +02:00
9800b7bf2c tests/bench_timers: remove explicit zeroing of xtimer members 2020-04-21 11:26:57 +02:00
c1f93647a9 tests/rng: remove explicit zeroing of xtimer members 2020-04-21 11:26:56 +02:00
Francisco
3d8f71768c
Merge pull request #13846 from benpicco/Makefile-THISDIR
Makefile.include: add $(MAKEFILEDIR) helper and use it
2020-04-21 11:00:52 +02:00
40cb065a45
Merge pull request #13839 from leandrolanzieri/pr/kconfig_migrate/sys/usbus_ecm
usbus/cdc/ecm: Expose configurations to Kconfig
2020-04-21 10:12:30 +02:00
Ken Bannister
6eae4ded84 net/gcoap: create CoAP ping request 2020-04-17 08:15:20 -04:00
Ken Bannister
2d3eb1a343 net/nanocoap: validate empty message length 2020-04-17 08:15:20 -04:00
Benjamin Valentin
6ca7ac949a tests/driver_at25xxx: adapt to change in driver API 2020-04-17 11:58:45 +02:00
Martine Lenders
94e08b9307
Merge pull request #13882 from miri64/tests/fix/emcute-samr21-xpro
tests/emcute: add small inter-packet gap between server replies
2020-04-16 23:34:09 +02:00
Martine S. Lenders
05b5db1a66
tests/emcute: add small inter-packet gap between server replies
On `samr21-xpro` not all UDP packets were received, leading to the
testing automaton to get into an invalid state and failing. This small
delay between `sendto()` fixes that issue.
2020-04-16 22:19:51 +02:00
Francisco
85cbc049ef
Merge pull request #13853 from kaspar030/simplify_xtimer_now32_overflow_test
tests/xtimer_now32_overflow: simplify
2020-04-16 18:03:51 +02:00
4ac5e5bd63 tests/xtimer_now32_overflow: simplify 2020-04-16 15:28:07 +02:00
Benjamin Valentin
bba2231d41 tests: use $(MAKEFILEDIR) 2020-04-15 11:51:15 +02:00
Hendrik van Essen
013af64a80 tests/shell: add test case for line editing
Test erasing characters using backspace. The test is not really testing
a lot right now, because the host is still line buffering.

Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-04-14 15:38:56 +02:00
Leandro Lanzieri
b4655f6c91
Merge pull request #13848 from fjmolinas/pr_ccm_no_plaintext
sys/crypto/modes/ccm: handle input_len = 0
2020-04-14 10:49:54 +02:00
Martine S. Lenders
4aa4a17071
tests/xtimer: add regression test for long_start_time update bug
Co-Authored-By: Julian Holzwarth <julian.holzwarth@fu-berlin.de>
2020-04-10 12:42:24 +02:00
Francisco Molina
7a39e2e875
tests/sys_crypto/tests-crypto-modes-ccm: add test for input_len=0 2020-04-10 10:41:01 +02:00
Leandro Lanzieri
4433b9bc7a
tests/usbus_cdc_ecm: Check if USB parameters are set via Kconfig
This also avoids running Kconfig by default, given that there is a
Kconfig file in the application folder.
2020-04-08 18:15:09 +02:00
Leandro Lanzieri
037f746120
Merge pull request #13836 from miri64/tests/enh/gnrc_rpl_srh-asyncsniffer
gnrc_rpl_srh: use AsyncSniffer for sniffing
2020-04-08 15:56:47 +02:00
Martine S. Lenders
bb947f750a gnrc_rpl_srh: use AsyncSniffer for sniffing
The sniffer in `tests/gnrc_rpl_srh` always had stability issues, since
it uses some badly synchronized threading of mine. Since v2.4.3 scapy
has its own [asynchronous sniffer] (which is already used in
`tests/gnrc_dhcpv6_client_6lbr`), so I ported my sniffer implementation
to use that instead.

[asynchronous sniffer]: https://scapy.readthedocs.io/en/latest/usage.html#asynchronous-sniffing
2020-04-08 15:36:34 +02:00
Martine Lenders
6ef0bf9410
Merge pull request #13835 from miri64/tests/fix/gnrc_netif_single
tests: fix for `GNRC_NETIF_SINGLE`
2020-04-08 12:03:55 +02:00
Martine S. Lenders
9bf0a2253a
tests/gnrc_sock_dns: set GNRC_NETIF_SINGLE 2020-04-08 11:11:41 +02:00
14706d7423
Merge pull request #13243 from leandrolanzieri/pr/kconfig_migrate/net/nanocoap
net/nanocoap: Expose configurations to Kconfig
2020-04-08 10:51:54 +02:00
Leandro Lanzieri
1f24698a2a
Merge pull request #13792 from benpicco/pkg/nanopb-fixes
pkg/nanopb: fix for proto files with includes
2020-04-08 10:37:20 +02:00
04f890fa8b
tests: handle cases for bootloader_nrfutil blacklist 2020-04-08 09:35:08 +02:00
Leandro Lanzieri
4052c01e85
net/nanocoap: Move NANOCOAP_URI_MAX to 'CONFIG_' namespace 2020-04-07 17:00:53 +02:00
Leandro Lanzieri
c84576ef6e
net/nanocoap: Move NANOCOAP_NOPTS_MAX to 'CONFIG_' namespace 2020-04-07 17:00:52 +02:00
067b324645
Merge pull request #11945 from benpicco/EEPROM-m95m01
drivers: add driver for AT25xxx family of EEPROMs
2020-04-07 13:19:21 +02:00
Ken Bannister
b32fcd28d1
Merge pull request #13815 from kb2ma/nanocoap/add_canonical_uri_query
net/gcoap: add canonical uri query function names
2020-04-07 06:32:13 -04:00
Benjamin Valentin
5ef52c7dc2 tests: add test for at25xxx EEPROM driver 2020-04-07 12:31:46 +02:00
Ken Bannister
7369fac944 tests/nanocoap: use canonical function name to add Uri-Query option 2020-04-06 06:19:44 -04:00
Cenk Gündoğan
abd399b934
Merge pull request #13804 from chrysn-pull-requests/uri-test-isabsolute
uri_parser: Fix and test non-relative recognition
2020-04-05 13:42:11 +02:00
Martine Lenders
6e27a8e4a7
Merge pull request #13734 from miri64/tests/enh/rdnss-option
tests: add test to test RDNSS option handling
2020-04-05 01:43:52 +02:00
Martine Lenders
94edc5a4e6
tests: add test to test RDNSS option handling 2020-04-05 01:16:40 +02:00
benpicco
e626c520d3
Merge pull request #13814 from gschorcht/cpu/esp32/temp_newlib_fix
tests/libc_newlib: blacklist esp32 boards temporarily
2020-04-04 18:23:40 +02:00
Gunar Schorcht
ec2fed4ae3 Revert "tests/libc_newlib: blacklist esp32 boards temporarily"
This reverts commit c7dd22efde.
2020-04-04 13:37:56 +02:00
Gunar Schorcht
c7dd22efde tests/libc_newlib: blacklist esp32 boards temporarily
ESP32 boards must be blacklisted for `tests/libc_newlib` to avoid CI compilation errors until the toolchain is updated on all nodes.
2020-04-04 13:33:00 +02:00
Martine Lenders
81f3fddc1f
tests/gnrc_tcp: set GNRC_NETIF_SINGLE 2020-04-03 23:42:52 +02:00
Martine Lenders
e62066813d
tests/emcute: set GNRC_NETIF_SINGLE 2020-04-03 23:32:47 +02:00
Francois Berder
d45196e28d tests: buttons: Fix build failure if BTN0_PIN is not declared
On some boards, button 0 does not exist so BTN0_PIN is not defined, but
these boards may define other buttons.

Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-04-03 18:48:13 +01:00
Martine Lenders
942c63eb39
Merge pull request #13665 from leandrolanzieri/pr/dist/testrunner_check_unittests_fix_regex
dist/testrunner: Capture number of unittests that passed
2020-04-03 16:53:55 +02:00
chrysn
2ec0fee1fa uri_parser: Adjust test expectations on relative references with colon
This fixes the contested case, and adds the example of RFC3986 Section
4.2[1] to the should be relative cases.

[1]: https://tools.ietf.org/html/rfc3986#section-4.2
2020-04-03 15:21:33 +02:00
chrysn
3d6d27374c uri_parser: Add test for absolute function
One value in the output is possibly wrong, was left in the passing state
as the rest of the expected state reflects the same misconception, and
commented thusly.
2020-04-03 14:54:38 +02:00
Leandro Lanzieri
8ce1bcd4d0
tests: Use returned value of 'check_unittests' 2020-04-03 14:52:48 +02:00
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
Benjamin Valentin
7fd329b3a1 pkg/nanopb: fix for proto files with includes
Proto files can include other proto files.
E.g. nanopb comes with a `nanopb.proto` include that contains some
nanopb-specific extensions.

This patch makes it possible to include this file as well as specifying
additional proto include folders.

I added the include to `simple.proto` so it gets exercised by the test.
2020-04-02 17:21:25 +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
76acde0984
Merge pull request #13779 from miri64/sock/enh/sock_buf_recv-iterate-chunks
sock: amend API to iterate over stack-internal buffer chunks
2020-04-01 16:59:03 +02:00
Martine S. Lenders
e4c43200ba
tests/gnrc_sock_{ip,udp}: adapt tests for sock_*_recv_buf API change 2020-04-01 15:50:51 +02:00
benpicco
660b1a9b5f
Merge pull request #10083 from gschorcht/drivers_hmc5883l
drivers: add driver for Honeywell HMC5883L magnetometer
2020-04-01 14:49:34 +02:00
Gunar Schorcht
e9c0f76934 tests: add hmc5883l driver test 2020-04-01 13:37:22 +02:00
Benjamin Valentin
5b74024bfe tests: add arduino-nano to Makefile.ci
Somehow this board is sometimes skipped by Murdock.
2020-04-01 11:05:37 +02:00
Marian Buschsieweke
007ac492ff
drivers/ws281x: Use FEATURES_REQUIRED_ANY 2020-04-01 09:12:50 +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
1f20ffc150
gnrc/nib: Move GNRC_IPV6_NIB_CONF_NO_RTR_SOL to 'CONFIG_' namespace
Also evaluate using IS_ACTIVE macro.
2020-03-31 18:07:10 +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
ce931f179c
gnrc/nib: Move GNRC_IPV6_NIB_CONF_SLAAC to 'CONFIG_' namespace
Also evaluate it using IS_ACTIVE macro.
2020-03-31 18:07:05 +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
benpicco
e7c1605119
Merge pull request #13691 from benpicco/tests/driver_netdev_common
tests/driver_netdev_common: add compile-test for network drivers
2020-03-31 14:50:28 +02:00
Hendrik van Essen
e38e3c5db9
tests/driver_pca9685: add atmega32u4 boards to Makefile.ci
fixed shell is too big for atmega32u4 based boards
2020-03-30 12:32:57 +02:00
Hendrik van Essen
a9b21ed911
tests/shell: remove redundant parentheses 2020-03-30 12:26:23 +02:00
Hendrik van Essen
68a35f53de
tests/shell: add test case for exceeding lines
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:23 +02:00
Hendrik van Essen
8a8416a6f6
tests/shell: fix test case for line cancelling
The test for the line cancellation (ctrl-c) functionality was unable to
detect error because of the way pexpect matches output.

While working on the long line shell bug, a regression was about to be
introduced because of this. This commit fixes the test by directly reading from
the child process and expects an exact response.

Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:22 +02:00
Hendrik van Essen
c1e3e613a5
tests/shell: check for shell prompt
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:22 +02:00
Hendrik van Essen
32d7c9b6b8
tests/shell: check for startup message
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:21 +02:00
Hendrik van Essen
393eadcfb9
tests/shell: avoid sending an extra empty line on native
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:21 +02:00
Hendrik van Essen
c8daf596c9
tests/shell: add test case for shell's buffer size
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:21 +02:00
c526b11195 tests: add pkg_libbase58 test 2020-03-29 23:18:34 +02:00
Benjamin Valentin
3ec0acde8a tests/driver_w5100: add compile-test for w5100 2020-03-28 19:23:19 +01:00
Benjamin Valentin
732cd51a52 tests/driver_xbee: use common netdev test 2020-03-28 18:02:09 +01:00
Benjamin Valentin
f71226c016 tests/driver_dose: add compile-test for DOSE 2020-03-28 18:02:09 +01:00
Benjamin Valentin
e02dffe5f8 tests/driver_mrf24j40: add compile-test for mrf24j40 2020-03-28 18:02:09 +01:00
Benjamin Valentin
b775475d1b tests/driver_netdev_common: add compile-test for netif drivers 2020-03-28 18:02:09 +01:00
benpicco
8024380f7b
Merge pull request #13700 from miri64/gnrc_sock/enh/recv_buf
gnrc_sock: provide implementation for `sock_*_recv_buf()`
2020-03-27 16:34:57 +01:00
benpicco
b535c66ba1
Merge pull request #13729 from fjmolinas/pr_tests_usbus
test/usbus: disable auto_init_usbus
2020-03-26 22:56:33 +01:00
Francisco Molina
c2d5f6e8d9
test/usbus: disable auto_init_usbus 2020-03-26 15:56:21 +01:00
Martine Lenders
061eb88c05
Merge pull request #12994 from jia200x/pr/gnrc_netif_desc_alloc
gnrc_netif: implementation of dynamic GNRC_NETIF_NUMOF approach
2020-03-26 14:30:44 +01:00
Jose Alamos
124b7ae406 tests/gnrc_ipv6_nib_6ln: blacklist boards with insufficient memory 2020-03-26 14:19:03 +01:00
Jose Alamos
3b1c3426cb tests/gnrc_ipv6_nib: blacklist boards with insufficient memory 2020-03-26 14:19:03 +01:00
Jose Alamos
e451570219 gnrc_netif: remove GNRC_NETIF_NUMOF macro 2020-03-26 11:12:23 +01:00
Jose Alamos
67ed9defbe gnrc_netif_xxx_create: use external netif allocation 2020-03-26 11:12:23 +01:00
Marian Buschsieweke
937361856d
Merge pull request #13702 from ccoors/feature/esp32-ws281x
drivers/ws281x: Add support for esp32
2020-03-25 21:39:40 +01:00
Christian Friedrich Coors
08703766fc drivers/ws281x: Add ESP32 support 2020-03-25 17:25:35 +01:00
Francisco
12b47452dc
Merge pull request #13697 from bergzand/pr/libcose/disable_monocypher
pkg/libcose: Remove monocypher crypto mode
2020-03-25 10:41:31 +01:00
bf2b495d34
Merge pull request #13703 from fjmolinas/pr_usbus_autoinit
Makefile.dep: add auto_init_usbus as usbus DEFAULT_MODULE
2020-03-25 10:19:04 +01:00
Gunar Schorcht
11b5503aa6
Merge pull request #13705 from benpicco/tests-rtt_rtc-fix
unittests/tests-rtt_rtc: blacklist test on esp32
2020-03-25 09:53:05 +01:00
bf703a70c3
tests/pkg_libcose: remove the monocypher crypto option 2020-03-25 09:37:06 +01:00
Francisco
ddf763c9da
Merge pull request #13696 from fjmolinas/pr_tests_fixes
tests: fixes for evtimer_msg and bench_runtime_coreapis
2020-03-25 08:52:34 +01: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
7cc1529755
Merge pull request #13549 from kaspar030/add_tests_xtimer_overhead
tests/xtimer_overhead: initial commit
2020-03-24 21:55:33 +01:00
Martine S. Lenders
42f9e1953c
tests/gnrc_sock_{ip,udp}: extend tests for new function 2020-03-24 17:15:17 +01:00
Francisco Molina
15ab36409f
Makefile.dep: add auto_init_usbus as usbus DEFAULT_MODULE 2020-03-24 14:33:09 +01:00
Francisco Molina
62ff10fc54
bench_runtime_coreapis/tests: multiple fixes 2020-03-24 14:15:50 +01:00
Francisco Molina
865b975c3d
tests/evtimer_msg: fix assert range 2020-03-24 14:15:25 +01:00
6faae9a9c9
Merge pull request #13657 from aabadie/pr/boards/backlight_common_defines
boards/pinetime: add defines for controlling the backlight pin
2020-03-24 13:52:57 +01:00
Leandro Lanzieri
877db8c00e
Merge pull request #13557 from gschorcht/doc/fix_url
doc: fix broken links
2020-03-24 13:08:18 +01:00
6202e2da71
tests: use backlight defines instead of board module 2020-03-24 12:02:50 +01:00
Gunar Schorcht
2afc32099a tests/pkg_tensorflow-lite: fix broken links 2020-03-24 10:39:49 +01:00
Gunar Schorcht
206d6651fd tests/pkg_wolfcrypt-ed25519-verify: fix broken links 2020-03-24 10:39:49 +01:00
Gunar Schorcht
0d8fb5a463 tests/pkg_semtech-loramac: fix broken links 2020-03-24 10:39:49 +01:00
Gunar Schorcht
6ab0d8bf99 tests/driver_si114x: fix broken links 2020-03-24 10:39:49 +01:00
Gunar Schorcht
64dd27a679 tests/driver_bmx280: fix broken links 2020-03-24 10:39:49 +01:00
Francisco Molina
ec33b3eee4
tests: remove uneeded blacklist
With #12941 and #13613 some of the blacklisting introduced in #12461
are no longer needed, since `test_interactive_test_util` is lighter
or adds no extra code.
2020-03-24 10:18:59 +01:00
benpicco
1e38a3da63
Merge pull request #13673 from fjmolinas/pr_cc2538_cleanups
cpu/cc2538: clock cleanups
2020-03-21 22:24:48 +01:00
Francisco Molina
4cc2457b4f
tests/periph_timer: TIMER_SPEED=CLOCK_CORECLOCK for cc2538 boards 2020-03-21 19:32:24 +01:00
edfbcb5a4c
tests/pkg_utensor/: exclude nucleo-l412kb 2020-03-20 18:48:31 +01:00
84941a2548
tests/unittests: exclude nucleo-l412kb 2020-03-20 18:48:31 +01:00
7d0c475113
Merge pull request #13486 from bergzand/pr/suit/ietf_v3
SUIT: Update to draft-ietf-v3
2020-03-20 14:44:29 +01:00
Francisco
b98e4bf0d1
Merge pull request #13658 from fjmolinas/pr_periph_timer_cc2538
cpu/cc2538: fix GPT3 IRQ definition
2020-03-20 14:31:05 +01:00
Marian Buschsieweke
09946a8618
tests/driver_at86rf215: Fix Makefile.ci 2020-03-20 11:06:41 +01:00
Francisco
cdbf0b2d69
Merge pull request #13583 from benpicco/at86rf215-minimal
drivers/at86rf215: add basic support for AT86RF215 dual-band radio
2020-03-20 09:33:50 +01:00
413b91326f
tests/suit_v3_manifest: Add draft-ietf-v3 manifest parser test
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-19 22:56:01 +01:00
Martine Lenders
a5fb39e1d6
Merge pull request #13659 from leandrolanzieri/pr/test/emcute_use_sync_shell
tests/emcute: Use test_utils_interactive_sync_shell to sync
2020-03-19 20:51:43 +01:00
Leandro Lanzieri
b8dd4f1005 tests/emcute: Use test_utils_interactive_sync_shell to sync 2020-03-19 17:42:49 +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
Francisco Molina
daab688998
tests/periph_timer: adapt to cc2538 boards 2020-03-19 16:31:58 +01:00
Benjamin Valentin
d632eb44b0 tests/unittests: add tests for rtt_rtc 2020-03-19 15:25:14 +01:00
Gunar Schorcht
4ac8f8df4c
Merge pull request #13646 from benpicco/BACKUP_RAM
cpu: add BACKUP_RAM attribute
2020-03-19 15:09:30 +01:00
Benjamin Valentin
8ac5bdc6c1 tests: added test app for the at86rf215 driver 2020-03-19 14:39:18 +01:00
Benjamin Valentin
aff99b64e9 tests/periph_backup_ram: use BACKUP_RAM attribute 2020-03-19 13:38:50 +01:00
10b7d5f922
tests/pkg_*: refactor some test scripts
in pkg_c25519, pkg_libcose and pkg_tweetnacl, use the check_unittests helper function and rework the way the test TIMEOUT value is determined
2020-03-19 10:39:35 +01:00
e9af310159
tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
benpicco
df1719d2e8
Merge pull request #13655 from gschorcht/tests/button_int_flank_definition
tests: use button interrupt flank definition as optionally defined in board definitions
2020-03-19 10:30:01 +01:00
Gunar Schorcht
460c3e8274 tests/buttons: allow interrupt flank definition 2020-03-19 08:19:32 +01:00
Gunar Schorcht
c0c478a145 tests/periph_pm: allow interrupt flank definition 2020-03-19 08:19:10 +01:00
ae6382633a
tests: add LittlevGL test application 2020-03-18 15:02:33 +01:00
012567e0a8
tests/unittests: blacklist bootloader_arduino feature 2020-03-18 10:53:18 +01:00
4145c196b7
tests/ssp: blacklist bootloader_arduino feature 2020-03-18 10:53:17 +01:00
0e511a6892
tests/bench_xtimer: update low memory boards list
Samd21 based boards using the Arduino bootloader and stdio over usb by default doesn't have enough RAM to run the test in its default configuration (1000 timers)
2020-03-18 10:53:17 +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
6538687a4c
Merge pull request #13613 from fjmolinas/pr_light_shell_interactive_sync
tests: add interactive_sync adapted to shell
2020-03-17 18:16:51 +01:00
Francisco Molina
e8be1f9856
tests: adapt to test_utils_interactive_sync_shell 2020-03-17 17:23:28 +01:00
Francisco Molina
9766c3e2f1
tests: remove shell commands added only for interactive_sync
Reverts parts of 416c048737
2020-03-17 17:23:27 +01:00
Francisco Molina
a31003a23c
tests: add interactive_sync adapted to shell 2020-03-17 17:23:27 +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
39d9d599cc
Merge pull request #13620 from kaspar030/add_pkg_yxml
pkg/yxml: add Yxml XML parser library package
2020-03-17 11:06:19 +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
Martine Lenders
20e30ec58b
Merge pull request #13622 from gschorcht/net/dhcpv6_fix_opt_len
sys/net/dhcpv6: fixes option length handling in client implementation
2020-03-12 18:56:43 +01:00
Martine S. Lenders
fcb8317d85 tests/gnrc_dhcpv6_client_6lbr: put IA_PD option first
In #13622 bugs in the option length handling were noted and fixed.
Putting the IA_PD option first (as the `isc-dhcp-server` does)
reproduces this bug.
2020-03-12 18:33:17 +01:00
Gunar Schorcht
953a4af0d9 tests/lwip: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
88cac0ff4b tests/gnrc_sock_async_event: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
bc071044d7 tests/cpp11_mutex: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
944fb3909e tests/gnrc_ndp: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
fd5fb46336 tests/usbus: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
a7e0071c45 tests/thread_msg_block_race: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
85ce49680b tests/socket_zep: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
0cafa4ed61 tests/pkg_micro-ecc: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
89447ca68c tests/pkg_cn-cbor: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
fbd486bf2e tests/periph_eeprom: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
e77febff1d tests/nimble_l2cap_server: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
d92277a0f0 tests/nimble_l2cap: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
ad4f1993b2 tests/lwip_sock_udp: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
e4909375b0 tests/lwip_sock_tcp: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
831e2de56c tests/lwip_sock_ip: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
8af912b002 tests/lua_loader: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
72278d3463 tests/gnrc_sock_udp: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
d508b0ca09 tests/gnrc_sock_ip: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
e5508455c4 tests/gnrc_sock_async_event: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
1ed09f56a0 tests/gnrc_sixlowpan_iphc_w_vrb: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
d1167b2dbd tests/gnrc_sixlowpan: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
c7fdb5eeba tests/gnrc_netif: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
1757d5eae0 tests/gnrc_ipv6_nib_6ln: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
fff2d02378 tests/gnrc_ipv6_nib: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
c6b1d3216e tests/gnrc_ipv6_fwd_w_sub: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
0f0344eb54 tests/gnrc_ipv6_fwd_w_sub: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
535863b80a tests/gnrc_ipv6_ext_frag: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
a68c2f3008 tests/events: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
94aa7014cf tests/embunit: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
83f1537562 tests/driver_motor_driver: fix NDEBUG compile problem 2020-03-12 17:44:41 +01:00
Gunar Schorcht
08706e771e tests/cpp11_condition_variable: fix NDEBUG compile problem 2020-03-12 17:40:46 +01:00
Gunar Schorcht
f4224890ae tests/bench_xtimer: fix NDEBUG compile problem 2020-03-12 17:40:46 +01:00
Gunar Schorcht
8fb7a29eab tests/bench_timers: fix NDEBUG compile problem 2020-03-12 17:40:46 +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
benpicco
d5c7d28b38
Merge pull request #10745 from kaspar030/make_idle_stacksize_configurable
cpu: make default idle/main stacksizes configurable on all archs
2020-03-12 14:38:32 +01:00
f9e80f8b71 tests/pkg_yxml: add basic Yxml package test 2020-03-12 14:21:40 +01:00
Robert Hartung
dc6665d5cf
Merge pull request #12717 from dylad/pr/bme680_pkg_driver
driver/bme680: add I2C/SPI driver for BME680 device
2020-03-12 14:00:40 +01:00
Ken Bannister
2e0a5c053e tests/nanocoap: add test for coap_opt_add_uquery2() 2020-03-12 08:44:26 -04:00
f88fa2e3f2 tests/minimal: reduce main/idle stacksize 2020-03-12 13:01:13 +01:00
Gunar Schorcht
2338944a1c tests: add test application for BME680 driver 2020-03-12 08:42:59 +01:00
Martine Lenders
72d28d54e5
Merge pull request #13615 from miri64/sock_async/api/callback-arg
sock_async: add optional callback argument
2020-03-11 20:07:18 +01:00
benpicco
52cc02c9a9
Merge pull request #13387 from nmeum/mpu_noexec_ram_ng
Add optional support for executable space protections
2020-03-11 20:00:44 +01:00