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

2105 Commits

Author SHA1 Message Date
6f46b50337
Merge pull request #8488 from smlng/fix_tests_180129
tests: minor fixes for libfixmath, sizeof_tcb and gnrc_netif
2018-02-13 12:53:18 +01:00
Joakim Nohlgård
85125d04ef unittests/vfs: Add test for vfs_bind invalid FD argument 2018-02-12 08:46:44 +01:00
Vincent Dupont
5ede5db234 pkg/littlefs: add format implementation 2018-02-09 14:29:46 +01:00
Vincent Dupont
6c2d7ecac6 unittests/spiffs: add a format test 2018-02-09 14:29:45 +01:00
Joakim Nohlgård
2bf1068c72 tests/rng: Clean up includes 2018-02-07 10:24:33 +01:00
Martine Lenders
47bbeb8969
Merge pull request #8517 from smlng/enh/gnrc/netreg
gnrc_netreg: some optimisations
2018-02-07 08:22:44 +01:00
Joakim Nohlgård
30ad56d133
Merge pull request #8522 from gebart/pr/fmt_s64_dec
sys/fmt: Add fmt_s64_dec, print_s64_dec
2018-02-07 07:55:42 +01:00
smlng
a7b7789388 unittests: adapt tests-netreg 2018-02-06 21:40:47 +01:00
56d5ceb601 tests: instead of cpp-style, use C-style comments 2018-02-06 16:59:58 +01:00
Joakim Nohlgård
5ec44c82ba fmt: Add fmt_s64_dec, print_s64_dec 2018-02-06 11:04:42 +01:00
Joakim Nohlgård
8ecf3c6bb6 unittests/fmt: Basic check for buffer overflow errors 2018-02-06 11:03:05 +01:00
Joakim Nohlgård
19d3995504 unittests/fmt: Add max test for fmt_u16_dec 2018-02-06 11:03:05 +01:00
Joakim Nohlgård
3b90481bed unittests/fmt: Add test for min/max in fmt_s32_dec 2018-02-06 11:03:05 +01:00
96fb3b1e21 tests/unittests/tests-gcoap: adapt to resource context ptr 2018-02-02 19:02:31 +01:00
Hauke Petersen
9b557d2e47 tests/periph_gpio: added 'bench' make target
This commit enables the GPIO benchmark to be run automatically
(through 'make bench') using pexpect.
2018-01-31 13:55:37 +01:00
Hauke Petersen
94796ef413 tests/periph_gpio: added benchmark command 2018-01-31 13:55:37 +01:00
Sebastian Meiling
fac763bffc
Merge pull request #8422 from MichelRottleuthner/pr_fatfs_bump_version
pkg/fatfs: bump version to R0.13a
2018-01-31 12:05:31 +01:00
Gaëtan Harter
3ccdbb52e8
Merge pull request #8485 from miri64/tests/fix/netdev_test-DEVELHELP
tests: deactivate DEVELHELP for netdev_test
2018-01-30 22:17:57 +01:00
Martine Lenders
f26cd88511 tests: deactivate assert() for netdev_test 2018-01-30 21:08:07 +01:00
Gaëtan Harter
14ac1fa577
Merge pull request #8109 from cladmi/pr/tests-crypto-modes-ccm/refactoring
tests-crypto-modes-ccm: Refactoring to support more evolved tests
2018-01-30 21:05:51 +01:00
smlng
2ed609a810 tests/gnrc_netif: fix unused parameter
Test does not compile when DEVELHELP=0 otherwise.
2018-01-30 19:57:30 +01:00
smlng
b0a0fdf400 tests/sizeof_tcb: fix test condition
Fix test condition to match size if compiled with
    and w/o DEVELHELP.
2018-01-30 19:57:30 +01:00
smlng
6caa9f9e51 tests/libfixmath: fix range of loop in test script
The range for the loop was orders of magnitude too low.
    While the tests succeeds on native, it fails on real
    boards with a timeout.
