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

3536 Commits

Author SHA1 Message Date
Gunar Schorcht
eb47f1c537 tests/sys_arduino_lib: demo the use of Arduino library
This test application defines a packages which imports a very simple Arduino library that is used by test application to demonstrate how an Arduino library can be imported as package and used by an application.
2019-11-22 13:26:35 +01:00
Francisco Molina
4a2644da91 flake8: fix PEP8 F632 use ==/!= 2019-11-22 11:47:49 +01:00
Francisco Molina
41e9f06b85 flake8: fix PEP8 W608 invalid escape sequence 2019-11-22 11:47:49 +01:00
Francisco Molina
1ff9f7f631 tests/pthread_barrier: improve test script
Add intermediate child.expect to avoid timeout on platforms
where time between `start` and `done` is a little over 10s.
2019-11-22 11:19:52 +01:00
Michel Gerlach
2a14b6ceb8 Drivers/DCF77:First implementation 2019-11-22 10:27:01 +01:00
Gunar Schorcht
a05027cdba
Merge pull request #12523 from aabadie/pr/sys/arduino_pwm
sys/arduino: add implementation for analogWrite
2019-11-21 15:08:10 +01:00
Martine S. Lenders
27510b72f8
tests/unittests: add tests for missing bitfield functions 2019-11-21 12:38:31 +01:00
Martine S. Lenders
880a68c11f
tests/unittests: fix existing bitfield tests for new bit-order 2019-11-21 11:43:31 +01:00
Francisco Molina
2202b71f99 flake8: fix PEP8 overidentation E127 2019-11-21 10:11:56 +01:00
07f7ac5829
tests/pkg_libfixmath: refactor test and automatic script
Print the range of iterations for each subtests and catch the value in the Python script. The number of iterations is reduced on boards that are not native, this is because this test takes a lot of time on slow platforms
2019-11-20 22:27:41 +01:00
326f5f1d12
tests/pkg_libfixmath: fix PEP8 issues 2019-11-20 22:27:41 +01:00
19917f18b7
tests/libfixmath*: rename test applications
Use pkg_ prefix to have a consistent name with other pkg tests applications
2019-11-20 22:27:41 +01:00
e4bea426d5
tests/libfixmath_unittests: remove useless BOARD_BLACKLIST
The implementation of libfixmath is not compatible with architecture smaller than 32bit
2019-11-20 22:27:41 +01:00
benpicco
c4d905f518
Merge pull request #12668 from herjulf/avr-rss2-PR
Adding: boards/avr-rss2 and AtMega256RFR2 based board         See doc.txt for details.
2019-11-20 20:10:04 +01:00
Robert Olsson
c903bc8c1b boards/avr-rss2: add AtMega256RFR2 based board
Co-Authored-By: benpicco <benpicco@googlemail.com>
Support: Alexandre Abadie aabadie, Marian Buschsieweke maribu, Martine Lenders miri64
2019-11-20 11:57:02 +01:00
070c6603a0
tests/malloc: add Python script for automatic test 2019-11-20 06:50:34 +01:00
254f6ff9f9
tests/malloc: cleanup in test application
The idea is not fill the memory on the computer running a native instance and to be able to test on hardware. The test application is reworked similarly as the memarray test application. Macro are now overridable and printed at the beginnined of the test: this allows easier automatic testing
2019-11-20 06:44:30 +01:00
benpicco
cfcbb76cd2
Merge pull request #12729 from maribu/atmega1284p
boards/atmega1284p: Add ATmega1284P as board
2019-11-19 23:18:31 +01:00
Marian Buschsieweke
277bf803f8
tests/sys_crypto: Blacklist atmega1284p 2019-11-19 09:32:20 +01:00
Marian Buschsieweke
7c1f35daa4
tests/libfixmath_unittests: Blacklist atmega1284p 2019-11-18 23:50:54 +01:00
Marian Buschsieweke
74db50032f
tests: Added test for the ws281x driver 2019-11-18 22:45:40 +01:00
3091de3a50 tests/blob: add test application for blob.inc.mk 2019-11-18 17:53:48 +01:00
Marian Buschsieweke
edb03cceb7
tests: Added atmega1284p to Makefile.ci
Added the ATmega1284P on a breadboard to the Makefile.ci for tests that
require more RAM/ROM than provided.
2019-11-18 00:08:01 +01:00
1d20e9e1bb
tests/driver_pca9685: remove useless BOARD_BLACKLIST
The efm32 arch is blacklisted at driver dependency level.
2019-11-16 14:16:27 +01:00
550bd160ae
Merge pull request #12719 from aabadie/pr/pkg/spiffs_msp430
tests/pkg_spiffs: exclude msp430 boards because of missing memory
2019-11-15 20:42:20 +01:00
2f5f69e23a
tests/pkg_spiffs: exclude msp430 boards because missing memory
The build fails during link because of insufficient memory. No need to use BOARD_BLACKLIST for msp430 based boards
2019-11-15 19:11:37 +01:00
c3a647f15e
tests/pkg_semtech-loramac: remove useless BOARD_BLACKLIST
msp430 architecture is blacklisted at package level. pic32-clicker/wifire boards doesn't provided the some required features (SPI, GPIO_IRQ)
2019-11-15 18:14:25 +01:00
779e25bc7d
tests/sys_arduino_analog: add test application
The goal of this application is to test the analogRead and analogWrite Arduino function
2019-11-15 17:51:45 +01:00
Leandro Lanzieri
a78354c271 tests/unittests/ipv6_addr: Add tests for ipv6_addr_split_prefix 2019-11-15 14:35:30 +01:00
Leandro Lanzieri
b5930af760 tests/unittests/ipv6_addr: Add tests for ipv6_addr_split_iface 2019-11-15 14:35:30 +01:00
Leandro Lanzieri
ad4fc4b76e tests/nanocoap_cli: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:35:30 +01:00
Leandro Lanzieri
e64d327ea8 tests/gnrc_udp: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:35:30 +01:00
Leandro Lanzieri
c3a02d86df tests/gnrc_ipv6_ext_frag: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:35:30 +01:00
Marian Buschsieweke
8854255d7a
tests/bitarithm_timings: Fix use of volatile
The tests used the volatile qualifier for two this:

