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

2461 Commits

Author SHA1 Message Date
Gaëtan Harter
1fb6aa0421
Merge pull request #9615 from miri64/tests/enh/periph_pwm_puts
tests: use literal string instead of format string for interval
2018-07-24 18:00:42 +02:00
Cenk Gündoğan
6aeb4f6cbd tests/gnrc_udp: remove pktdump from comment 2018-07-24 17:35:20 +02:00
Martine Lenders
dc8c983d26
Merge pull request #9341 from bergzand/pr/sockutil/cleanup
sock_util: Add unittest and fix detected issues.
2018-07-20 12:09:31 +02:00
e91af6d556
sock_util: Add tests 2018-07-20 11:48:29 +02:00
Martine Lenders
04b58da249 tests: use literal string instead of format string for interval
`UINT16_MAX` should be the same value on all platforms, so why not use
`puts` instead of `printf` here instead. Also, `llvm` detects an issue
with using the `UINT16_MAX` macro with `PRIu16` here.
2018-07-19 20:35:00 +02:00
Martine Lenders
27ca688736 tests: ignore infinite recursion for mpu_stack_test with clang 2018-07-19 13:52:52 +02:00
Francisco Acosta
d04058b54b
Merge pull request #9579 from MichelRottleuthner/pr_stm32_fix_ram_lengths
stm32_common: fix ram length for MCUs with non-contiguous ram regions
2018-07-18 14:35:29 +02:00
Michel Rottleuthner
aca8953827 tests: add nucleo-f303k8 to BOARD_INSUFFICIENT_MEMORY 2018-07-17 17:52:12 +02:00
Gaëtan Harter
690fdb11ab
unittests: increase test timeout
It currently takes 1m30 to run on iotlab-m3.
2018-07-17 17:00:17 +02:00
Vincent Dupont
12a5c5e3b0 tests/driver_at: adapt test app with poweron/off 2018-07-17 10:15:35 +02:00
Yegor Yefremov
38aecf2bdf tests/periph_uart: adapt main.c for automated testing
This is an effort to automate UART testing using the same framework as
was already introduced for i2c. The framework relies on shell commands
to return invocation status and data in a special way:

1. Invocation status: Success or Error
2. Data inside the []

