ac775b8ae5
Merge pull request #9181 from haukepetersen/opt_event_independencefromthread
...
sys/event: make event queue independent from thread
2019-02-16 13:50:14 +01:00
Leandro Lanzieri
aefdc6550c
tests: Add test for AD7746 driver
2019-02-15 13:37:45 +01:00
Juan I Carrano
643de0a857
Merge pull request #11005 from cladmi/pr/test/periph_eeprom/use_eeprom_clear_byte
...
tests/periph_eeprom: use EEPROM_CLEAR_BYTE
2019-02-12 18:00:53 +01:00
Gaëtan Harter
8e4b11cdd0
Merge pull request #10369 from miri64/gnrc_ipv6_nib/fix/arsm-16-bit
...
gnrc_ipv6_nib/arsm: ensure proper int width in backoff calculation
2019-02-12 17:54:52 +01:00
Martine Lenders
f5086e76df
tests/unittests: add tests for exponential NS backoff
2019-02-12 17:01:14 +01:00
Gaëtan Harter
c894b67733
tests/periph_eeprom: take EEPROM_CLEAR_BYTE into account
...
After being cleared, the memory can be `0xFF` for `atmega` platforms for
example.
Fix the test to take EEPROM_CLEAR_BYTE into account.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
3058c8c645
tests/periph_eeprom: use memcmp for cleared bytes
...
`strcmp` was used to check that the 4 bytes were empty but was not
testing what it should as an empty string is `0` bytes long.
The whole must be verified.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
7455e0b6fe
tests/periph_eeprom: use memcmp
...
Use `memcmp` where it is obvious it is not doing a string comparison.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
6d8fd279ac
tests/periph_eeprom: remove useless casts
...
Casting to `const char *` is not necessary as input, the type are
already the right ones.
It could not be before as `result` was with the wrong type.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
c029fcde11
tests/periph_eeprom: fix 'results' type
...
Results type should only be an array of char, not an array of pointers.
2019-02-12 16:37:42 +01:00
Martine Lenders
875377d622
tests/unittests: suppress cppcheck redundantAssignment warning
...
To make the CI happy ;-).
2019-02-08 23:35:37 +01:00
Martine Lenders
2451fb36f8
tests: add unittest for state corruption in NC cache-out
2019-02-08 19:22:51 +01:00
Kees Bakker
50ec5130d6
drivers: add support for SHT2x (I2C temp and humidity sensor)
...
Several parts were inspired by a driver written by:
George Psimenos (gp7g14@soton.ac.uk )
Steffen Robertz (steffen.robertz@rwth-aachen.de )
2019-02-05 22:17:30 +01:00
PeterKietzmann
b2857529ef
tests/gnrc_tcp_server: don't set PORT=tap0 as default
2019-02-05 15:01:12 +01:00
PeterKietzmann
e03bbb4f2e
tests/gnrc_tcp_client: don't set PORT=tap1 as default
2019-02-05 15:01:05 +01:00
Kevin "Bear Puncher" Weiss
7dc243e3cc
Merge pull request #10220 from bergzand/pr/crypto/chacha20poly1305
...
chacha20poly1305: Initial implementation of AEAD cipher.
2019-02-04 12:52:24 +01:00
f4a4f5d0b1
chacha20poly1305: Provide a test based on the rfc
...
Add a test case to the crypto tests testing the chacha20poly1305
algorithm with the test vectors from rfc 8439.
2019-02-04 09:29:26 +01:00
Martine Lenders
73d72c0c52
Merge pull request #10893 from aabadie/pr/tests/periph_rtt
...
tests/periph_rtt: add Python script for automatic testing + use 5s delay between Hellos
2019-02-01 10:20:46 +01:00
Kevin "Bear Puncher" Weiss
1d693403b6
Merge pull request #10743 from yegorich/uart-enhanced-settings
...
RFC: UART enhanced settings
2019-01-31 17:11:28 +01:00
Sebastian Meiling
805efb69c5
Merge pull request #10458 from MichelRottleuthner/pr_driver_sds011
...
add driver for SDS011 active laser dust sensor
2019-01-31 15:54:09 +02:00
Yegor Yefremov
2673b662af
tests/periph_uart: add tests for uart_mode
...
Add positive and negative tests for data bits, stop bits and parity:
- 7E1, 7O1
- 8E1, 8O1
- 8N2
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-01-31 14:15:20 +01:00
Yegor Yefremov
738cbf685b
tests/periph_uart: add support for changing serial
...
Add command mode that will be used like this:
mode <dev> <data bits> <parity> <stop bits>
This command must be called after init otherwise
the UART won't be fully initialized.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-01-31 14:15:20 +01:00
6a570f3a82
tests/periph_rtt: add automatic testing script
2019-01-31 10:47:05 +01:00
aee4771a42
tests/periph_rtt: use a 5s delay between each hello
2019-01-31 10:46:56 +01:00
f6e616d48f
tests/pkg_semtech-loramac: fix send return value management
2019-01-30 18:58:43 +01:00
Michel Rottleuthner
17a1358ccb
tests: add test application for sds011 driver
2019-01-30 13:15:17 +01:00
782b181b63
Merge pull request #10887 from aabadie/pr/make/distclean_cleanup
...
tests: remove leftover test targets in test application makefiles
2019-01-28 16:25:02 +01:00
Marian Buschsieweke
075ad47bb3
tests/driver_ltc4150: BOARD_INSUFFICIENT_MEMORY
2019-01-28 13:53:47 +01:00
Marian Buschsieweke
2ba57ac00c
tests/driver_ltc4150: Workarround for msp430
...
The msp430 toolchain is missing an `fputs()` implementation. This commit makes
them use the `printf("%s", str);` instead of `fputs(str, stdout);`, which is
semantically equivalent (but has more overhead).
2019-01-28 13:53:38 +01:00
Marian Buschsieweke
618e2e58d5
tests: Added test for ltc4150 driver
2019-01-28 13:50:42 +01:00
Marian Buschsieweke
5acd87bf6f
tests/saul: Updated BOARD_INSUFFICIENT_MEMORY
2019-01-28 13:33:27 +01:00
9bf82ecd16
tests/pkg_cmsis-dsp: remove useless test target
2019-01-28 10:26:36 +01:00
3ef9707e40
tests/cond_order: remove useless test target
2019-01-28 10:26:20 +01:00
MrKevinWeiss
957cc83cc6
doc: Update copywrites it include HAW
2019-01-28 09:08:50 +01:00
eb79ba0400
tests/pkg_lora-serialization: remove useless test target
2019-01-27 19:39:26 +01:00
b8565e492d
Merge pull request #10851 from miri64/tests/feat/gnrc_sixlowpan_frag-tests
...
tests: provide unittests for gnrc_sixlowpan_frag/rbuf
2019-01-25 17:55:28 +01:00
Martine Lenders
6ff06d3f41
tests: provide unittests for gnrc_sixlowpan_frag/rbuf
...
The reason I put these unittests into their own application is that I
intentionally wanted to test this module very isolated.
2019-01-25 16:57:09 +01:00
Kevin "Bear Puncher" Weiss
06b5a58e62
Merge pull request #10802 from leandrolanzieri/pr/boards/sensebox_samd21-mtd
...
boards/sensebox_samd21: Add MTD definition
2019-01-24 12:20:16 +01:00
Sebastian Meiling
907b761750
Merge pull request #10792 from gschorcht/esp8266_esp_wifi_netdev
...
esp8266: esp_wifi netdev driver
2019-01-24 12:09:46 +01:00
Gunar Schorcht
e6cf33eb4c
tests/lwip*: blacklist esp8266 boards
2019-01-24 10:29:19 +01:00
Sebastian Meiling
44234783da
Merge pull request #10823 from kb2ma/nanocoap/verify_before_write_option
...
net/nanocoap: validate option length
2019-01-24 09:23:26 +01:00
Martine Lenders
d3f8739a1e
Merge pull request #5949 from zhuoshuguo/add_timeout_module_to_gnrc_mac
...
gnrc_mac: add timeout module.
2019-01-22 10:34:30 +01:00
7e3c382547
Merge pull request #10653 from dylad/pr/saml1x_support
...
cpu/saml1x: add support for SAML10 and SAML11 MCUs (Cortex-M23)
2019-01-22 08:53:06 +01:00
94d6bafc28
Merge pull request #10831 from cladmi/pr/tests/adapt_tests_auto_lookup
...
tests/posix_semaphore: private sub functions for tests libs
2019-01-21 18:02:37 +01:00
Dylan Laduranty
7afacf97e7
tests/*: add saml1*-xpro to BOARD_INSUFFICIENT_MEMORY
2019-01-21 17:11:32 +01:00
Dylan Laduranty
762e5251b4
tests/unittests: disable optimization for test_atomic_inc_rollover
...
Disable optimization for this function only with CPU_SAML1X MCUs due to an internal crosscompiler bug
2019-01-21 17:10:19 +01:00
zhuoshuguo
79e5586d0c
gnrc_mac: add timeout module.
...
Co-Authored-By: zhuoshuguo <zhuosgzju@gmail.com>
2019-01-21 22:46:10 +08:00
e990391948
tests/periph_dma: add automatic testing of DMA over UART
2019-01-21 15:06:16 +01:00
Gaëtan Harter
6e7fa9e9e0
tests/posix_semaphore: private sub functions for tests libs
...
While trying python test libraries, like pytest, the automatic test collection
detects the `testNUM` functions as tests but does not know the `term` argument
and fails.
This declares them as private to only find `testfunc(child)` entry point.
Another solution could have been to use `testNUM(child)` and rename
`testfunc` to `main` but would not match other tests.
2019-01-21 12:32:29 +01:00
Ken Bannister
715b79a1e7
tests/nanocoap: build request that fills buffer
2019-01-18 12:34:55 -05:00