1.  Prevent the compiler to optimize out calls to the inline-able functions
    bitarithm_msb, bitarithm_lsb, bitarithm_bits_set
2.  Communication between IRQ context and thread context

While the first use is valid, the second is dangerous, see [1], [2], [3], [4].
This commit replaces the second use with C11 atomics, which were explicitly
added to the C standard to address this use case.

[1]: https://www.kernel.org/doc/html/latest/process/volatile-considered-harmful.html
[2]: http://c.isvolatileusefulwiththreads.com/
[3]: https://web.archive.org/web/20181124154026/http://software.intel.com/en-us/blogs/2007/11/30/volatile-almost-useless-for-multi-threaded-programming/
[4]: https://blog.regehr.org/archives/28
2019-11-15 09:22:18 +01:00
Marian Buschsieweke
a1be610c9d
tests/bitarithm_timings: Fixed hang
Prevent bitarithm_lsb() from being called with 0, as it loops forever then
2019-11-15 09:21:24 +01:00
Francisco
2adc5a23c2
Merge pull request #12361 from haukepetersen/add_nimble_autoconn
pkg/nimble: add simple BLE connection manager: autoconn
2019-11-14 14:02:24 +01:00
Kevin "Tristate Tom" Weiss
57e791fcc9
Merge pull request #12705 from fjmolinas/pr_fix_periph_timer_frdmk64f
tests/periph_timer: add frdm-k64f/k22f to 32kHz timers
2019-11-14 11:38:43 +01:00
Francisco Molina
f851a40098 tests/periph_timer: 32Khz as timer speed for frdm-k%f 2019-11-14 10:42:34 +01:00
Hauke Petersen
28acb901ab tests: add nimble_autoconn_ccnl test 2019-11-13 12:59:35 +01:00
Hauke Petersen
046c6f3e8e tests: add nimble_autoconn_gnrc test 2019-11-13 12:59:35 +01:00
Hauke Petersen
a49dada291 tests: add test for qmc5883l driver 2019-11-13 12:56:26 +01:00
a42bdaeecd
Merge pull request #12694 from miri64/tests/enh/periph_cpuid
tests/periph_cpuid: read CPUID_LEN from app instead of environment
2019-11-12 19:57:22 +01:00
Martine Lenders
b5465402b5
Merge pull request #12678 from miri64/tests/enh/gnrc_sock+gnrc_neterr
tests: add a simple proof of concept test for gnrc_sock + gnrc_neterr
2019-11-12 19:29:02 +01:00
Martine S. Lenders
06f26146d0 tests/periph_cpuid: check if correct number of bytes was printed 2019-11-12 19:24:09 +01:00
Martine S. Lenders
a33857bf29 tests/periph_cpuid: read CPUID_LEN from app instead of environment 2019-11-12 19:24:09 +01:00
Martine Lenders
6b50db1713 tests: add a simple proof of concept test for gnrc_sock + gnrc_neterr 2019-11-12 11:45:08 +01:00
Martine S. Lenders
2f0187e076 tests/periph_cpuid: print CPUID_LEN 2019-11-12 10:42:23 +01:00
9b02b9d042
tests/periph_cpuid: add automatic test script 2019-11-11 21:18:13 +01:00
774a19621b
tests/pkg_lora-serialization: fix C-style comments 2019-11-11 17:31:49 +01:00
7e7c49a109
tests/pkg_lora-serialization: fix test 02 on AVR 2019-11-11 17:31:22 +01:00
benpicco
9ca9f07c04
Merge pull request #12592 from benpicco/luid-fix
sys/luid: add luid_get_eui48() / luid_get_eui64()
2019-11-07 18:34:37 +01:00
José Alamos
20ea18637f
Merge pull request #10485 from miri64/gnrc_netif/enh/default-init
gnrc_netif: assume `netif->ops->init()` to be set to at least a default
2019-11-07 11:41:05 +01:00
Martine Lenders
8eee53b7bd tests/gnrc_ipv6_ext_frag: add bl*pill to BOARD_INSUFFICIENT_MEMORY 2019-11-07 11:04:58 +01:00
Martine Lenders
14a2f6bc18 gnrc: use gnrc_netif_default_init() for all implementations 2019-11-07 11:00:36 +01:00
Martine Lenders
a1d402e015
Merge pull request #12559 from miri64/gnrc_sixlowpan_frag/enh/factor-out-frag-buf
gnrc_sixlowpan_frag: factor-out and rename fragmentation buffer
2019-11-07 09:47:46 +01:00
d5da6a7ac3
examples: tests: make use of DEVELHELP consistent 2019-11-06 16:31:53 +01:00
bd39ce3179
tests/periph_gpio: increase timeout for automatic test
periph_gpio requires more time to complete on slow platforms, like AVR
2019-11-06 12:46:28 +01:00
cab3cc473e
tests/periph_timer: add atmega256rfr2-xpro to boards with 25KHz timer 2019-11-06 12:46:28 +01:00
benpicco
035bac0bf4
Merge pull request #12639 from aabadie/pr/boards/atmega256rfr2
boards/atmega256rfr2-xpro: initial support
2019-11-05 19:03:49 +01:00
Marian Buschsieweke
4d279ae76e
Merge pull request #12055 from fabian18/driver-ina3221
Driver for INA3221 current and power and bus voltage monitor
2019-11-05 14:45:03 +01:00
benpicco
2390d494a9
Merge pull request #12640 from benpicco/rtc_tm_compare
periph_common/rtc: add rtc_tm_compare()
2019-11-05 13:20:49 +01:00
Benjamin Valentin
24ae298115 unittests: add rtc_tm_compare() to unittest 2019-11-05 12:52:45 +01:00
fabian18
5311de7131 tests/driver_ina3221: Test for INA3221 2019-11-05 12:33:06 +01:00
602f9d7f9c
tests: exclude atmega256rfr2-xpro where required 2019-11-05 10:40:59 +01:00
bf1b6b6f9c
tests/nhdp: remove useless BOARD_BLACKLIST
The corresponding arch features are blacklisted in oonf_api package which is a dependency of nhdp
2019-11-05 09:47:25 +01:00
e1db54c20a
tests/pkg_ubasic: remove useless BOARD_BLACKLIST
The corresponding arch features are blacklisted at package level
2019-11-05 08:45:12 +01:00
3b42755d84
tests/driver_sht2x: cleanup how required features are set 2019-11-05 07:59:57 +01:00
33982a965d
tests/Makefile.tests_common: fix indent 2019-11-05 07:59:57 +01:00
49f1f4a9e0
tests: don't define APPLICATION in application Makefile
The right way is to include the common test Makefile where the application is automatically defined.
2019-11-05 07:59:57 +01:00
Benjamin Valentin
7b60214d94 unittests: add test for luid module 2019-11-04 21:08:33 +01:00
Martine Lenders
8c3dc66ad8 gnrc_sixlowpan_frag: factor-out and rename fragmentation buffer
The name `fragment_msg` or `frag_msg`/`msg_frag` always to me was a bit
misplaced, as it basically implements an asynchronous fragmentation
buffer and doesn't necessarily have anything to do with messages.
This change