Hence this patch adds invocation status to the UART init command and
invocation status and data to the printer.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2018-07-11 10:06:18 +02:00
Martine Lenders
95c1992d97 tests: adapt gnrc_sock_dns for auto-configured DNS 2018-07-05 11:09:34 +02:00
Martine Lenders
fbf216f864 gnrc_sock_dns: Move DNS server end point to implementation 2018-07-05 11:01:22 +02:00
4ea93f3aea
Merge pull request #8542 from OTAkeys/pr/at_oob
drivers/at: at out-of-band data support for at commands parser
2018-07-04 19:01:28 +02:00
Francisco Acosta
4e9052e82e
Merge pull request #9366 from basilfx/feature/test_efm32_features
tests: cpu_efm32_features: add test application
2018-07-04 18:22:54 +02:00
Cenk Gündoğan
835f8f0daa
Merge pull request #9290 from PeterKietzmann/pr_sram_puf
Add SRAM based PRNG seeder
2018-07-04 18:08:53 +02:00
PeterKietzmann
2262a6e309 tests/puf_sram: add test application 2018-07-04 17:55:20 +02:00
Francisco Acosta
eb9dde2412
Merge pull request #9487 from bergzand/pr/pkg/monocypher/test_incr_stack
tests/monocypher: Increase stack space
2018-07-04 15:00:25 +02:00
2fbf684fc5
tests/monocypher: Increase stack space
As should have been done in the initial commit. Stack space set to the
amount described in the doc
2018-07-04 09:54:48 +02:00
Hyungsin
492c86b9d7 tests/driver_pir: remove redundant/double configuration from Makefile 2018-07-03 23:46:29 -07:00
Cenk Gündoğan
bf33941819
Merge pull request #9434 from miri64/gnrc_pktbuf_static/fix/alignment-race
gnrc_pktbuf_static: fix alignment issue / leaks
2018-07-02 16:32:13 +02:00
Martine Lenders
a6ac22af3b tests: fix gnrc_ndp tests for new alignment 2018-07-02 15:44:24 +02:00
Juan I Carrano
122ebb0b75
Merge pull request #9463 from bergzand/pr/pkg/monocypher/initial
Monocypher: Initial import of package
2018-07-02 14:55:23 +02:00
02362e8ddd
monocypher: Add public key signature test 2018-07-02 13:59:09 +02:00
Francisco Acosta
23d176f46b
Merge pull request #8857 from ZetaR60/RIOT_atmega_time_dot_h
cpu/atmega_common: Use updated time.h
2018-06-28 22:29:20 +02:00
Ken Bannister
03115a7c0c
Merge pull request #9444 from kb2ma/nanocoap/test_get_uri_path
net/nanocoap: test coap_get_uri() boundaries
2018-06-28 13:06:30 -04:00
Hauke Petersen
a5f2f0e1c0
Merge pull request #9453 from miri64/gnrc_sock_udp/fix/use-sock-ep
gnrc_sock_udp: use sock's local end-point for listening
2018-06-28 18:43:59 +02:00
Martine Lenders
647d1d2b01 tests: provide test for reception on sock with port 0 2018-06-28 17:38:12 +02:00
Gaëtan Harter
0a3375ba33
tests: use RIOTTOOLS variable
Add newly added tests
2018-06-28 14:05:33 +02:00
Ken Bannister
a7e5562268 net/nanocoap: test coap_get_uri() boundaries 2018-06-27 23:28:37 -04:00
Martine Lenders
0689f69ddd
Merge pull request #9431 from neiljay/pr/fix_size_t_usage
tests: Fix size_t vs int issues
2018-06-27 16:18:23 +02:00
Neil Jones
a77f1eea45 tests: Fix size_t vs int issues
size_t can be any unsigned type but is never a signed integer.
2018-06-27 15:04:07 +01:00
Joakim Nohlgård
21310e4260 tests/rng: Use xtimer for speed test timeout 2018-06-27 13:04:34 +02:00
6e6716a1a6
Merge pull request #9317 from maribu/sht1x
drivers/sht11: Major refactoring
2018-06-27 10:10:39 +02:00
Marian Buschsieweke
8e200673d3
tests/driver_sht1x: Added tests for sht1x 2018-06-27 08:58:07 +02:00
Marian Buschsieweke
2bff79ef56
tests/unittests: Added unit tests for sht1x
- Added unit tests for new integer only arithmetic
    - Temperature conversion differs at most 0.01°C from double arithmetic
    - Humidity conversions differs at most 0.1% from double arithmetic