2018-01-30 19:57:30 +01:00
Gaëtan Harter
934b075f76
Merge pull request #7883 from Hyungsin/hamilton-pushbutton
pulse counter driver: initial SAUL-compatible implementation
2018-01-30 19:35:44 +01:00
Martine Lenders
f1f079fb0e
Merge pull request #8480 from miri64/gnrc_ipv6_nib/fix/fix-conv
gnrc_ipv6_nib: ignore corner case when adding to PL
2018-01-30 13:52:15 +01:00
Martine Lenders
1f8dc50602 tests: adapt NIB tests for lifetime unit conversion 2018-01-30 12:32:06 +01:00
8d0815d386 boards: rename nucleo144-f207 to nucleo-f207zg 2018-01-29 22:14:25 +01:00
3f4e304b44 tests: use STM32 Nucleo-64 name in readmes 2018-01-27 18:48:24 +01:00
Martine Lenders
c13426f688 tests/gnrc_ndp: add device type handler to netdev mock-up
By providing a getter for `NETOPT_DEVICE_TYPE` the assertion failed in
\8458 is not hit anymore.
2018-01-27 07:24:15 +01:00
aaabbdd1d3
Merge pull request #8448 from smlng/fix_auto_tests_1801
tests: fix some minor issues with auto tests scripts
2018-01-26 16:40:20 +01:00
Sebastian Meiling
c2400083ae
Merge pull request #8440 from miri64/tests/fix/deactivate-DEVELHELP
tests: deactivate DEVELHELP for unittests
2018-01-26 16:03:40 +01:00
Vincent Dupont
c7d02497f4 unittests/littlefs: fix unittests
Dummy RAM mtd was too small to run unit tests correctly.
Added some sectors and reduced page size.
2018-01-26 15:08:06 +01:00
smlng
d57f32225e tests: remove obsolete clearing of TERMFLAGS 2018-01-26 11:10:14 +01:00
smlng
9da940736b tests: use python3 for tests scripts 2018-01-26 11:09:11 +01:00
Martine Lenders
cc729bd26a tests: deactivate DEVELHELP for unittests
In my opinion it doesn't make sense to activate DEVELHELP for unittests
because it also causes the evaluation of `assert()`. This causes the
tests to crash for values the tests test intentionally (because it is
the point of the unittests to test also some unexpected values and how
this influences the behavior).
2018-01-25 16:24:43 +01:00
Francisco Acosta
972b0ab8d2
Merge pull request #7087 from aabadie/driver_ata8520
drivers/ata8520e: add initial implementation (without netdev but provides Sigfox feature)
2018-01-25 14:59:31 +01:00
11b7e3b6d6 tests: add ata8520e test application 2018-01-25 12:01:57 +01:00
6e0dfcec8d tests/unittests: skip arduino-mkrfox1200 2018-01-25 11:56:27 +01:00
14911c1883
Merge pull request #8429 from bergzand/pr/enc28j60_deps
drivers/enc28j60: Add feature deps to makefile
2018-01-24 17:47:54 +01:00
5717429c95
tests/driver_enc28j60: Remove unnecessary feature requirements 2018-01-24 15:25:29 +01:00
Michel Rottleuthner
7ad1d77786 pkg/fatfs: align to interface changes of FatFs R0.13a 2018-01-23 19:32:41 +01:00
Hyungsin
36666a75b0 tests/driver_pulse_counter: test application for pulse counter driver 2018-01-22 12:34:47 -08:00
c05650ee49 tests/driver_encx24j600: remove now unnecessary feature deps 2018-01-22 13:13:09 +01:00
Hauke Petersen
e31532bb18 tests: add test for lis2dh12 device driver 2018-01-18 18:39:43 +01:00
Sebastian Meiling
03526815a1
Merge pull request #8264 from aabadie/pkg_semtech-loramac
pkg: Semtech LoRaMAC
2018-01-18 17:38:06 +01:00
e3ff143a35 tests/semtech-loramac: add test application 2018-01-18 15:31:01 +01:00
5459e1998a tests/driver_rn2xx3: add test application 2018-01-18 10:46:54 +01:00
Sebastian Meiling
5c0b058db4
Merge pull request #6121 from miri64/native/feat/zep_socket
native: provide socket-based ZEP device
2018-01-18 10:03:08 +01:00
Vincent Dupont
e6ca1af19a
Merge pull request #6925 from OTAkeys/pr/tja1042
can: add tja1042 transceiver driver
2018-01-18 09:44:51 +01:00
Vincent Dupont
cf96c4ecb0 tests: add can_trx test app 2018-01-18 09:27:10 +01:00
Martine Lenders
28aa90df6f tests: add tests for socket_zep 2018-01-18 09:15:38 +01:00
cefb7974d7
Merge pull request #8210 from astralien3000/teensy31
boards/teensy31 : initial support of Teensy 3.1 & 3.2
2018-01-18 09:14:51 +01:00
3f990480d1
Merge pull request #7162 from kb2ma/nanocoap/msgid_byte_order
nanocoap: fix byte order of request message ID, and add test application
2018-01-17 22:59:07 +01:00
Sebastian Meiling
ba7cbd024e
Merge pull request #8227 from gebart/pr/micro-ecc-feature-periph
pkg/micro-ecc: Update FEATURE_PERIPH_HWRNG -> MODULE_PERIPH_HWRNG
2018-01-17 20:16:38 +01:00
Loïc Dauphin
f200c310ad tests/unittests: add teensy31 to BOARD_INSUFFICIENT_MEMORY 2018-01-17 18:14:00 +01:00
b5dd8c3807
tests/gnrc_ipv6_ext: Increase ipv6 addr numof 2018-01-17 16:25:26 +01:00
smlng
fbb34761a3 examples/posix_sockets: fix undefined usleep 2018-01-16 13:22:35 +01:00
steffen
1d38c7d939 drivers/lc709203f: Added support for the LC709203F Fuel Gauge 2018-01-15 17:48:27 +01:00
Ken Bannister
7e5d14fbf0 net/nanocoap: add test for message ID byte order 2018-01-12 05:58:52 -05:00
2b6e42672c tests/unittests: add fmt hex/bytes converter tests 2018-01-10 21:50:10 +01:00
Vincent Dupont
1f0024b184 tests/pkg_fatfs_vfs: remove rtc_init call 2018-01-09 19:01:26 +01:00
Sebastian Meiling
ebaa60a7f6
Merge pull request #8239 from OTAkeys/pkg_littlefs
fs: add littlefs as a package
2018-01-09 17:14:45 +01:00
Vincent Dupont
c8eb77e8ff pkg: add littlefs pkg and vfs integration 2018-01-09 17:03:44 +01:00
Martine Lenders
03fdaaeb8c
Merge pull request #8338 from haukepetersen/add_event_timeoutclear
sys/event/timeout: add timeout_clear() function
2018-01-09 15:40:40 +01:00
Hauke Petersen
860470df53 tests/events: adapt timeout value to comment above 2018-01-09 15:24:54 +01:00
Hauke Petersen
36743c17a1 tests/events: s/printf/puts/ where applicable 2018-01-09 15:24:36 +01:00
Hauke Petersen
6c55b36943 tests/event: add test for timeout_clear + cleanup 2018-01-09 15:24:13 +01:00
MichelRottleuthner
198ced4933 pkg/fatfs: integrate diskio layer to mtd interface 2018-01-09 14:46:40 +01:00
MichelRottleuthner
ee17dae5af pkg/fatfs: add vfs integration 2018-01-09 14:46:40 +01:00
daniel-k
f95463a8f2 tests/sx127x: deduce size of netopts from variable
This adapts automatically when a variable type changes, which is easy
to forget to change the correspondig netdev->set/get call.
2018-01-05 13:16:50 +01:00
daniel-k
0ee2bbe9f3 tests/sx127x: fix wrong usage of netdev->set() 2018-01-05 13:15:58 +01:00
daniel-k
5eace384a7 tests/sx127x: adapt to driver interface change using NETOPT_CHANNEL_FREQUENCY 2018-01-05 12:28:29 +01:00
Gaëtan Harter
30202f9de7 tests/ccm: check output buffer size
Add static test to verify output buffer is big enough for testing.
2018-01-04 18:01:58 +01:00
Gaëtan Harter
a83a1a80e5 tests/ccm: support input/adata bigger than 256
Fix data types to have bigger sizes.
The 'data' buffer size will still need to be increased when adding bigger tests.
2018-01-03 12:02:29 +01:00
Gaëtan Harter
e74b0ff33d tests/ccm: set 'len_encoding' from 'nonce_len'
Configure len_encoding in test depending on nonce_len.
Prepare for tests with nonce_len != 13.
2018-01-03 12:02:28 +01:00
Gaëtan Harter
b5c1855d7e tests/ccm: make 'mac_length' configurable in test
Preparation to add tests with different mac_length than 8.
2018-01-03 12:02:20 +01:00
Gaëtan Harter
fc3efbd0ee tests/ccm: add macro to simplify test call 2018-01-03 12:02:16 +01:00
Gaëtan Harter
5f6dc57d09 tests/ccm: fixup indentation 2018-01-03 12:01:57 +01:00
Martine Lenders
f485040df5
Merge pull request #8307 from aabadie/pr/flake8/fix_tests_rng
tests/rng/tests: fix flake8 F401 issue
2017-12-27 11:52:21 +01:00
4aaba0a257 tests/xtimer_usleep_short: make Makefile adhere to conventions 2017-12-21 13:23:23 +01:00
c08078e44d tests/thread_priority_inversion: make Makefile adhere to conventions 2017-12-21 13:23:23 +01:00
e8e581ea54 tests/rng: make Makefile adhere to conventions 2017-12-21 13:23:23 +01:00
Sebastian Meiling
1003cb9967
Merge pull request #7372 from dailab/priority_inversion
tests: add program for priority inversion problem
2017-12-21 12:02:27 +01:00
Thomas Geithner
1ebecc7758 tests: add program for priority inversion 2017-12-21 11:51:34 +01:00
3b55a73ced tests/rng/tests: fix flake8 F401 issue
F401 'pexpect' imported but unused
2017-12-20 16:42:59 +01:00
Peter Kietzmann
71d5ea2359
Merge pull request #8283 from smlng/fix/tests/thread_flags
tests/thread_flags: fix error condition and return value
2017-12-19 17:19:25 +01:00
Sebastian Meiling
b151f95b61
Merge pull request #8243 from gebart/pr/tests-snprintf
unittests: Fix printf float test BUFSIZE
2017-12-19 14:08:46 +01:00
smlng
205682adf3 tests/thread_flags: fix error condition and return value 2017-12-19 11:04:18 +01:00
3a572d82cd
Merge pull request #8252 from miri64/gnrc_netif/api/rename-ipv6_addr
gnrc_netif: rename IPv6 address "setters"
2017-12-18 17:00:31 +01:00
Bas Stottelaar
28eaf5db3a tests: rng: add test suite for RNG sources (PRNG, HWRNG) 2017-12-17 17:02:59 +01:00
4579deb996
Merge pull request #8080 from smlng/enh/tests/develhelp
make: enable develhelp for all tests, except minimal
2017-12-15 11:37:44 +01:00
smlng
d886fb87b5 tests, xtimer_msg: add test script 2017-12-15 09:56:03 +01:00
smlng
2809ad406f tests: enhance xtimer_msg, remove timex 2017-12-15 09:53:24 +01:00
aec32df131 tests/driver_lis3mdl: update to new driver api 2017-12-14 18:18:34 +01:00
smlng
0ec76307f6 tests: adapt BOARD_INSUFFICIENT_MEMORY 2017-12-14 18:03:18 +01:00
smlng
bbbf2bf345 tests/minimal: disable develhelp
to ensure minimal binary size for comparison
2017-12-14 17:54:14 +01:00
smlng
ea9aecd4b5 tests: enable DEVELHELP for all tests by default 2017-12-14 17:54:13 +01:00
smlng
6f67e75f90 tests: remove DEVELHELP from per test Makefiles 2017-12-14 17:54:13 +01:00
5fc1324969 tests/driver_enc28j60: exclude z1
because of not enough memory
2017-12-14 16:27:49 +01:00
Joakim Nohlgård
599ad3784c
Merge pull request #7345 from OTAkeys/pr/spiffs_statvfs
pkg/spiffs: implement statvfs and improve doc
2017-12-14 11:37:53 +01:00