1. changes the name to `fb` (for fragmentation buffer)
2. factors its code out to its own sub-module so it can be re-used by
   other 6LoWPAN fragmentation schemes like [Selective Fragment
   Recovery]

[Selective Fragment Recovery]: https://tools.ietf.org/html/draft-ietf-6lo-fragment-recovery-05
2019-11-04 20:04:37 +01:00
b8b7606a7c
Merge pull request #12608 from aabadie/pr/pkg/hacl_arch_32bit
pkg: tests: handle arch requirements at pkg level, remove useless board blacklist
2019-11-04 15:20:03 +01:00
benpicco
865059fc66
Merge pull request #11230 from maribu/xtimer_msg_deps
sys/xtimer: Remove dependency to core_msg
2019-11-01 15:22:10 +01:00
Marian Buschsieweke
2c3712d55d
tests/xtimer_hang: Disabled module core_msg
Enforce that xtimer is usable without module core_msg
2019-10-31 19:55:50 +01:00
Martine Lenders
bf5b53392c
Merge pull request #12603 from jia200x/pr/link_up
netopt: redefine NETOPT_LINK_CONNECTED
2019-10-30 15:19:07 +01:00
Jose Alamos
f77eba2e53 gnrc_ipv6_ext_frag: add board to insufficient memory list 2019-10-30 14:23:34 +01:00
7a83364419
tests/pkg_micro-ecc: remove useless board blacklist
This is now automatically managed by the arch 16bit feature blacklist at pkg dependencies level
2019-10-30 11:43:41 +01:00
3a1a08fc4a
tests/pkg_qdsa: remove useless board blacklist
This is now automatically managed by the arch 16bit feature blacklist at pkg dependencies level
2019-10-30 11:43:40 +01:00
9a2f29ed83
tests/pkg_libhydrogen: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:40 +01:00
2cb3ab5b78
tests/pkg_tinycbor: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:40 +01:00
e40214f221
tests/pkg_monocypher: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:40 +01:00
c7acc5f31b
tests/pkg_libcose: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:40 +01:00
49f855bd81
tests/pkg_libcoap: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:39 +01:00
0654709246
tests/pkg_hacl: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:39 +01:00
b044e46207
tests/pkg_cn-cbor: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:39 +01:00
e61378781f
tests/pkg_cifra: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:38 +01:00
3440ecf706
tests/pkg_wolf*: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:38 +01:00
Anton Gerasimov
6258713e5e boards/cc1352-launchpad: Add BOARD_INSUFFICIENT_MEMORY entries
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00
14346dba26
tests/driver_hd44780: remove arduino feature requirement
Remove boards blacklisted because they don't provide the Arduino pin macros
2019-10-29 11:09:56 +01:00
04dc65f6ad
drivers/hd44780: move params header at the right place 2019-10-29 10:58:26 +01:00
Martine Lenders
05d338169d
Merge pull request #12367 from brummer-simon/gnrc_tcp-fix_recv_conn_closed
gnrc_tcp: return immediatly on gnrc_tcp_recv if a connection is closing
2019-10-29 09:54:43 +01:00
Marian Buschsieweke
4cf2151248
Merge pull request #12537 from benpicco/at86rfmega
drivers/at86rf2xx: add support for ATmegaRF MCUs
2019-10-28 09:22:02 +01:00
Martine Lenders
86ecc7064f
Merge pull request #12532 from benpicco/make-pan_id
makefiles: allow setting PAN ID like channel
2019-10-27 12:39:52 +01:00
Benjamin Valentin
d45b3d1cd3 makefiles: default-channel.inc.mk -> default-radio-settings.inc.mk
The scope of the file has changed, so change it's name.
2019-10-27 11:55:55 +01:00
Gunar Schorcht
b6b12527a9 tests/pkg_tinycbor: esp32 boards removed from blacklist 2019-10-27 09:58:29 +01:00
Benjamin Valentin
eeb75c08bd tests/examples: add microduino-corerf to Makefile.ci
Now that the radio is enabled, some tests do not fit onto the MCU
anymore.
2019-10-27 00:18:23 +02:00
Marian Buschsieweke
a770a919aa
tests/c11_atomics_cpp_compat: Added compile test 2019-10-24 23:08:36 +02:00
Marian Buschsieweke
707bacc1b7
tests/rmutex_cpp: Testing rmutex with C++
Copied test from tests/rmutex, but using C++ instead of C.
2019-10-24 23:08:36 +02:00
Francisco
0364c39694
Merge pull request #12408 from miri64/gnrc_netif/fix/src-addr-selection
gnrc_netif: only use prefix matching as tie-breaker in source selection
2019-10-24 17:14:17 +02:00
Martine Lenders
020af4145a tests: provide more test cases for source address selection
- ULA destination with global address on interface
- Deprecated addresses
2019-10-24 16:04:41 +02:00
Cenk Gündoğan
e0ab8776f3
Merge pull request #12547 from miri64/gnrc_netif/enh/warn-no-ARSM
gnrc_netif: warn when not joining solicited-nodes from non-6LN netif
2019-10-24 13:46:38 +02:00
Martine Lenders
796d6a3167 gnrc_sixlowpan: move garbage collect msg type to reassembly buffer 2019-10-24 12:41:29 +02:00
Martine S. Lenders
9103e5b98e tests: set log level to ERROR for gnrc_ipv6_nib_6ln test
This way it still fits on `z1`.
2019-10-24 11:42:35 +02:00
d22ddc1e95
usbus: Fix usb, initialization and detected spelling mistakes
This commit fixes a number of difficult words in the USB stack and
related test files.
2019-10-23 10:43:52 +02:00
Simon Brummer
1eb2969986 gnrc_tcp_recv: immediatly return on closed connection 2019-10-22 20:12:38 +02:00
e2049cce49
Merge pull request #12539 from fjmolinas/pr_isr_yield_relative_time
tests/isr_yield_higher: adapt TEST_TIME to start-up time
2019-10-22 16:50:53 +02:00
Francisco Molina
0d91e61dbb tests/isr_yield_higher: adapt TEST_TIME to start-up time 2019-10-22 16:20:48 +02:00
Benjamin Valentin
b5906c2aa4 tests/pthread*: blacklist boards with low RAM
The pthread tests dynamically allocate memory for the thread stacks.
Therefore while compilation succeeds, they will fail to run on these
low memory boards.