2018-06-27 08:58:02 +02:00
Hyungsin
0c5c3d9b77 driver/pir: add pir-based occupancy sensing 2018-06-26 13:46:37 -07:00
Vincent Dupont
6aa2a55aaa tests/driver_at: add urc test commands 2018-06-26 10:03:46 -07:00
PeterKietzmann
85643ad01f tests/rng: add tests for random_uint32_range() 2018-06-26 14:08:46 +02:00
Cenk Gündoğan
bc57e901a8
Merge pull request #9374 from PeterKietzmann/pr_sys_sha1prng
sys/random: add SHA1PRNG
2018-06-22 16:22:09 +02:00
PeterKietzmann
3c4360eddb sys/random: add SHA1PRNG 2018-06-22 16:11:53 +02:00
smlng
854082272a tests/unittests: remove invisible unicode chars 2018-06-22 11:25:31 +02:00
smlng
3b84dad680 tests/unittests, cn_cbor: remove invisible unicode char from Makefile 2018-06-22 09:23:30 +02:00
Martine Lenders
579d9d78d4
Merge pull request #8823 from miri64/gnrc_ipv6_nib/feat/slaac
gnrc_ipv6_nib: add full RFC4862 DAD support
2018-06-21 14:10:36 +02:00
Martine Lenders
db4796b04e tests: adapt lwip_sock_udp tests for API change 2018-06-20 14:51:18 +02:00
Martine Lenders
01ef01f08e tests: adapt gnrc_sock_udp tests for API change 2018-06-20 14:51:18 +02:00
Cenk Gündoğan
4219ec9265
Merge pull request #9345 from bergzand/pr/fmt/strnlen
fmt: Add fmt_strnlen function
2018-06-18 11:23:53 +02:00
Bas Stottelaar
6386cc571a tests: cpu_efm32_features: add test application 2018-06-17 14:59:36 +02:00
99460669d3
Merge pull request #7786 from kaspar030/add_some_benchmarks
tests: add some benchmarks
2018-06-16 10:18:22 +02:00
3c9eb940d5 tests/bench_thread_yield_pingpong: initial commit 2018-06-15 23:04:54 +02:00
5bf1295836 tests/bench_thread_flags_pingpong: initial commit 2018-06-15 23:04:54 +02:00
94ba420ee3 tests/bench_sched_nop: initial commit 2018-06-15 23:04:54 +02:00
647fa6ba6e tests/bench_mutex_pingpong: initial commit 2018-06-15 23:04:54 +02:00
b9d8f931eb tests/bench_msg_pingpong: initial commit 2018-06-15 23:04:54 +02:00
Hauke Petersen
096765ca29 tests: add test for the tinycrypt integration 2018-06-15 10:49:38 +02:00
afe02bcbf4
tests/fmt: Extend test with fmt_strnlen 2018-06-14 11:57:11 +02:00
Hauke Petersen
9ff84fa56a test/sizeof_tcp: fixed typo in Makefile 2018-06-14 11:01:55 +02:00
32057a8c46 tests: fix doxygen grouping 2018-06-11 19:12:02 +02:00
Joakim Nohlgård
2006937ee6 tests/bench_timers: Add benchmark for periph_timer and xtimer
This test is intended to collect statistics about the runtime delays in
the periph_timer implementation. This tool is mainly intended to detect
problems in the low level driver implementation which can be difficult
to detect from higher level systems such as xtimer.
2018-06-11 13:19:13 +02:00
Ken Bannister
aa0d02e994 net/nanocoap: unit tests for pkt-based request 2018-06-10 08:44:16 -04:00
Hauke Petersen
976a6b54e6 tests/servo: remove redundant periph_pwm dep 2018-06-07 11:11:57 +02:00
Jose Alamos
71bd5584d5 tests/pkg_semtech_loramac: add information about frame counters and ABP 2018-06-06 15:52:54 +02:00
Jose Alamos
04dd2a90ba test/pkg_semtech_loramac: add class A specifics to README 2018-06-06 15:52:54 +02:00
Jose Alamos
cf8ce6858a tests/pkg_semtech_loramac: improve test documentation 2018-06-06 12:18:52 +02:00
dbc70f39c6
Merge pull request #8865 from Josar/xtimer_usleep_improved
tests/xtimer_usleep: improved test, added pin toggle
2018-06-04 22:06:33 +02:00
Francisco Acosta
42d58373f5
Merge pull request #8802 from basilfx/feature/efm32_slstk3402a
boards: slstk3402a: add support
2018-06-04 15:35:22 +02:00
Marian Buschsieweke
e0bf20728c
examples, tests: Updated BOARD_INSUFFICIENT_MEMORY
Added stm32mindev to BOARD_INSUFFICIENT_MEMORY where needed
2018-06-04 09:03:30 +02:00
Bas Stottelaar
bfb820b989 tests: unittests: add to list of ARM boards. 2018-06-03 16:48:30 +02:00
Martine Lenders
c7aac5fe27 tests: extend gnrc_ipv6_nib tests for new SLAAC behavior 2018-05-31 17:19:35 +02:00
Martine Lenders
74828a68ef tests/gnrc_udp: add hifive1 to BOARD_INSUFFICIENT_MEMORY 2018-05-31 17:11:55 +02:00
22cb41b874
Merge pull request #8966 from kenrabold/riotpr
RISC-V: New CPU (FE310) and Board (HiFive1)
2018-05-30 09:47:26 +02:00
Sebastian Meiling
f017ee1a50
Merge pull request #5675 from basilfx/feature/prng_fortuna
sys: random: fortuna csprng
2018-05-30 09:07:18 +02:00
kenrabold
db4d67c4fd make: add hifive1 to BOARD_INSUFFICIENT_MEMORY
Added HiFive1 to BOARD_INSUFFICIENT_MEMORY list for examples and tests that are too big to fit

