Hauke Petersen
47a500d0b1
Merge pull request #8447 from haukepetersen/opt_test_periphuartpower
...
tests/periph_uart: included power_on/off() in test
2018-03-05 09:49:20 +01:00
Joakim Nohlgård
2d53178cc5
boards/frdm-kw41z: Add NXP FRDM-KW41Z
...
https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/kinetis-cortex-m-mcus/w-serieswireless-conn.m0-plus-m4/freedom-development-kit-for-kinetis-kw41z-31z-21z-mcus:FRDM-KW41Z
2018-03-02 15:40:35 +01:00
Peter Kietzmann
215940b058
Merge pull request #8643 from Josar/jiminy_master
...
boards: Jiminy-mega256rfr2: initial support
2018-03-02 15:24:39 +01:00
Josarn
cb6222daba
tests/* : Blacklisting for Jiminy
...
Signed-off-by: Josua Arndt <josuaarndt@live.de>
Signed-off-by: Steffen Robertz <steffen.robertz@online.de>
2018-03-02 13:51:28 +01:00
Vincent Dupont
647133f5c5
unittests/tests-spiffs: add partition test
2018-03-02 13:45:18 +01:00
Hauke Petersen
a38a9f7a6f
tests/periph_uart: included power_on/off() in test
2018-03-02 10:53:55 +01:00
jia200x
605d4e3dfb
Merge pull request #8633 from aabadie/pr/tests/pkg_loramac_get
...
tests/pkg_semtech_loramac: fix get command with EUI values
2018-02-27 10:46:48 +01:00
jia200x
ab4232651f
Merge pull request #8645 from aabadie/pr/pkg/semtech-loramac_devaddr
...
tests/pkg_semtech-loramac: fix loramac set devaddr
2018-02-27 10:37:57 +01:00
072b3a866e
test/pkg_semtech-loramac: fix loramac set devaddr
2018-02-27 10:08:53 +01:00
c450cdebeb
Merge pull request #8482 from cogip/qdec
...
drivers: Initial import of low-level QDEC driver interface
2018-02-26 17:44:58 +01:00
a10a755548
Merge pull request #8629 from ochristi/fix_test_atomic_dec_positive
...
unittests/tests-core: Fix tests in loop not being executed
2018-02-26 16:04:46 +01:00
MichelRottleuthner
bad08596f6
Merge pull request #8399 from OTAkeys/fix/mtd_native_write
...
mtd_native: fix overlapping pages write check
2018-02-26 15:38:46 +01:00
Vincent Dupont
f04ecee9f6
mtd_native: fix overlapping pages write check
2018-02-26 15:32:06 +01:00
o0c
d7853ac87f
unittests: fix loop in tests-core-atomic
2018-02-26 14:52:05 +01:00
Joakim Nohlgård
032b07cee7
Merge pull request #8614 from gebart/pr/tests-pkg_fatfs-mtd-fix
...
tests/fatfs: Fix tests on native after configuration changes in #8272
2018-02-26 13:37:44 +01:00
6ea16d7d96
tests/driver_hts221: fix missing words and cleanup
2018-02-25 14:27:59 +01:00
Gilles DOFFE
f15fbf13b3
tests: add periph_qdec test
...
* Test all QDEC devices
Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-24 18:08:05 +01:00
8708e2035a
tests/pkg_semtech_loramac: fix get command for EUIs
...
- add a null character after conversion from bytes to hex chars
- set the maximum print buffer size to the maximum possible size (application key size)
2018-02-24 11:07:12 +01:00
Martine Lenders
2757f1d7dd
Revert "unittests: adapt tests-netreg"
...
This reverts commit a7b7789388
.
2018-02-22 20:29:55 +01:00
Ken Bannister
d7004ebcd8
Merge pull request #8513 from kaspar030/nanocoap_add_context_to_resources
...
nanocoap: add context pointer to resources
2018-02-22 18:30:43 +00:00
Joakim Nohlgård
a90a444dd6
tests/pkg_fatfs: Fix native configuration flags for #8272
2018-02-22 08:27:24 +01:00
Joakim Nohlgård
b39f6708ae
tests/pkg_fatfs_vfs: Fix native configuration flags for #8272
2018-02-22 08:25:25 +01:00
587299d0e3
tests/driver_sx127x: fix setup issue
2018-02-21 13:13:51 +01:00
8b43659230
Merge pull request #8597 from bergzand/pr/tests/emb6-feat-req
...
tests/emb6: remove obsolete FEATURES_REQUIRED from makefile
2018-02-21 09:40:19 +01:00
5efd9599e0
sys/benchmark: remove BENCHMARK_SETUP()
2018-02-20 10:10:13 +01:00
1d716befc8
tests/emb6: remove obsolete FEATURES_REQUIRED from makefile
2018-02-19 21:07:15 +01:00
Martine Lenders
26ad044e12
Merge pull request #8563 from miri64/gnrc_ipv6_nib/fix/6lo-tentative
...
gnrc_ipv6_nib_6ln: do not mark non-link-local addresses directly VALID
2018-02-19 15:28:08 +01:00
Martine Lenders
8d98447c36
tests: adapt gnrc_ipv6_nib_6ln test for new behavior
2018-02-19 14:39:29 +01:00
Semjon Kerner
aa0d22a552
tests/driver_bmx055: provide test application for bmx055
2018-02-19 14:29:24 +01:00
Joakim Nohlgård
a25c059f1f
Merge pull request #8368 from smlng/examples/fix_posix
...
posix: fix pthread and socket example
2018-02-19 10:58:02 +01:00
Joakim Nohlgård
354499d397
Merge pull request #8588 from rxwb/fix_saul_reg_rm
...
sys/saul_reg: Fix saul_reg_rm return value when removing first element
2018-02-19 10:38:14 +01:00
f59e8247b0
Merge pull request #8040 from haukepetersen/add_bench_periphgpiototest
...
tests/periph_gpio: added benchmark capabilities
2018-02-19 09:48:39 +01:00
Ronald Weber
1293113dca
unittests/saul_reg: Add unit test for saul_reg_rm of list head
...
This also leaves the global saul_reg list in the same empty state like
before the unit tests.
2018-02-18 12:05:54 +01:00
Joakim Nohlgård
d24cd4fd73
unittests/vfs: Add test case for #8309
2018-02-13 18:14:58 +01:00
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
smlng
2149411d2f
unittests: fix failed assertion caused by priority_pktqueue
2017-12-13 22:25:53 +01:00
Martine Lenders
eb08a509ca
tests: fix tests/gnrc_netif for changes in #6895
2017-12-13 15:44:19 +01:00
Martine Lenders
2ae30cf582
gnrc_netif: rename IPv6 address "setters"
...
This renames the following functions
* `gnrc_netif_ipv6_addr_add()`
* `gnrc_netif_ipv6_addr_remove()`
* `gnrc_netif_ipv6_group_join()`
* `gnrc_netif_ipv6_group_leave()`
by appending the suffix `_internal`.
\## Reasoning
I'd like to provide a helper function for the *public* equivalent using
`gnrc_netapi_set()`, and those names are to nice to not be taken for
those.
\## Procedure
I used a combination of `git grep` and `sed` to do this and fixed the
alignment in the result of some cases by hand.
```sh
git grep --name-only "\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)\>" | \
xargs sed -i 's/\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)/\0_internal/g'
```
2017-12-13 13:50:39 +01:00
Joakim Nohlgård
c47cfa62f2
tests/pkg_micro-ecc-with-hwrng: Update CFLAGS
...
Remove deprecated FEATURES_PERIPH_HWRNG symbol
2017-12-13 11:02:07 +01:00
Martine Lenders
ba2453d320
Merge pull request #8247 from aabadie/pr/tests/python_E305
...
tests: fix python style E305
2017-12-13 10:52:57 +01:00
87b14d96c8
tests: fix python style E402
...
E402 module level import not at top of file
2017-12-12 22:40:03 +01:00
d3015f0a57
tests: fix python style E305
...
expected 2 blank lines after class or function definition, found 1
2017-12-12 15:43:27 +01:00
ec5a9a5f88
tests: fix python style E502 issue:
...
E502 the backslash is redundant between brackets
2017-12-12 15:14:47 +01:00
Joakim Nohlgård
b55975fc0a
unittests: Fix printf float test BUFSIZE
...
Fixes the following error from GCC 7.2.0 with a recent newlib
In file included from /usr/arm-none-eabi/include/stdio.h:800:0,
from /home/jgn/work/src/riot/tests/unittests/tests-printf_float/tests-printf_float.c:21:
/home/jgn/work/src/riot/tests/unittests/tests-printf_float/tests-printf_float.c: In function ‘sfprintf_float’:
/home/jgn/work/src/riot/tests/unittests/tests-printf_float/tests-printf_float.c:39:28: error: ‘%f’ directive output truncated writing 11 bytes into a region of size 10 [-Werror=format-truncation=]
snprintf(str, BUFSIZE, "%f", in0);
^
/home/jgn/work/src/riot/tests/unittests/tests-printf_float/tests-printf_float.c:39:5: note: ‘__builtin_snprintf’ output 12 bytes into a destination of size 10
snprintf(str, BUFSIZE, "%f", in0);
^
cc1: all warnings being treated as errors
2017-12-12 12:16:43 +01:00
Vincent Dupont
a99a244824
unittests/tests-spiffs: add statvfs unittest
2017-12-11 09:19:53 -08:00
Sebastian Meiling
23e8d92285
Merge pull request #8219 from smlng/automate/tests/mutex_unlock
...
tests: optimise and automate mutex_unlock_and_sleep
2017-12-10 16:00:11 +01:00
Dylan Laduranty
d7f1c64559
Merge pull request #8222 from aabadie/pr/drivers/sx127x_timers
...
drivers/sx127x: cleanup RX/TX timers
2017-12-09 18:52:20 +01:00
32b1ee3baf
drivers/sx127x: cleanup RX/TX timers
2017-12-09 16:51:09 +01:00
404a32f346
tests/warn_conflict: cleanup python test script and move to tests folder
2017-12-08 23:01:09 +01:00
Joakim Nohlgård
ea4d5e6506
Merge pull request #8224 from OTAkeys/pr/fix_fmt_u32_dec
...
sys/fmt: fix overflow in fmt_u32_dec()
2017-12-08 13:33:32 +01:00
Joakim Nohlgård
c0fd172734
tests/pkg_micro-ecc-with-hwrng: remove hwrng_init
...
Handled by periph_init now.
2017-12-08 08:08:33 +01:00
Joakim Nohlgård
29715a7ee2
tests/periph_hwrng: remove hwrng_init
...
Handled by periph_init now.
2017-12-08 08:08:33 +01:00
Vincent Dupont
43a902b1ab
sys/fmt: fix overflow in fmt_u32_dec()
...
If the value was 10 digits long it caused an overflow in the multiply loop.
The case is now tested before looping over.
2017-12-07 17:48:05 -08:00
smlng
2699015f56
tests/mutex_unlock_and_sleep: add tests script
2017-12-06 21:31:36 +01:00
smlng
cdfde8196d
tests/mutex_unlock_and_sleep: enhance memory usage
...
needs less than 4K RAM now on Cortex-based CPU,
hence remove BOARD_INSUFFICIENT_MEMORY list
2017-12-06 21:29:44 +01:00
Martine Lenders
73d1cca0f8
Merge pull request #8196 from aabadie/pr/tests/python_E12x
...
tests: fix python E127 'continuation line over/under-indented for visual indent'
2017-12-04 14:02:43 +01:00
Martine Lenders
ae8b426897
Merge pull request #8197 from aabadie/pr/tests/python_E711
...
tests/lwip: fix python E711 comparison to None should be 'if cond is not None:'
2017-12-04 13:57:41 +01:00
Martine Lenders
20ddb678aa
Merge pull request #8200 from aabadie/pr/tests/python_F841
...
tests/evtimer_msg: fix F841 local variable 'stop' is assigned to but never used
2017-12-04 13:19:12 +01:00
43e972fc61
Merge pull request #7970 from kYc0o/add_flashpage_write_raw
...
periph/flashpage: add flashpage_write_raw interface
2017-12-04 13:13:52 +01:00
3dfea171f1
tests/evtimer_msg: fix F841 local variable 'stop' is assigned to but never used
2017-12-04 08:33:06 +01:00
0a6f56bb25
tests/lwip: fix python E711 comparison to None should be 'if cond is not None:'
2017-12-03 20:22:59 +01:00
9f4096059e
tests: fix python E127 'continuation line over/under-indented for visual indent'
2017-12-03 20:18:56 +01:00
Cenk Gündoğan
ac1a645fd1
Merge pull request #8190 from kaspar030/name_tests_by_folder
...
tests: set APPLICATION from folder name
2017-12-01 11:39:19 +01:00
fc2eff9fba
tests: remove redundant APPLICATION defines
2017-12-01 11:03:39 +01:00
1318e18ab3
tests: deduce test application name from folder
2017-12-01 11:03:39 +01:00
Cenk Gündoğan
a7e7f0305c
Merge pull request #8187 from jthacker/pr_test_xtimer_usleep_short_missing_application
...
tests/xtimer_usleep_short: fix non set APPLICATION variable
2017-11-30 21:59:58 +01:00
cc521fdafd
Merge pull request #8185 from miri64/examples/fix/opt-for-nib
...
examples: tests: optimize for NIB
2017-11-30 20:06:17 +01:00
0d85186653
Merge pull request #8180 from miri64/gnrc_netdev/cleanup/rm
...
gnrc_netdev: remove remaining files and references
2017-11-30 20:05:17 +01:00
Martine Lenders
2b543dda89
tests: gnrc_sock_dns: optimize for NIB
2017-11-30 19:51:23 +01:00
Martine Lenders
5a0e9bcca4
gnrc_netdev: remove remaining files and references
...
Somehow, these files were forgotten in my big cleanup in #7925 . This
fixes that.
2017-11-30 19:49:40 +01:00
Jon Thacker
052beeab83
tests/xtimer_usleep_short: fix non set APPLICATION variable
2017-11-30 12:52:41 -05:00
zhuoshuguo
ea5aeeb10f
gomach: a robust traffic adaptive multichannel MAC for IoT.
2017-11-30 18:51:49 +01:00
kYc0o
202c9e174f
tests/periph_flashpage: add write_raw command
2017-11-30 17:25:36 +01:00
Hauke Petersen
234c3075c0
tests: fix handling for common board folders
2017-11-30 10:26:36 +01:00
smlng
1dfe3719d8
unittests: fix gnrc_ipv6_nib test
2017-11-29 21:11:08 +01:00
Martine Lenders
eb7f32f5d0
Merge pull request #8142 from aabadie/pr/tests/python_E302
...
tests: fix python style 'E302 expected 2 blank lines, found 1'
2017-11-29 19:56:35 +01:00
c4f66edba1
tests: fix python style 'E302 expected 2 blank lines, found 1'
2017-11-29 17:32:06 +01:00
zhuoshuguo
e6409f025f
gnrc_lwmac: include lwmac headers when LWMAC defined.
2017-11-29 17:29:26 +01:00
Gaëtan Harter
b54318c77c
Merge pull request #7919 from smlng/make/wpedantic
...
Make: enable -Werror -Wall -Wextra by default
2017-11-28 20:44:02 +01:00
smlng
57c5c9b6a6
make: enable Wall and Wextra by default, and optionally Wpedantic
2017-11-28 20:33:39 +01:00
Gaëtan Harter
a52d2130fd
Merge pull request #8157 from miri64/tests/cleanup/default-netdev
...
tests: remove unnecessary gnrc_netdev_default include
2017-11-28 20:29:27 +01:00
Martine Lenders
a2e51a039a
tests: remove unnecessary gnrc_netdev_default include
...
The `driver_enc28j60` and `driver_encx24j600` applications exist to
test the network device drivers of this type. Including the *default*
driver of the board is thus non-sensical and might even be harmful for
the success of this test (if default device in initialized before the
device that is tested).
Additionally, does the removal of this module allow for some boards to
fit this into their memory (at least in my linker configuration), so I
removed them from the `BOARD_INSUFFICIENT_MEMORY` list.
2017-11-28 20:12:43 +01:00
smlng
b283b7784c
make: fix various compile errors with Wextra
...
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
sys, pm_layered: fix casting nonscalar to the same type
cpu, stm32_common: fix type-limits, remove always true assert
cpu, stm32f4: fix pointer arithmetic in periph/i2c
drivers, at86rf2xx: fix type-limits where condition always true
saul, gpio: fix if no gpio configured for saul
cpu, saml21: add frequency check to periph/timer
driver, cc110x: fix unused param and type-limts errors
boards, wsn430-common: fix old-style-declaration
make: fix old style definition
drivers, sdcard_spi: fix old style typedef
driver, at30tse: remove unnecessary check
driver, nrf24: fix type-limit
driver, pn532: change buffer from char to uint8_t
tests/driver_sdcard: fix type limits
boards, feather-m0: add missing field inits
driver, tcs37727: fix type limits
pkg, emb6: disable some compiler warnings
tests/emb6: disable some compiler warings
pkg, openthread: fix sign compare and unused params
tests/trickle: fix struct init
tests/pthread_cooperation: fix type limits
board, mips-malta: remove feature periph_uart
shell: fix var size for netif command
gnrc, netif: fix sign-compare
gnrc, nib: fix sign-compare
shell: fix output in netif command
posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
Martine Lenders
39c122155c
Merge pull request #7995 from smlng/make/fix/unused_params
...
make: fix unused-params error
2017-11-28 14:46:23 +01:00
smlng
7309171303
build: fix unused parameter errors
...
cpu, sam0_common: fix unused parameter in periph/spi
cpu, kinetis_common: fix unused parameter in periph/spi
cpu, cc2538: fix unused param in periph/i2c
cpu, cc2538: fix unused param in periph/spi
cpu, sam3: fix unused param in periph/spi
cpu, stm32_common: fix unused param in periph/pm
cpu, stm32f3: fix unused params in periph/i2c
cpu, nrf5x_common: fix unused param in periph/gpio
cpu, nrf5x_common: fix unused param in periph/spi
cpu, lpc2387: fix unused params in periph/spi
cpu, cc2538: fix unused params in radio/netdev
cpu, cc2650: fix unused params in periph/uart
cpu, lm4f120: fix unused param in periph/spi
cpu, lm4f120: fix unused params in periph/timer
cpu, lm4f120: fix unused params in periph/uart
cpu, stm32_common: fix unused params in periph/dac
cpu, stm32l0: fix unused params in periph/i2c
cpu, msp430fxyz: fix unused params in periph/uart
cpu, mips: fix unused params
cpu, cc430: fix unused-params in periph/timer
cpu, msp430fxyz: fix unused params in periph/spi
drivers, cc2420: fix unused param
cpu, mips32r2_common: fix unused params in periph/timer
cpu, cc2538: fix unused-param in periph/i2c
cpu, mips32r2_common: fix unused-param in periph/timer
cpu, msp430fxyz: fix unused params in periph/timer
cpu, atmega_common: fix unused params in periph/spi
driver, nrfmin: fix unused params
cpu, cc2538_rf: fix unused params
driver, netdev_ieee802514: fix unused param
cpu, mip_pic32m: fix unused params
cpu, lpc2387: fix unused params in periph/pwm
tests/driver_sdcard_spi: fix unused params
cpu, sam3: fix unused param in periph/pwm
tests/driver_dynamixel: fix unused params, and style issues
cpu, cc430: fix unused param in periph/rtc
cpu, atmega_common: fix unused params in periph/i2c
2017-11-28 14:36:01 +01:00
Martine Lenders
b68b7a0524
Merge pull request #8156 from miri64/tests/cleanup/pca1000x-revert
...
examples: tests: remove remaining pca1000x references
2017-11-28 13:45:15 +01:00
Martine Lenders
cd3b1f3b42
examples: tests: remove remaining pca1000x references
2017-11-28 13:28:58 +01:00
Martine Lenders
ecc2b1113f
Merge pull request #8143 from aabadie/pr/tests/python_F401
...
tests: fix python style 'F401 module imported but unused'
2017-11-28 13:27:46 +01:00
Martine Lenders
bf53c88a78
Merge pull request #7994 from smlng/make/fix/sign_compare
...
make: fix sign-compare errors
2017-11-28 12:29:44 +01:00
smlng
e381317fbf
make: fix sign-compare errors
...
cpu, nrf5x_common: fix sign-compare in periph/flashpage
drivers, periph_common: fix sign-compare in flashpage
cpu, sam0_common: fix sign-compare error in periph/gpio
cpu, cc2538: fix sign-compare in periph/timer
cpu, sam3: fix sign-compare in periph/gpio
cpu, stm32_common: fix sign-compare in periph/pwm
cpu, stm32_common: fix sign-compare in periph/timer
cpu, stm32_common: fix sign-compare in periph/flashpage
cpu, nrf5x_common: fix sign-compare in radio/nrfmin
cpu, samd21: fix sign-compare in periph/pwm
cpu, ezr32wg: fix sign-compare in periph/gpio
cpu, ezr32wg: fix sign-compare in periph/timer
drivers, ethos: fix sign-compare
sys, net: fix sign-compare
cpu, atmega_common: fix sign-compare error
cpu, msp430fxyz: fix sign-compare in periph/gpio
boards, msb-430-common: fix sign-compare in board_init
driver, cc2420: fix sign-compared
sys/net: fix sign-compare in gnrc_tftp
driver, pcd8544: fix sign-compare
driver, pn532: fix sign-compare
driver, sdcard_spi: fix sign-compare
tests: fix sign_compare
sys/net, lwmac: fix sign_compare
pkg, lwip: fix sign-compare
boards, waspmote: make CORECLOCK unsigned long to fix sign_compare error
tests, sock_ip: fix sign compare
tests, msg_avail: fix sign compare
tests, sock_udp: fix sign compare
boards: fix sign-compare for calliope and microbit matrix
2017-11-28 11:55:48 +01:00
Sebastian Meiling
4a828c63aa
Merge pull request #7955 from aabadie/pr/mpu9150_update
...
drivers/mpu9150: adapt to new parameters initialization scheme + provide saul adaption
2017-11-28 11:41:54 +01:00
Sebastian Meiling
d86cad7e03
Merge pull request #8154 from miri64/tests/cleanup/rm-gnrc_netif2
...
tests: remove gnrc_netif2 test application
2017-11-28 11:28:18 +01:00
Martine Lenders
5ffe9ddaf5
Merge pull request #8152 from aabadie/pr/tests/python_E703
...
tests: fix python style 'E703 statement ends with a semicolon'
2017-11-28 07:44:29 +01:00
Martine Lenders
e65211db7d
Merge pull request #7195 from miri64/gnrc_pktbuf_malloc/feat/initial
...
gnrc_pktbuf_malloc: initial import of a malloc()-based pktbuf
2017-11-28 00:00:36 +01:00
Martine Lenders
3a3381d423
tests: remove gnrc_netif2 test application
...
This application existed due to a merge conflict of #7925 due to a
breaking of the GNRC merge embargo and is an exact duplicate of
`tests/gnrc_netif` in all but in name. Since #7925 is now merged, this
application can be removed
2017-11-27 21:34:40 +01:00
Martine Lenders
31924e99d0
Merge pull request #8022 from haukepetersen/fix_tests_lwmacmodules
...
tests/lwmac: cleaned up used modules and Makefile
2017-11-27 21:32:58 +01:00
8a6d04ce52
Merge pull request #7925 from RIOT-OS/gnrc_netif2_integration/master
...
gnrc_netif2: gnrc_ipv6_nib: full integration into GNRC
2017-11-27 21:12:14 +01:00
Martine Lenders
fa7624019c
tests: adapt unittests for nc_del signiture change
2017-11-27 20:32:27 +01:00
74b681560d
tests: fix python style 'E703 statement ends with a semicolon'
2017-11-27 17:33:48 +01:00
954e33bb90
tests: fix python style 'F401 module imported but unused'
2017-11-27 17:27:07 +01:00
e48e491b88
tests: fix python style 'E401 multiple imports on one line'
2017-11-27 15:41:33 +01:00
Hauke Petersen
d43d0aceb2
Merge pull request #8138 from basilfx/feature/whitelist_efm32
...
tests: mpu_stack_guard: whitelist efm32 boards.
2017-11-27 11:14:12 +01:00
fd1ff458dc
Merge pull request #8140 from bergzand/pr/jc42test-neg
...
test/driver_jc42: fix displayed temperature when negative
2017-11-25 12:42:17 +01:00
8dd860eed7
test/driver_jc42: fix displayed temperature when negative
2017-11-25 11:59:22 +01:00
Bas Stottelaar
324c255047
tests: mpu_stack_guard: whitelist efm32 boards + sort.
2017-11-24 21:35:32 +01:00
6b661bef04
Merge pull request #8119 from kaspar030/fix_cib
...
core: cib: fix overflow handling
2017-11-23 13:13:26 +01:00
Gaëtan Harter
48434e7ff6
Merge pull request #8104 from cladmi/pr/tests-gcoap
...
tests-gcoap: Fix resources order which should be sorted.
2017-11-23 13:00:07 +01:00
Martine Lenders
8d71f250d1
tests: add #8117 test case for cib.h unittests
2017-11-22 18:23:34 +01:00
Martine Lenders
56ec27cf6f
tests: adapt cib.h unittests for variable cib size
2017-11-22 18:23:07 +01:00
5f0eae18b3
tests/driver_bmx280: fix displayed temperature when negative
2017-11-22 14:34:11 +01:00
Gaëtan Harter
f584a8fab7
tests-gcoap: Fix resources order which should be sorted.
...
gcoap documentation says for `resources`:
First element in the array of resources; must order alphabetically
So make tests respect the API.
2017-11-21 18:04:18 +01:00
Gaëtan Harter
c450b4ce0e
tests-gcoap: fixup typo ressources->resources
2017-11-21 18:01:41 +01:00
Martine Lenders
08964079e0
examples: tests: adapt udp shell commands for new forwarding engine
...
The NIB's forwarding engine behaves more correctly than GNRC's old
forwarding engine in that link-local addresses require also an
interface to be provided to be meaningful. As with other commands this
is simplified for the special case that there only is one interface
that that interface is chosen.
2017-11-21 10:40:01 +01:00
smlng
697ff44ce1
tests: add hts211 driver test app
2017-11-21 09:42:08 +01:00
bba3943d59
tests/driver_sx127x: fix typo in displayed message
2017-11-20 11:08:06 +01:00
81f13936ee
drivers/sx127x: remove time on air from packet info
2017-11-20 11:04:41 +01:00
Martine Lenders
2f7b55b486
tests: adapt unittests for new FT behavior
2017-11-19 23:36:20 +01:00
Cenk Gündoğan
4a0d57c6fa
Merge pull request #8073 from miri64/gnrc_ipv6_nib/feat/route-timeout
...
gnrc_ipv6_nib: add timeouts to routes
2017-11-19 01:18:25 +01:00
Martine Lenders
5e491513b1
tests: add bluepill to gnrc_netif's insufficient memory list
2017-11-17 16:10:24 +01:00
Martine Lenders
bbae7a4193
tests: revert gnrc_netif2 test to resolve merge conflict
2017-11-17 15:31:59 +01:00
Martine Lenders
c28de94fd1
tests: adapt tests for route lifetime
2017-11-17 13:45:41 +01:00
Martine Lenders
67f33bd5e5
tests: revert removal of pca1000x in gnrc_netif2
...
As in #7986 this application (obviously) causes a conflict in #7925
since #7979 . This PR fixes that.
2017-11-17 11:48:10 +01:00
Martine Lenders
f90a9a875f
gnrc_ndp2: rename to gnrc_ndp
2017-11-17 10:41:54 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif
2017-11-17 10:41:54 +01:00
Martine Lenders
71a7dbf918
gnrc: remove legacy network interface structures
2017-11-17 09:20:29 +01:00
Martine Lenders
81731791f8
tests: unittests: remove outdated, defective unittests
2017-11-16 16:17:21 +01:00
Martine Lenders
938e605a90
examples: tests: update insufficient memory lists
...
(for now)
2017-11-16 16:17:21 +01:00
Martine Lenders
db553b6149
tests: adapt gnrc_ipv6_nib unittests to add new required modules
2017-11-16 15:49:21 +01:00
Martine Lenders
5b5a99e175
tests: adapt gnrc_ipv6_nib_6ln test for router discovery
2017-11-16 15:49:21 +01:00
Martine Lenders
982eee17dd
tests: adapt gnrc_ipv6_nib test for router discovery
2017-11-16 15:49:21 +01:00
Martine Lenders
6b320fe40e
tests: adapt gnrc_ndp2 tests for router behavior
2017-11-16 15:49:21 +01:00
Gaëtan Harter
e0946af768
Merge pull request #7992 from aabadie/pr/test_pexpect
...
tests: migrate simple tests to testrunner
2017-11-16 11:49:01 +01:00
Hauke Petersen
4ceef0c67f
examples/tests: remove entries for qemu-i386
2017-11-16 10:42:02 +01:00
Martine Lenders
32318363a9
Merge pull request #7697 from aabadie/pr/lora_definitions
...
sys/net: add common lora phy definitions
2017-11-15 21:01:46 +01:00
Gaëtan Harter
3667e57546
Merge pull request #8038 from aabadie/pr/test_pexpect_netstat
...
tests/netstats_l2: migrate to testrunner
2017-11-15 18:25:14 +01:00
Vincent Dupont
cf7275be52
Merge pull request #8034 from OTAkeys/pr/unittest_board_update
...
unittests: update boards lists
2017-11-15 18:14:18 +01:00
04e537cf9f
tests/netstats_l2: migrate to testrunner
2017-11-15 16:30:00 +01:00
bb1afb86d6
tests/pkg_8g2: migrate to testrunner
2017-11-15 11:12:01 +01:00
c5eb24239a
tests/ps_schedstatistics: migrate to testrunner
2017-11-14 16:40:02 +01:00
811dc7657a
tests/sizeof_tcb: migrate to testrunner
2017-11-14 16:40:02 +01:00
3533f0c947
tests/nhdp: migrate to testrunner
2017-11-14 16:40:02 +01:00
f56a00ec8e
tests/netdev_test: migrate to testrunner
2017-11-14 16:40:02 +01:00
c3c0039f24
tests/pkg_libcoap: migrate to testrunner
2017-11-14 16:40:02 +01:00
6f1b8fea25
tests/pkg_micro-ecc-with-hwrng: migrate to testrunner
2017-11-14 16:40:02 +01:00
12f6b629b8
tests/pkg_micro-ecc: migrate to testrunner
2017-11-14 16:40:01 +01:00
742da3517f
tests/pkg_jsmn: migrate to testrunner
2017-11-14 16:40:01 +01:00
f5d2f0f503
tests/pkg_minmea: migrate to testrunner
2017-11-14 16:40:01 +01:00
783e04e7e6
tests/sched_testing: migrate to testrunner
2017-11-14 16:40:00 +01:00
e464116425
tests/pipe: migrate to testrunner
2017-11-14 16:40:00 +01:00
Gaëtan Harter
4ee7d1359c
Merge pull request #7988 from aabadie/pr/test_pexpect_fmt_print
...
tests/fmt_print: migrate to testrunner
2017-11-14 15:49:18 +01:00
Vincent Dupont
27fbdc4ebe
unittests: update boards lists
2017-11-14 14:16:12 +01:00