Static allocation of thread stacks is an option to make those tests work
for those boards (confirmed for `tests/pthread`), but it would
change the nature of the tests.
2019-10-21 15:33:48 +02:00
Benjamin Valentin
8f3d1eaf04 tests: reduce THREAD_STACKSIZE_DEFAULT for stm32f030f4-demo 2019-10-21 15:33:48 +02:00
Benjamin Valentin
58892fbbef tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
Martine Lenders
42968ccc6b
Merge pull request #12528 from benpicco/ifconfig_scope
shell_commands: gnrc_netif: print correct scope for IPv6 address
2019-10-21 15:16:47 +02:00
Benjamin Valentin
2ff7c474b7 shell_commands: gnrc_netif: print correct scope for IPv6 addr
Previously `ifconfig` would only know link-local addresses
(printed as 'local') and everything else would be 'global'.

This is wrong for site-local and unique local addresses which were
also denoted as global.

So use the already existing helper functions to determine the correct
type of IPv6 address when printing.
2019-10-21 14:47:34 +02:00
benpicco
ca7e82c312
Merge pull request #11090 from maribu/atmega328p
boards: Added standalone ATmega328p
2019-10-21 13:38:58 +02:00
Marian Buschsieweke
6441e3c178
tests: Updated BOARD_BLACKLIST
- Added atmega328p to BOARD_BLACKLIST where needed
- Adapted special timer frequency selection in tests/periph_timer to also
  select 25kHz for the atmega328p board