build: fixed missing syscall and cpuid failures

Added missing syscall stubs for nanostubs and fixed compile error with cpuid periph

build: fixed whitespace error

build: add hifive1 to more BOARD_INSUFFICIENT_MEMORY

doc: fixed doxygen warnings

Addressed Doxygen warnings in source file comments

doc: more doxygen fixes

doc: even more doxygen fixes

doc: more changes

build: fix pedantic and rdci_simple build failures

make: exclude lua
2018-05-29 16:27:53 -07:00
Martine Lenders
fce5c758f7
Merge pull request #8841 from miri64/netif/api/initial2
netif: Initial import of a common network interface API (second try)
2018-05-29 22:10:50 +02:00
Martine Lenders
2586b5c161
Merge pull request #9233 from brummer-simon/gnrc_tcp-handle_link_local_addr
gnrc_tcp: handle link local IPv6 addresses correctly
2018-05-29 21:50:00 +02:00
Simon Brummer
686aabaa0a gnrc_tcp: handle link local IPv6 addresses correctly 2018-05-29 21:28:32 +02:00
Martine Lenders
ee781a6d1f
Merge pull request #7184 from miri64/gnrc_netreg/enh/msg-queue-visible
gnrc_netreg: make message queue requirement more visible
2018-05-29 19:59:50 +02:00
ad31664f48
Merge pull request #9185 from OTAkeys/pr/add_at_parser_eol
driver/at: add option to keep EOL character in readline, and make EOL configurable
2018-05-29 19:57:12 +02:00
Martine Lenders
f97db647e0 tests: test netif.h operations for GNRC 2018-05-29 19:49:30 +02:00
Martine Lenders
87c3c77e82 tests/sntp: add wsn430 boards to BOARD_INSUFFICIENT_MEMORY 2018-05-29 19:21:48 +02:00
Bas Stottelaar
8fe56a1d73 tests: rng: add fortuna PRNG. 2018-05-29 18:40:59 +02:00
Vincent Dupont
83af66c49f tests/driver_at: adapt test app to new API 2018-05-29 17:30:55 +02:00
Josarn
ffb8c27956 tests/xtimer_usleep: Add SLEEP_PIN, Updated README 2018-05-29 16:09:20 +02:00
657bd25dbe
Merge pull request #8993 from ZetaR60/RIOT_cbmplex
sys/cb_mux: Callback multiplexer
2018-05-29 10:06:05 +02:00
Matthew Blue
7a95463649 tests/cb_mux: initial benchmark routine 2018-05-29 00:10:20 -04:00
Matthew Blue
c767cdd0bb tests/cb_mux: initial test routine 2018-05-28 15:43:42 -04:00
Matthew Blue
bd15ed2c73 tests/pkg_minmea: blacklist incompatible ATmega boards 2018-05-28 13:04:56 -04:00
Matthew Blue
dfa8fb919d sys/timex: fix incompatible atmega time.h 2018-05-28 13:04:55 -04:00
Bas Stottelaar
283e5fb2c2 tests: unittests: blacklist efm32 boards with insufficient memory 2018-05-25 20:36:21 +02:00
fce61f91f0
Merge pull request #9046 from bergzand/pr/uuid/initial
uuid: Initial import of RFC4122 UUID functions
2018-05-25 15:05:57 +02:00
3d66cbda80
Merge pull request #9182 from bergzand/pr/tests/xtimer_now64_continuity/run_on_ci
xtimer_now64_continuity: Enable test run on CI
2018-05-24 23:55:05 +02:00
Francisco Acosta
f49b8bbf49
Merge pull request #9020 from bergzand/pr/pkg/tinycbor
pkg/tinycbor: Initial import
2018-05-24 15:16:03 +02:00
Sebastian Meiling
f1324de970
Merge pull request #8862 from aabadie/pr/periph/eeprom
drivers/periph: add basic API to read/write data to EEPROM
2018-05-24 13:24:19 +01:00
731434b5a9
xtimer_now64_continuity: Enable test run on CI 2018-05-24 14:22:59 +02:00
Sebastian Meiling
6f2f9abe54
Merge pull request #9146 from bergzand/pr/tests/xtimer_now64_continuity/print_str
tests/xtimer_now64: Start time measure after print
2018-05-24 13:20:11 +01:00
f6a84d8e33
pkg/tinycbor: Add test for tinycbor 2018-05-24 14:13:12 +02:00
3896b4aa4c tests/periph_eeprom: add test application 2018-05-24 14:07:55 +02:00
Vincent Dupont
c10568f02c boards: use marketing name for stm32f769i-disco 2018-05-23 19:21:30 +02:00
96fa80c2e6 tests/driver_at: fix wrong nucleo board name 2018-05-23 18:49:39 +02:00
Vincent Dupont
ca1e53250f
Merge pull request #8650 from aabadie/pr/nucleo32-rename
boards/nucleo32*: rename boards to use their ST marketing name
2018-05-23 17:41:17 +02:00
Vincent Dupont
84874e61d3
Merge pull request #7084 from kaspar030/add_at_parser
drivers: initial commit of generic AT parser module
2018-05-23 17:33:05 +02:00
b7c7d57740
unittests: Add unittest for uuid module 2018-05-23 16:31:02 +02:00
Vincent Dupont
88a978adfb tests/driver_at: improve test app 2018-05-23 16:08:28 +02:00
0c9c00f976 tests/at: improve shell and add README 2018-05-23 16:08:28 +02:00
0b603a11fd tests/at: add nucleo32-f031 to BOARD_INSUFFICIENT_MEMORY 2018-05-23 16:08:28 +02:00
331f8531b4 tests/at: add missing stdio.h include 2018-05-23 16:08:28 +02:00
Vincent Dupont
e3f26b2c15 tests: add at parser basic test app 2018-05-23 16:08:28 +02:00
eaf2698a69 boards/nucleo-l432kc: rename to st marketing name 2018-05-23 12:55:36 +02:00
3bbf8c01ab boards/nucleo-f303k8: rename to st marketing name 2018-05-23 12:51:41 +02:00
633a92929d boards/nucleo-l031k6: rename to st marketing name 2018-05-23 12:50:33 +02:00
81700d4301 boards/nucleo-f042k6: rename to st marketing name 2018-05-23 12:49:40 +02:00
3e4f7adc95 boards/nucleo-f031k6: rename to st marketing name 2018-05-23 12:46:42 +02:00
07c2c46e16 tests: use new nucleo-f767zi name 2018-05-23 12:09:28 +02:00
d59c77d9c8 tests: use new nucleo-f746zg name 2018-05-23 12:09:28 +02:00
765a820d5b tests: use new nucleo-f722ze name 2018-05-23 12:09:28 +02:00
ede9ff7af3 tests: use new nucleo-f446ze name 2018-05-23 12:08:53 +02:00
0bb43db9f2 tests: use new nucleo-f429zi name 2018-05-23 12:08:53 +02:00
3a78497211 tests: use new nucleo-f413zh name 2018-05-23 12:08:53 +02:00
033311ae94 tests: use new nucleo-f412zg name 2018-05-23 12:08:53 +02:00
9be89c120b tests: use new nucleo-f303ze name 2018-05-23 12:08:53 +02:00
Vincent Dupont
93ebf38615
Merge pull request #8649 from aabadie/pr/nucleo-rename
boards/nucleo64*: rename boards to use their ST marketing name
2018-05-23 12:08:06 +02:00
Vincent Dupont
ce782b4cf8 tests: add a dummy app to build DMA 2018-05-23 11:09:46 +02:00
f1571db6b8 tests/mpu_stack_guard: fix alignment issue 2018-05-22 22:02:57 +02:00
51c290ba90 boards/nucleo-l476rg: rename to marketing name 2018-05-22 22:02:57 +02:00
ba3478fa1e boards/nucleo-l152re: rename to marketing name 2018-05-22 22:02:57 +02:00
a5436e0b66 boards/nucleo-l073rz: rename to marketing name 2018-05-22 22:02:57 +02:00
18435609ce boards/nucleo-l053r8: rename to marketing name 2018-05-22 22:02:57 +02:00
5821bfd68e boards/nucleo-f446re: rename to marketing name 2018-05-22 21:52:41 +02:00
de783eed78 boards/nucleo-f411re: rename to marketing name 2018-05-22 21:52:41 +02:00
1d1354bf82 boards/nucleo-f410rb: rename to marketing name 2018-05-22 21:52:41 +02:00
7818c1a080 boards/nucleo-f401re: rename to marketing name 2018-05-22 21:52:41 +02:00
b0912659b5 boards/nucleo-f334r8: rename to marketing name 2018-05-22 21:52:41 +02:00
c7b5b0f992 boards/nucleo-f303re: rename to marketing name 2018-05-22 21:52:41 +02:00
72df36909b boards/nucleo-f302r8: rename to marketing name 2018-05-22 21:52:41 +02:00
2004fb2881 boards/nucleo-f103rb: rename to marketing name 2018-05-22 21:52:41 +02:00
b8895c1946 boards/nucleo-f091rc: rename to marketing name 2018-05-22 21:52:41 +02:00
4b20095dc8 boards/nucleo-f072rb: rename to marketing name 2018-05-22 21:52:41 +02:00
9acde8e148 boards/nucleo-f070rb: rename to marketing name 2018-05-22 21:52:41 +02:00
bd6a7c3d26 boards/nucleo-f030r8: rename to marketing name 2018-05-22 21:52:41 +02:00
81cff65c57
tests/xtimer_now64: Start time measure after print
Printing can take a lot of time over a serial connection. On the atmega
board it takes more than 2 ms, skewing the first measurement over the
threshold value and causing a test failure. This moves the print
statement above the first measumerement to prevent the skew.
2018-05-16 16:49:03 +02:00
Francisco Acosta
d634b7b1d9 tests: add more hardware in the loop tests 2018-05-15 19:54:51 +02:00
Gaëtan Harter
64bc06f2b6
tests/unittests: add empty list clist_foreach case
Add clist_foreach empty list test case which should:

* not call `func`
* return `NULL`
2018-05-15 16:49:59 +02:00
56c2b6a0e3
Merge pull request #9017 from kaspar030/clist_add_foreach_return
core/clist: make clist_foreach() return break-causing node
2018-05-15 16:48:12 +02:00
bcb458192d tests/unittests: add nucleo-l496zg to arm boards 2018-05-15 11:56:51 +02:00
Bas Stottelaar
14e5a2b683
Merge pull request #9098 from basilfx/feature/efm32_unittests
tests: unittests: disable for new efm32 boards.
2018-05-14 11:13:12 +02:00
1f436e2486
Merge pull request #8965 from aabadie/pr/drivers/io1_xplained_enh_sd
drivers/io1_xplained: improve driver and add support for the sdcard and light sensor
2018-05-14 09:00:47 +02:00
372aadd626
Merge pull request #8978 from Hyungsin/forupstream_fxos8700
drivers: add driver for FXOS8700 3-axis accelerometer/magnetometer
2018-05-14 08:45:58 +02:00
Bas Stottelaar
e7b3e4bf64 tests: unittests: disable for new efm32 boards. 2018-05-13 18:59:12 +02:00
Hyungsin
beaf08bcb2 drivers: add driver for FXOS8700 3-axis accelerometer/magnetometer 2018-05-12 17:51:58 -07:00
234b363e8c
Merge pull request #9032 from cladmi/pr/fix/test/wsn430/mutex_unlock_and_sleep
tests/mutex_unlock_and_sleep: increase timeout
2018-05-12 02:09:37 +02:00