Kevin "Bear Puncher" Weiss
c7894d2bfc
Merge pull request #10385 from PeterKietzmann/pr_tests_puf_args
...
tests/puf_sram: add input args to automation script
2018-11-19 09:54:48 +01:00
ZetaR60
1b1d7b8b91
Merge pull request #10411 from cladmi/pr/eepreg/remove_features_required
...
tests/eepreg: remove duplicate FEATURES_REQUIRED
2018-11-17 15:18:45 -05:00
Martine Lenders
a0067b925d
tests/unittests: provide tests for gnrc_pkt_len_upto()
2018-11-16 15:51:36 +01:00
Gaëtan Harter
195d51b92a
tests/eepreg: remove duplicate FEATURES_REQUIRED
...
The dependency from eepreg to FEATURES_REQUIRED is already defined in
`sys/Makefile.dep` so should not need to be duplicated in the
application Makefile.
2018-11-16 12:07:00 +01:00
PeterKietzmann
0de38c2a6f
tests/puf_sram: add input args to automation script
2018-11-14 13:34:41 +01:00
Gaëtan Harter
147390c209
tests/ccm: add test for auth_data_len upper value
...
Maximal supported value is 0xFEFF.
2018-11-12 16:38:45 +01:00
730286903a
crypto/helper: Add test for crypto_secure_wipe
...
The test added for crypto_secure_wipe wipes a buffer with a secret in
it. Only the last byte is kept as it was. The last byte is used to check
that the function doesn't write outside the supplied buffer.
2018-11-07 18:27:10 +01:00
Cenk Gündoğan
df9e25353b
test: trickle: fix condition for success
...
The current test implementation wrongly assumes that the diff between
two fired events (e1, e2) must always increase. That is not true, as
event e1 may reside on the upper part of [I/2, I) and e2 on the lower
part of [I, 2*I).
This commit fixes the test to look at the actual time that was randonmly
chosen from both intervals (t1, t2). Given that the intervals are
doubled, t1 must always be smaller than t2.
2018-11-05 16:58:54 +01:00
Francisco Acosta
dd3ca90e8a
examples, tests: add memory insufficient arduino boards
...
The unification of a bigger stack for the atmega platforms
makes some boards to not have enough memory to provide
the big stack plus the application code.
It is possible though, to override the stack size to a
smaller amount if running the test is necessary.
2018-11-02 17:57:13 +01:00
MichelRottleuthner
1606e16879
Merge pull request #10174 from Josar/pr/xtimer_hang/debug_pins
...
test/xtimer_hang: DEBUG_PINS
2018-11-01 10:20:06 +01:00
josar
162d17c5a2
test/xtimer_hang: DEBUG_PINS
...
Add the option to use debug pins to investigate timing issues.
2018-10-31 12:41:43 +01:00
Cenk Gündoğan
f30d0a68d8
Merge pull request #10305 from jia200x/pr/fix_my9221_test
...
tests/driver_my9221: fix for loop indexes
2018-10-31 11:59:14 +01:00
Jose Alamos
b543f2dc67
tests/driver_my9221: fix for loop indexes
2018-10-31 10:59:51 +01:00
Emmanuel Baccelli
365d82ed09
Merge pull request #9829 from OTAkeys/pr/uuid_string
...
uuid: add uuid_to_string() and uuid_from_string()
2018-10-30 14:30:47 +01:00
Martine Lenders
17738d7dd4
unittests/tests-rpl_srh: rename to tests-gnrc_rpl_srh
2018-10-30 12:41:45 +01:00
Martine Lenders
fb4689290d
unittests/tests-rpl_srh: add failure tests
2018-10-30 12:41:40 +01:00
Martine Lenders
c7b90aab81
unittests/tests-rpl_srh: factor-out pointer initialization
2018-10-30 12:26:15 +01:00
Martine Lenders
54a8caf0cd
unittests/tests-rpl_srh: reorder stack vars where appropriately
...
Also make constants static const ;-).
2018-10-30 12:16:38 +01:00
Martine Lenders
e56c6188ae
unittests/tests-rpl_srh: move buffers out of function context
...
Things like this already lead to problems in other unittests, so move
them out of the stack.
2018-10-30 12:14:47 +01:00
Joakim Nohlgård
21efb20184
Merge pull request #9725 from miri64/tests/enh/pkg_cmsis-dsp-testscript
...
tests/pkg_cmsis-dsp: provide testscript
2018-10-27 02:39:32 +02:00
Martine Lenders
d6ea335bfc
unittests: add tests for gnrc_pktbuf_reverse_snips()
2018-10-25 23:11:33 +02:00
Martine Lenders
959e4491fa
Merge pull request #9702 from maribu/phydat_fit
...
sys/phydat: New phydat_fit API
2018-10-25 19:16:54 +02:00
Martine Lenders
466bc341a6
Merge pull request #10231 from miri64/gnrc_ipv6_ext/enh/move-rh-to-gnrc
...
gnrc_ipv6_ext: move ipv6_ext_rh (partly) to GNRC
2018-10-25 19:15:22 +02:00
danpetry
99ae495226
Merge pull request #10011 from leandrolanzieri/pr/drivers/ds18
...
drivers/ds18: Add Maxim Integrated 1-Wire temperature sensor driver
2018-10-25 17:26:10 +02:00
Gaëtan Harter
c5deac4865
Merge pull request #10023 from miri64/gnrc_netif/fix/no-addr-but-addr-len
...
gnrc_netif: Fix l2addr_len > 0, but no l2addr edge-case
2018-10-25 14:31:32 +02:00
Martine Lenders
390ddfba7c
tests/unittests: adapt for value name changes
2018-10-25 14:02:46 +02:00
Gaëtan Harter
40187e81fa
Merge pull request #10184 from bergzand/pr/tests/tweetnacl_move
...
tests/tweetnacl: Move from unittests to regular test
2018-10-25 12:27:16 +02:00
José Alamos
059ef5c437
Merge pull request #10201 from MrKevinWeiss/pr/tests/fixlibfixmath
...
tests/libfixmath: Add delay at start of test
2018-10-25 11:06:37 +02:00
MrKevinWeiss
646c6d67c0
tests/libfixmath: Add delay at start of test
...
The delay allows allows time for the `make term` to connect and start flushing the output buffer before the buffer overflows.
2018-10-24 17:27:30 +02:00
137e4825ed
tests/tweetnacl: Move from unittests to regular test
...
Stack size is changed from 4 times the default + printf to 5 times the
default stack size. Only on the lpc2387 this reduces the resulting stack
space. the test is not rerun for the lpc2387 and is untested.
Tests are disable for the Arduino. While they "might" work, it takes
around 8 minutes to complete the tests.
2018-10-24 16:56:32 +02:00
Frits Kuipers
8b8790c18f
drivers/ds18: Add Maxim Integrated ds18 driver
...
tests/driver_ds18: Add test application for DS18B20 sensor.
tests/driver_ds18: Add whitelist of boards
2018-10-24 16:02:05 +02:00
José Alamos
ea219c3eba
Merge pull request #10217 from cladmi/pr/tests/heatshrink/ci
...
tests/pkg_heatshrink: re-enable CI test
2018-10-24 13:56:16 +02:00
Marian Buschsieweke
fe46cae00d
sys/phydat: New phydat_fit API
...
The current phydat_fit implementation the following limitations:
- The API is way more complicated to use than needed
- It doesn't perform any rounding
- It uses `long` in a place where actual width (or better range) of the type
is pretty important.
This commit addresses these limitations and uses lookup-tables to reduce the
number of divisions required.
Before this commit code using it looked like this:
``` C
long values[] = { 100000, 2000000, 30000000 };
phydat_t dat = { .scale = 42, .unit = UNIT_V };
phydat_fit(&dat, values[0], 0, phydat_fit(&dat, values[1], 1, phydat_fit(&dat, values[2], 2, 0)));
```
Now it can be used like this:
``` C
int32_t values[] = { 100000, 2000000, 30000000 };
phydat_t dat = { .unit = UNIT_V, .scale = 42 };
phydat_fit(&dat, values, 3);
```
2018-10-24 13:05:51 +02:00
Gaëtan Harter
f160a75aa5
Merge pull request #10209 from bergzand/pr/pkg/hacl_move
...
tests/hacl: Move from unittests to regular test
2018-10-23 18:32:27 +02:00
Martine Lenders
3068fb8aed
Merge pull request #9034 from cladmi/pr/tests/pkg_micro-ecc/blacklist/wsn430
...
tests/pkg_micro-ecc: blacklist wsn430 boards
2018-10-23 18:17:44 +02:00
052fea24aa
tests/hacl: Move from unittests to regular test
2018-10-23 17:46:13 +02:00
danpetry
6fcb9ad552
tests/tsl4531x: Add tests to cover API changes.
...
The changes to the test correspond to the change in the API and design
of the driver, as described in the previous commit and in tsl4531x.h.
2018-10-23 17:26:28 +02:00
Juan Carrano
b99bd67efd
tests/driver_tsl4531x: Add tests for illuminance sensor.
...
Missing README.
2018-10-23 17:26:28 +02:00
Gaëtan Harter
4157a07152
tests/external_module_dir: test for EXTERNAL_MODULE_DIRS
...
It demonstrates:
* Adding a module with source code
* Setting a header include directory
* Adding dependences, which are evaluated before other modules dependencies
If the application compiles, everything is ok.
2018-10-23 13:22:25 +02:00
Gaëtan Harter
69225e6add
tests/pkg_micro-ecc: blacklist 16bits boards
...
Test breaks on wsn430 boards with the node rebooting.
This must come becauso `micro-ecc` does not have 16b support.
I also blacklisted the other 16bits boards.
* https://github.com/kmackay/micro-ecc/issues/96
2018-10-22 14:28:44 +02:00
cladmi
d23fea6043
tests/pkg_heatshrink: re-enable CI test
...
When moved out of `unittests` running test on CI was not re-enabled.
2018-10-21 19:31:25 +02:00
aedc5260d8
Merge pull request #9848 from ZetaR60/RIOT_eepreg2
...
sys/eepreg: EEPROM registration support (version 2)
2018-10-21 11:20:53 +02:00
Matthew Blue
a99361e0b6
tests/eepreg: Initial test support
2018-10-20 09:30:41 -04:00
smlng
24032ac9ae
tests/heatshrink: move from unittests to regular test
...
This moves tests for the heatshrink package from unittests to a regular
test, which should help to decrease binary size of unittests.
2018-10-19 15:18:16 +02:00
Martine Lenders
ed1eb8ed9c
Merge pull request #10183 from bergzand/pr/tests/libcose_move
...
tests/libcose: Move from unittests to regular test
2018-10-18 15:16:20 +02:00
José Alamos
372a729e21
Merge pull request #10070 from OTAkeys/pr/bump_littlefs_version
...
pkg/littlefs: bump version to v1.6.2
2018-10-18 14:35:55 +02:00
PeterKietzmann
d3e34b4334
sys/ecc: add repetition code
2018-10-18 13:37:21 +02:00
03e2eca813
tests/libcose: Move from unittests to regular test
2018-10-18 11:43:18 +02:00
Martine Lenders
179f17ca42
Merge pull request #9989 from PeterKietzmann/pr_add_golay
...
sys/ecc: add golay(24,12) half rate code
2018-10-18 09:31:17 +02:00
PeterKietzmann
9768995a0b
sys/ecc: add golay(24,12) ECC
2018-10-18 09:05:28 +02:00
910b088094
Merge pull request #10172 from miri64/tests/fix/lwip_sock_array_address
...
tests/lwip_sock_{i,ud}p: correctly get array address
2018-10-17 20:36:33 +02:00
8b2d295ab6
Merge pull request #10107 from miri64/tests/fix/lwip-sock-stack
...
tests/lwip_sock_*: Stop main thread from overflowing
2018-10-17 20:26:31 +02:00
Martine Lenders
bf8ebbac81
tests/lwip_sock_{i,ud}p: correctly get array address
...
We want the address of the start of the array.
2018-10-17 11:43:11 +02:00
917548f37c
Merge pull request #10170 from fedepell/arduino_tests_1
...
tests/arduino: add automatic test for arduino module
2018-10-17 09:15:20 +02:00
Martine Lenders
a291facbd7
tests/lwip_sock_tcp: make non-static end-point consts static
2018-10-16 19:09:24 +02:00
Martine Lenders
f6964c1065
tests/lwip_sock_tcp: make IPv4 address byteorder static
2018-10-16 19:09:23 +02:00
Martine Lenders
4934df3112
tests/lwip_sock_ip: make non-static consts static
2018-10-16 19:09:23 +02:00
Martine Lenders
73ec2ac652
tests/lwip_sock_ip: make IPv4 address byteorder static
2018-10-16 19:09:23 +02:00
Martine Lenders
6789a0b246
tests/lwip_sock_udp: make non-static consts static
2018-10-16 19:09:23 +02:00
Martine Lenders
a5370ff6df
tests/lwip_sock_udp: make IPv4 address byteorder static
2018-10-16 19:09:23 +02:00
77d97a6fa2
Merge pull request #9336 from jia200x/openthread_ftd
...
pkg/openthread: rework of FTD and MTD support
2018-10-16 17:23:55 +02:00
9f390f19c6
Merge pull request #10059 from miri64/pkg/enh/lwIP-2.1
...
lwip: Bump version to v2.1.0
2018-10-16 17:10:26 +02:00
Federico Pellegrin
6ddab08cdb
tests/arduino: add automatic test for arduino module
2018-10-16 16:41:26 +02:00
Kevin "Bear Puncher" Weiss
0628345364
Merge pull request #10093 from aabadie/pr/drivers/periph_eeprom_refactor
...
drivers/periph_eeprom: refactor implementation and test application
2018-10-16 16:30:40 +02:00
Martine Lenders
6911589989
Merge pull request #10102 from PeterKietzmann/pr_bitarithm_types
...
core/bitarithm: change types to `uintXX_t`
2018-10-16 16:09:08 +02:00
Jose Alamos
b75ffb98da
examples/openthread: move test to examples
2018-10-16 15:25:44 +02:00
Kevin "Bear Puncher" Weiss
7187bbf8cf
Merge pull request #9426 from gschorcht/esp32
...
ESP32 port
2018-10-16 15:24:25 +02:00
Sebastian Meiling
ca90f9db2c
Merge pull request #10087 from kb2ma/nanocoap/fix_response_type
...
net/nanocoap: fix response type
2018-10-16 13:41:20 +02:00
a91b71a581
tests/periph_eeprom: add testrunner script
2018-10-16 10:39:10 +02:00
ae6028c749
tests/periph_eeprom: refactor test application + fix bounds
2018-10-16 10:39:10 +02:00
dfe03562a8
Merge pull request #7401 from dailab/Firefly
...
boards: add Zolertia Firefly board
2018-10-16 10:28:48 +02:00
Martine Lenders
1a3d84d932
tests/gnrc_sock_tcp: update INSUFFIENT_MEMORY for new build size
2018-10-15 21:40:31 +02:00
Martine Lenders
9cced4e806
tests/lwip_sock_udp: enlarge message queue due to more NDP messages
2018-10-15 21:32:34 +02:00
Martine Lenders
7fd55803ee
tests/lwip_sock_*: adapt for address zoning
2018-10-15 21:32:34 +02:00
Gunar Schorcht
7fde6fc258
Merge pull request #6712 from aabadie/driver_vcnl4010
...
drivers/vcnl4010: initial implementation
2018-10-15 16:12:45 +02:00
91d57ca235
tests/pkg_semtech-loramac: cleanup README formatting
2018-10-15 14:15:29 +02:00
e73e8ca185
tests/pkg_semtech-loramac: update application README
...
Add note about save and erase loramac subcommands
2018-10-15 14:15:29 +02:00
ade05f92f4
tests/pkg_semtech-loramac: add save/erase subcommands
2018-10-15 14:15:29 +02:00
Ken Bannister
7bb0b0d7eb
unittests/nanocoap: add server side tests
2018-10-15 06:42:37 -04:00
456e0a3abf
tests/vcnl40x0: add test application
2018-10-15 11:44:10 +02:00
726ebf3dad
coap: use COAP_FORMAT style content-format defines
...
Replaces all occurences of COAP_CT_.* with COAP_FORMAT_.*
2018-10-15 09:44:17 +02:00
da48e01029
Merge pull request #10109 from silkeh/add-libb2
...
pkg: add libb2 (BLAKE2)
2018-10-14 20:26:20 +02:00
Silke Hofstra
7a49bd0747
tests: add test for the libb2 package
2018-10-13 21:36:41 +02:00
Sebastian Meiling
239b3dfe86
Merge pull request #10132 from MrKevinWeiss/pr/adaptphil
...
dist/tests/if_lib: Update to riot_pal
2018-10-11 11:47:55 +02:00
MrKevinWeiss
5b83137fd1
dist/tests/if_lib: Update to riot_pal
...
This removes all non-application based driver/devices and replaces with riot_pal.
riot_pal (riot protocol abstraction layer) can be installed with pip install riot_pal.
The purpose is ti simplify and modularize the interfaces and tests.
All tests using the if_lib interface are updated too.
2018-10-09 21:21:17 +02:00
Sebastian Meiling
ad255934b1
Merge pull request #10131 from cladmi/pr/openthread/cleanup
...
tests/openthread: remove useless dependency handling
2018-10-09 11:23:28 +02:00
cladmi
950274078a
tests/openthread: remove useless dependency handling
...
The features requirement declaration in the application is useless.
It is already handled by `drivers/Makefile.dep`.
Testing procedure
The result is unchanged with this commit:
make BOARD=samr21-xpro info-debug-variable-FEATURES_REQUIRED | tail -n 1 | \
tr ' ' '\n' | sort -u
make BOARD=iotlab-m3 info-debug-variable-FEATURES_REQUIRED | tail -n 1 | \
tr ' ' '\n' | sort -u
2018-10-08 15:00:41 +02:00
Martine Lenders
521d7bdfc2
Merge pull request #10096 from mtausig/feature/tiny-asn1_update
...
tiny-asn1: update package version
2018-10-08 14:01:19 +02:00
PeterKietzmann
0ecaaf021c
core/bitarithm: add explicit 32-bit function
2018-10-08 13:57:21 +02:00
Schorcht
3f8c359b01
tests: blacklist es32 based boards
2018-10-08 12:20:50 +02:00
Mathias Tausig
2cc6637bee
tiny-asn1: Fix documentation
...
Typo
New URL
2018-10-08 10:28:10 +02:00
eafabe85a4
tests/unittest: exclude firefly board
2018-10-04 17:23:42 +02:00
Peter Kietzmann
ed24d3622a
Merge pull request #9621 from bergzand/pr/netif/use_fmt
...
gnrc_netif: Use fmt for bytes to hex string
2018-10-04 14:34:37 +02:00
0d71c1ccf7
gnrc_netif: Use fmt for bytes to hex string
2018-10-04 13:34:18 +02:00
Vincent Dupont
7e47e36e55
pkg/littlefs: fix file buffer size
2018-10-03 11:54:17 +02:00
Vincent Dupont
73e971fc56
uuid: add uuid_from_string()
2018-10-03 10:44:14 +02:00
Vincent Dupont
695a94449a
fmt: add scn_u32_hex()
2018-10-03 10:44:14 +02:00
Vincent Dupont
8c5ffa0a8d
fmt: add fmt_char
2018-10-03 10:44:14 +02:00
Vincent Dupont
db4ce5eff2
uuid: add uuid_to_string()
2018-10-03 10:44:14 +02:00
Vincent Dupont
71455b692f
fmt: add fmt_to_lower()
2018-10-03 10:44:14 +02:00