2019-10-21 12:54:46 +02:00
Marian Buschsieweke
06d560f408
tests: Added atmega328p to Makefile.ci
Added the atmega328p board to the BOARD_INSUFFICIENT_MEMORY list where needed.
2019-10-21 12:54:46 +02:00
Martine Lenders
05bcdba02e
Merge pull request #10499 from miri64/gnrc_netif/enh/split-6lo-6ln
gnrc_netif: introduce distinction if an interface supports 6Lo or if it performs ND according to RFC 6775
2019-10-21 11:47:30 +02:00
300c3abf2b
tests/lwip_sock_udp: fix sizeof address param in mempcy
Co-authored-by: Martine Lenders <m.lenders@fu-berlin.de>
2019-10-21 08:09:51 +02:00
Martine Lenders
c93b30268b tests/gnrc_ipv6_nib_6ln: add msb-430* to BOARD_INSUFFICIENT_MEMORY
The new fixed code paths with the 6LN/6Lo distinction make this
application too big for the given boards
2019-10-20 15:40:10 +02:00
798d3170d5
Merge pull request #12510 from gschorcht/tests/log_color
tests/log_color: fix string literal error
2019-10-19 19:31:44 +02:00
Gunar Schorcht
41e31c516c tests/log_color: fix string literal error
printf function requires a string literal as the format argument. Using a character pointer is not accepted as string literal by some compilers.
2019-10-19 16:59:11 +02:00
Martine Lenders
3cc8b912a2 tests/gnrc_sixlowpan_frag: fix comment typo 2019-10-19 16:30:45 +02:00
Martine S. Lenders
b715aee81d tests: add tests for new 6Lo reassembly buffer functions 2019-10-19 16:30:45 +02:00
Gunar Schorcht
855ef72202
Merge pull request #12503 from kaspar030/fix_tests/pkg_fatfs_format_overflow
tests/pkg_fatfs: fix sprintf format overflow warning
2019-10-19 10:41:17 +02:00
ea6c4a7f23 tests/pkg_fatfs: fix sprintf format overflow warning
Some platforms issue this:

    tests/pkg_fatfs/main.c: In function '_mkfs':
    tests/pkg_fatfs/main.c:355:26: error: '%d' directive writing between 1 and 11 bytes into a region of size 8 [-Werror=format-overflo
    w=]
      355 |     sprintf(volume_str, "%d:/", vol_idx);
          |                          ^~
    tests/pkg_fatfs/main.c:355:25: note: directive argument in the range [-2147483648, 0]
      355 |     sprintf(volume_str, "%d:/", vol_idx);
          |                         ^~~~~~
    tests/pkg_fatfs/main.c:355:5: note: 'sprintf' output between 4 and 14 bytes into a destination of size 8
      355 |     sprintf(volume_str, "%d:/", vol_idx);
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors

The cause is vol_idx being converted by atoi(), so it might be negative.
This commit increases the stack array so it cannot overflow.
2019-10-18 23:06:44 +02:00
f52bbd084c tests/pkg_nanopb: initial commit 2019-10-18 22:34:29 +02:00
04712dbcfc
Merge pull request #12446 from fjmolinas/pr_fix_tests_riotboot
tests/riotboot: fix test running test in docker.
2019-10-18 17:20:49 +02:00
Francisco Molina
57b09f1685 tests/riotboot: add SLOT_RIOT_ELFS:%.elf=%.bin to BUILD_FILES
- When running `BUILD_IN_DOCKER=1 make -C tests/riotboot test`
  new slot binaries (fw + hdr) need to be generated.
  `%.bin: %.elf` is no defined when building in docker, so the
  fw binaries $(SLOT_RIOT_ELFS:%.elf=%.bin) are added to
  BUILD_FILES
2019-10-18 15:56:48 +02:00
16aef163ca
Merge pull request #12497 from benpicco/tests-cpp_memory
tests: remove Makefile.ci from cpp11 tests
2019-10-18 15:12:36 +02:00
Benjamin Valentin
44d6cabd8a tests: remove Makefile.ci from cpp11 tests
The description states that the tests caused issues with an ancient
toolchain.
Building these tests locally worked fine.

So remove the obsolete BOARD_INSUFFICIENT_MEMORY lists.
2019-10-18 14:28:57 +02:00
Martine S. Lenders
f8d75d7add gnrc_sixlowpan_frag_rb: behavioral change to add()
Rather than dispatching the packet automatically once it is complete,
`gnrc_sixlowpan_frag_rb_add()` now only returns success, and leaves it
to the caller to dispatch the packet.
2019-10-18 09:02:32 +02:00
Martine S. Lenders
df484926a2 tests/gnrc_sixlowpan_frag: adapt for API change
These changes reflect adaptations for the following API changes:

- gnrc_sixlowpan_frag_rb: return pointer to entry on add()
2019-10-18 09:02:32 +02:00
Benjamin Valentin
c01eae3239 tests: add microduino-corerf to Makefile.ci 2019-10-17 20:38:47 +02:00
Benjamin Valentin
252f22bfe2 tests/driver_hih6130: replace SLEEP define
The SLEEP define collides with an Atmel header file.
Rename the define to resolve the conflict.
2019-10-17 19:20:31 +02:00
benpicco
ad81a9df8a
Merge pull request #12484 from maribu/pain_in_the_ass
tests: Moved BOARD_INSUFFICIENT_MEMORY to Makefile.ci
2019-10-17 18:25:41 +02:00
benpicco
bd0ba7f187
Merge pull request #12476 from basilfx/feature/efm32_uart_modes_cleanup
cpu/efm32: remove EFM32_UART_MODES
2019-10-17 18:22:37 +02:00
Marian Buschsieweke
fd6fedaab6
tests: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci
- Moved the BOARD_INSUFFICIENT_MEMORY list into Makefile.ci
- Formatted the list to contain one board per line
- Sorted the lists alphabetically
2019-10-17 15:11:59 +02:00
Marian Buschsieweke
d9e4361246
tests/rng: Fixed abuse of BOARD_BLACKLIST
- BOARD_BLACKLIST has been used to blacklist boards with too little RAM/ROM
  according to the comment
  ==> Moved those entries to BOARD_INSUFFICIENT_MEMORY instead
- pic32-clicker does build fine, so RAM/ROM efficiency has improved since
  ==> Dropped pic32-clicker from the list
2019-10-17 15:10:42 +02:00
Jannes
2df5d6048d driver/mpu9x50: Rename mpu9150 to mpu9x50
Rename all files

Rename all variables, methods and methodcalls

Rename all folders

Add to the makefiles

Add to doc
2019-10-17 12:52:18 +02:00
Bas Stottelaar
b122a8863e tests/cpu_efm32_features: add test script 2019-10-16 22:09:37 +02:00
Bas Stottelaar
bbec8277b9 tests/cpu_efm32_features: remove EFM32_UART_MODES 2019-10-16 22:05:08 +02:00
MrKevinWeiss
2c2e1fcc16 tests/periph_uart: Remove obsolete python tests 2019-10-16 15:54:36 +02:00
MrKevinWeiss
26539eb3ec tests/periph_i2c: Remove obsolete python tests 2019-10-16 15:54:10 +02:00
Martine Lenders
eebf3709db
Merge pull request #12465 from aabadie/pr/tests/nordic_softdevice
tests/nordic_softdevice: cleanup test script and fix test
2019-10-16 13:28:39 +02:00
Sebastian Meiling
375687da50 tests/emb6: replace board blacklist
Replaces the board blacklist by a matching
feature blacklist or arch_msp430.
2019-10-16 09:49:26 +02:00
Sebastian Meiling
047104c1c9 tests/emb6: remove pic32 boards from blacklist
First the comment does not fit these two boards and
second they would work compiler wise but just do not
have an SPI to support the radio. Hence, won't be
used due to missing features.
2019-10-16 09:46:45 +02:00
98e17c2736
tests/nordic_softdevice: cleanup test script and fix test
Adding a 1s delay before sending ifconfig makes this test works reliably because it gives the softdevice enough time to get in a ready state.
2019-10-16 08:20:41 +02:00
benpicco
1ffca2b963
Merge pull request #12412 from benpicco/tests_no-SLEEP
tests: replace SLEEP define
2019-10-15 15:39:53 +02:00
Martine Lenders
18fc2c206f unittests: fix tests-pkt for non-32bit platforms 2019-10-15 10:40:07 +02:00
Martine Lenders
117ff2f862 unittests: remove board blacklist, fix doc for MCU architectures 2019-10-15 09:48:04 +02:00
8f0f28bd50 tests/ssp: make use of architecture features 2019-10-14 22:40:13 +02:00