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

3274 Commits

Author SHA1 Message Date
JulianHolzwarth
15349eab61 tests/xtimer_mutex_lock_timeout/main.c: shell command description
"(no-spin timeout)" instead of "long timeout" to make it consistent
2019-10-11 15:44:56 +02:00
JulianHolzwarth
d9aec38f1f tests/xtimer_mutex_lock_timeout/main.c: Function to terminate
The function will terminate the thread and send the message m to target_pid.
2019-10-11 15:44:56 +02:00
JulianHolzwarth
714ee17fab tests/xtimer_mutex_lock_timeout/ new test with thread
Two Functions cmd_test_xtimer_mutex_lock_timeout_low_prio_thread and thread_low_prio_test are added.

This testfunction will test xtimer_mutex_lock_timeout with two threads (main thread and lower prio than main thread).

The main thread creates another thread and sleeps. While the main thread sleeps the other thread takes the mutex
and wakes the main thread up.
Then the main thread calls xtimer_mutex_lock_timeout and the second thread unlocks the mutex and
the main thread gets it and waits for the created thread to end.

Has test messages showing the thread count. To make sure the created thread ends.
(test messages may be removed in the future)
2019-10-11 15:44:56 +02:00
JulianHolzwarth
f0da0121f4 tests/xtimer_mutex_lock_timeout/main.c: print empty line
printing emty line after each test function to make the test easier to read
2019-10-11 15:44:55 +02:00
JulianHolzwarth
1fe8d33416 tests/xtimer_mutex_lock_timeout/Makefile: adding ps for better testing 2019-10-11 15:44:55 +02:00
JulianHolzwarth
6183f50462 tests/xtimer_mutex_lock_timeout/main.c: remove unnecessary/wrong include 2019-10-11 15:44:55 +02:00
Jose Alamos
9727f325ff tests/gnrc_netif: adapt to new netif_t representation 2019-10-11 10:59:14 +02:00
Ken Bannister
9946e24bc9
Merge pull request #12375 from miri64/tests/enh/rs-i137
tests: prepare for RIOT-OS/Release-Specs#137
2019-10-10 13:57:54 -04:00
Martine S. Lenders
9e625841b7 tests/gnrc_udp: update BOARD_INSUFFICIENT_MEMORY 2019-10-10 19:02:24 +02:00
Martine Lenders
f89e0b7b31 tests: prepare for RIOT-OS/Release-Specs#137 2019-10-10 14:57:31 +02:00
Martine Lenders
238ebe3d37
Merge pull request #12350 from haukepetersen/opt_nimble_verokt19
pkg/nimble: bump NimBLE version
2019-10-09 11:18:07 +02:00
7794c29650
Merge pull request #12396 from mtausig/codestyle
Fix code style of crypto code
2019-10-09 08:00:25 +02:00
Mathias Tausig
89db40b563 sys/crypto: Fix code style 2019-10-08 20:58:52 +02:00
Gaëtan Harter
589d7e5a46
applications: remove mentions of jiminy-mega256rfr2
Remove the deprecated board from BOARD_BLACKLIST and BOARD_INSUFFICIENT_MEMORY.
2019-10-08 18:37:32 +02:00
Francisco
94e00328c1
Merge pull request #12343 from cladmi/pr/board/slwstk6000b/split
boards/slwstk6000b-*: split one board for each module
2019-10-08 17:41:15 +02:00
Gaëtan Harter
1ab5a9390d
boards/slwstk6000b-*: split one board for each module
Define one board for each of the available modules.
2019-10-08 16:33:27 +02:00
4c8b6288ce
tests/unittests/base64: add test case for empty buffers 2019-10-08 15:38:27 +02:00
Hauke Petersen
88459f5a92 tests/nimble_l2cap_server: change order in _on_data
Printing the 'Received ...' string takes a short while and it is possible
that data is received while the string is printed. It seems however that
NimBLE does not like to be without a mbuf ready for taking data while
receiving something, as this seems to lead to a memory leak somehow. Now
changing the order of actions inside the _on_data() function fixes this.
2019-10-07 17:52:11 +02:00
Martine Lenders
c3a85bb9ca tests/gnrc_tcp: provide regression tests for fixed issues 2019-10-06 17:34:54 +02:00
Martine Lenders
e22084c420 tests/gnrc_tcp: prepare shared_func for scapy 2019-10-05 15:12:23 +02:00
Martine Lenders
00f7e52be6 tests/gnrc_tcp: fix sudo error message 2019-10-05 15:12:23 +02:00
Ken Bannister
033b60b2d0
Merge pull request #11189 from leandrolanzieri/gcoap_link_format_options
sys: Add Link Format module
2019-10-05 06:46:15 -04:00
Martine Lenders
55143bb017 tests: fix copyright attribution and doc
While looking at tests/gnrc_ipv6_ext_frag again while writing
RIOT-OS/Release-Specs#137, I noticed that several of tests that I
definitely wrote myself from scretch are attributed wrong (and
sometimes even documented wrong). I guess this was caused by just
copy-pasting the files...
2019-10-04 20:58:57 +02:00
Kevin "Tristate Tom" Weiss
4b7c5915ec
Merge pull request #10953 from gschorcht/sys/shell/heap_cmd/pr
sys/shell: add heap command
2019-10-04 13:49:57 +02:00
Leandro Lanzieri
3ca6a28e04 tests: Add unit tests for clif module 2019-10-04 11:35:52 +02:00
Martine Lenders
e9e0001239
Merge pull request #11930 from brummer-simon/gnrc_tcp-improve_tests
gnrc_tcp: test improvement
2019-10-03 15:40:16 +02:00
Simon Brummer
56998e822a gnrc_tcp: test improvement 2019-10-03 15:18:28 +02:00
30457e4134
tests/unittests: exclude arduino-mkrwan1300 2019-10-03 09:34:34 +02:00
630e7ba053
tests/pkg_ubasic: improve test output regex
The test application now correctly prints float value, with a 3 digits precision. The python test script now verifies the run time value printed for each test is following the x.xxx pattern.
2019-10-02 15:58:20 +02:00
0e7c3bd2b7
Merge pull request #12358 from kaspar030/tests_pkg_ubasic_add_float
tests/pkg_ubasic: add print_float dependency
2019-10-02 15:55:57 +02:00
5653e89a3a
Merge pull request #12357 from aabadie/pr/tests/pkg_ubasic
tests/pkg_ubasic: increase timeout value, per test
2019-10-02 14:37:46 +02:00
Gunar Schorcht
37debfd655 tests/heap_cmd: blacklist arduino-nano due to memory limit 2019-10-02 14:21:35 +02:00
Gunar Schorcht
edae6b5c09 tests/heap_cmd: shell-based heap function test app 2019-10-02 14:21:35 +02:00
b05173b5f7 tests/pkg_ubasic: add print_float dependency 2019-10-02 13:41:52 +02:00
74e6b73ecb
tests/pkg_ubasic: increase timeout value, per test
On samr30-xpro, the third test requires 150 seconds to complete
2019-10-02 13:07:58 +02:00
Jannes
33a98100a9 drivers/opt3001: Initial support 2019-10-02 10:06:28 +02:00
Dylan Laduranty
aed628f08b
Merge pull request #11486 from benpicco/saml21-lpram
cpu/saml21: Make Low-Power SRAM available to programs
2019-10-01 21:02:42 +02:00
Gunar Schorcht
02d81b717e
Merge pull request #12063 from maribu/i2c_release
drivers/periph/i2c: Updated i2c_release() to return void
2019-10-01 19:50:38 +02:00
Benjamin Valentin
2ff7e03a94 tests/periph_backup_ram: add test for the Backup RAM feature
The test will put a device to sleep, then wake it up to see if
the backup memory was retained.
2019-10-01 18:42:56 +02:00
Gaëtan Harter
66300b2f72
tests/README.md: add documentation about uart interaction
Add some documentation about tests using `cleanterm` and what guarantees
it gives.
2019-10-01 14:13:02 +02:00
Gaëtan Harter
1fce298441
tests/test_tools: test receiving an empty line
Test receiving an empty line.
It was before not possible with `pyterm` but is fixed by previous
commit.
2019-10-01 14:13:02 +02:00
Gaëtan Harter
d33e2d215e
tests/test_tools: test to get a command return value
Get the output of a one line command without other garbage messages.
2019-10-01 14:13:02 +02:00
benpicco
3f0dfc14ac
Merge pull request #11085 from bergzand/pr/usb/cdcacm
usbus: Add CDC-ACM (Serial console) function
2019-10-01 11:22:54 +02:00
Martine Lenders
f4cca412de
Merge pull request #12303 from miri64/sixlowpan_sfr/feat/initial
sixlowpan_sfr: initial import Selective Fragment Recovery definitions
2019-10-01 09:46:25 +02:00
Martine S. Lenders
38571c66fe tests: add unittests for net/sixlowpan/sfr.h helpers 2019-10-01 08:45:19 +02:00
Martine Lenders
db8dcaee48
Merge pull request #12325 from miri64/gnrc_sixlowpan_frag_vrb/enh/rm-out_dst
gnrc_sixlowpan_frag_vrb: re-use now unused super::dst for out_dst
2019-10-01 07:55:49 +02:00
Frank Hessel
64ac490fc9
tests/driver_adt7310: Add explicit cast required for llvm 2019-09-30 22:31:15 +02:00
c6447b73dc
test/usbus_cdc_acm_stdio: USB CDC ACM STDIO test 2019-09-30 18:53:58 +02:00
Martine Lenders
04f59d6609 gnrc_sixlowpan_frag_vrb: re-use now unused super::dst for out_dst 2019-09-30 12:46:15 +02:00
Bas Stottelaar
acd9dfda01 tests/cpu_efm32_features: update test 2019-09-30 00:03:15 +02:00