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

1979 Commits

Author SHA1 Message Date
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
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
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