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

2765 Commits

Author SHA1 Message Date
Sebastian Meiling
612469f8ad
Merge pull request #10398 from Josar/pr/xtimer_hang/priority_worker
tests/xtimer_drift: increase priority of worker
2019-01-07 10:40:01 +01:00
Kevin "Bear Puncher" Weiss
9554f751d8
Merge pull request #6630 from OTAkeys/pr/cortex-m4f-fpu
cortexm_common: add FPU support for cortex-m4f and cortex-m7
2019-01-04 11:56:18 +01:00
Kees Bakker
d909cf3a84 tests/driver_at86rf2xx: eliminate cast 2019-01-03 22:56:15 +01:00
5072acc8b8
Merge pull request #10698 from MrKevinWeiss/pr/fixsetbaudrate
tests/periph_uart: fix baudrate truncation
2019-01-03 18:43:36 +01:00
MrKevinWeiss
501b257223 tests/periph_uart: fix baudrate truncation
Since some boards an int is 16 bits the atoi truncates values.
This commit using a long instead of an int.
2019-01-03 16:38:33 +01:00
Vincent Dupont
402b60e30c tests: add thread_float test app 2019-01-03 16:06:30 +01:00
MrKevinWeiss
d2e67261ae tests/driver_ds1307: Blacklist iotlab boards
This states iotlab boards shouldn't run these tests.
This is because the i2c address of L3G4200 is the same ad the ds1307.
This causes an error that thinks the test is valid when it is not.
2019-01-03 14:38:56 +01:00
Kevin "Bear Puncher" Weiss
e4ed9d703d
Merge pull request #10118 from aabadie/pr/tests/sx127x_default_board
tests/sx127x: set b-l072z-lrwan1 as default board
2019-01-03 11:35:49 +01:00
José Alamos
f14d46d935
Merge pull request #10242 from miri64/gnrc_ipv6_ext_rh/enh/icmpv6_error_msg
gnrc_ipv6_ext_rh: add ICMPv6 error message sending
2019-01-03 10:35:54 +01:00
f90c69cf6e tests/bench_runtime_coreapis: improve pexpect autotest 2019-01-02 14:22:37 +01:00
4e7bfb65df tests/bench_runtime_coreapis: globally import testrunner 2019-01-02 14:22:28 +01:00
Martine Lenders
9f51e15889
Merge pull request #10606 from aabadie/pr/tests/posix_semaphore_timeout_margin
tests/posix_semaphore: increase timeout margin
2018-12-28 12:10:10 +01:00
Martine Lenders
e13bc4285b
Merge pull request #10191 from fedepell/at_recv_bytes_1
drivers/at: add function to read raw data bytes from modem
2018-12-28 12:09:35 +01:00
Sebastian Meiling
cf1a5e0cae
Merge pull request #10396 from Josar/pr/xtimer_hang/periodic_wakeup
test/xtimer_hang: use xtimer_periodic_wakeup
2018-12-21 21:18:17 +01:00
Sebastian Meiling
139b5dba3c
Merge pull request #10501 from kb2ma/gcoap/req_path_null
net/gcoap: allow NULL path in gcoap_req_init()
2018-12-21 14:36:04 +01:00
Dylan Laduranty
764c7d2cc1
Merge pull request #10069 from fedepell/sam0_flashwrite
sam0 flashpage_write: correct translation from RIOT pages to CPU pages writing
2018-12-21 14:17:20 +01:00
Federico Pellegrin
50f2078fcd tests/periph_flashpage: test_last_raw must erase page before write 2018-12-20 21:18:52 +01:00
Gunar Schorcht
ae3ad4a93f tests/ccs811: satisfy Codacy 2018-12-20 12:42:44 +01:00
Gunar Schorcht
f03fb32f88 tests/driver_ccs811: fixes for Codacy 2018-12-20 12:42:44 +01:00
8a7edeb193 drivers/ccs811: fix build issues on ARM (#1)
* drivers/ccs811: fix types in debug messages

* drivers/driver_ccs811_full: fix unused variable build error
2018-12-20 12:42:44 +01:00
Schorcht
4323d9c233 drivers/ccs811: splitted test apps 2018-12-20 12:42:44 +01:00
Schorcht
74e1ab220c drivers: add driver for CCS811 gas sensor 2018-12-20 12:42:44 +01:00
4878cf2119
Merge pull request #10400 from miri64/core/enh/thread_has_queue_func
core: provide function to check msg queue initialization
2018-12-19 18:41:39 +01:00
Martine Lenders
91b526b0ad tests/gnrc_netif: use thread_has_msg_queue() for msg queue check 2018-12-19 15:39:50 +01:00
Martine Lenders
be5dd81a79 tests/unittests: adapt rpl_srh tests for API change 2018-12-18 19:46:27 +01:00
Francisco Acosta
66911d6ce1 tests/riotboot: add basic automatic test in python
Co-authored-by: Federico Pellegrin <fede@evolware.org>
2018-12-18 19:31:35 +01:00
Francisco Acosta
f1c57b21ec tests: add riotboot bootloader test
The tests overrides the target all to be tested by the CI.
All the instructions how to use it are in README.md
The test is successful if the image boots and displays
information about the image and running slot.

Co-authored-by: Federico Pellegrin <fede@evolware.org>
2018-12-18 19:31:35 +01:00
Gaëtan Harter
47830f44c2
Merge pull request #10603 from aabadie/pr/tests/pthread_timeout
tests/pthread_condition_variable: increase timeout
2018-12-17 17:57:15 +01:00
Martine Lenders
a3864aa103
Merge pull request #9158 from aabadie/pr/periph/stm32_lpuart
cpu/stm32-common: add support for lpuart
2018-12-17 12:16:27 +01:00
bd77949bc7 tests/posix_semaphore: increase timeout margin
Otherwise it may break on nrf51 boards where the timeout can be slightly above 100. Using 105us margin seems enough
2018-12-14 22:22:36 +01:00
87dd5f9341 tests/pthread_condition_variable: increase timeout
Otherwise it raises a timeout on slow boards. It takes around 2 minutes
on nrf51 based boards (e.g microbit)
2018-12-14 22:05:12 +01:00
Gaëtan Harter
169a72b9a7
Merge pull request #10590 from aabadie/tests/pkg_libcose_timeout
tests/pkg_libcose: increase timeout of autotest
2018-12-14 21:05:58 +01:00
Gaëtan Harter
60f3e1af8a
Merge pull request #10591 from aabadie/pr/tests/libfixmath_extend_timeout
tests/libfixmath_unittests: extend timeout in autotest
2018-12-14 19:46:44 +01:00
Gaëtan Harter
7b5b778cea
Merge pull request #10602 from aabadie/pr/tests/pkg_micro-ecc_timeout
tests/pkg_micro-ecc*: increase expect timeout
2018-12-14 19:28:56 +01:00
dbe43d7515 tests/periph_uart: add periph_lpuart optional dependency 2018-12-13 12:39:00 +01:00
0ea00d932e tests/pkg_libcose: increase timeout of autotest
On a microbit (nrf51) the autotest takes around 4 minutes to complete.
2018-12-13 10:04:30 +01:00
5c4698bfd8 tests/pkg_micro-ecc*: increase expect timeout
Otherwise the test takes too long on nrf51 based boards and fails:
- 80s on a microbit for tests/pkg_micro-ecc
- 120s on a microbit for tests/pkg_micro-ecc-with-hwrng
2018-12-13 10:00:51 +01:00
Leandro Lanzieri
4ce63d00ea
Merge pull request #10280 from fedepell/stk3700_arduino
boards/common/silabs: add Arduino API support for SiLabs boards
2018-12-12 09:51:13 +01:00
d8d9dd32bf tests/libfixmath_unittests: extend timeout in autotest
It can takes up to 640s to complete on microbit
2018-12-11 14:42:08 +01:00
Juan I Carrano
c644110bdb
Merge pull request #10573 from cladmi/pr/tests/compile_tests_in_docker
tests: compile-tests should only be executed in building machine
2018-12-10 15:46:23 +01:00
José Alamos
970bec1d1b
Merge pull request #10233 from miri64/gnrc_ipv6/enh/assume-no-preparsed-pkt
gnrc_ipv6: assume no preparsed packets
2018-12-10 14:21:17 +01:00
Gaëtan Harter
5a2609c573
Merge pull request #10439 from jcarrano/ensure-value
makefile/utils: Add a function for checking that a string is not empty.
2018-12-07 19:17:37 +01:00
Gaëtan Harter
9d252a883e tests/build_system_utils: add test for build system utilities
This will allow testing the build system 'utils' functions.
2018-12-07 18:19:38 +01:00
Gaëtan Harter
58bcde876a
tests/cortexm_common_ldscript: only execute compile-tests in docker
Without the protection, the host system also tries to execute the tests.
2018-12-07 17:41:57 +01:00
Gaëtan Harter
4dd6eb3e5b
tests/libc_newlib: only execute compile-test in docker
Without the protection, the host system also tries to execute the tests.
2018-12-07 17:41:57 +01:00
Gaëtan Harter
aea71dc309
tests/libc_newlib: verify the file exist before testing
If the file does not exist, because of concurrency issues, there is no
error. So verify it is there for good measures.
2018-12-07 17:41:57 +01:00
Martine Lenders
2b280f867e tests/gnrc_ipv6_ext: remove test for parsed packet reception 2018-12-06 16:22:31 +01:00
Hauke Petersen
92fcb4de6a
Merge pull request #10513 from miri64/gnrc_netif/enh/iid-conversion
gnrc_netif: add general IID to/from l2addr conversion functions
2018-12-06 15:57:06 +01:00
Martine Lenders
f757376fc6 tests/gnrc_sock_udp: mark arduino-atmega2560 for insufficient memory 2018-12-06 15:39:00 +01:00
Gaëtan Harter
1bc0bbb1a8
tests/xtimer_usleep: disable running test on native
The test randomly fails for unrelated PRs. Expecting real-time timing on
native is not really possible. Maybe it could be fixed but it currently
triggers many false positive.
2018-12-05 17:32:53 +01:00
Gaëtan Harter
1e7d72dea9
tests/xtimer_now64_continuity: disable running test on native
The test randomly fails for unrelated PRs. Expecting real-time timing on
native is not really possible. Maybe it could be fixed but it currently
triggers many false positive.
2018-12-05 17:31:12 +01:00
3e8c113c59 tests/periph_eeprom: cleanup + add auto tests for clear and set 2018-12-04 11:25:08 +01:00
f1d3d206c9 tests/periph_eeprom: add set command in shell 2018-12-04 11:24:57 +01:00
c95c1e4def tests/periph_eeprom: add clear and erase commands 2018-12-04 11:24:57 +01:00
90db0bf253
Merge pull request #10253 from kYc0o/pr/riot_hdr
sys: add riotboot_hdr module
2018-12-04 09:44:45 +01:00
1de4ae743a tests: exclude nrf51dk from big tests 2018-12-04 08:37:00 +01:00
Francisco Acosta
ffb1ba6e47 tests: add riotboot_hdr test
Unittest for riotboot_hdr submodule. If successful, it must
print 4 successful tests.
2018-12-04 00:01:42 +01:00
Martine Lenders
0c09a9ad8b
Merge pull request #10538 from smlng/pr/embunit
tests: adapt embunit TEST_ASSERT_EQUAL_STRING
2018-12-03 16:59:06 +01:00
Sebastian Meiling
a638b6c1ba tests: verify embunit TEST_ASSERT_EQUAL_STRING 2018-12-03 15:44:02 +01:00
Kevin "Bear Puncher" Weiss
f05852290a
Merge pull request #9236 from bergzand/pr/crypto/poly1305
crypto: Poly1305 implementation
2018-12-03 14:31:28 +01:00
Peter Kietzmann
c83493728a
Merge pull request #10435 from leandrolanzieri/pr/boards/sodaq_sara_r410m
boards/sodaq-sara-aff: Initial support
2018-12-03 14:11:34 +01:00
Marian Buschsieweke
003c04bd4c
Merge pull request #10012 from gschorcht/drivers_sht3x
drivers: sht3x temperature and humidity sensor
2018-12-03 10:43:16 +01:00
Leandro Lanzieri
d53fbb0045 boards/sodaq-sara-aff: Initial support 2018-12-03 10:05:37 +01:00
d5c527161d
test/crypto: Add tests for poly1305
Tests are based on the tests vectors provided in RFC 7539
2018-12-03 09:31:10 +01:00
Joakim Nohlgård
36e5b8ef23 usb-kw41z: NXP USB-KW41Z wireless IoT USB dongle 2018-12-01 13:51:55 +01:00
Sebastian Meiling
43d39b7a33
Merge pull request #8333 from samkumar/feature-condition-variable
core: condition variable implementation
2018-11-30 21:15:53 +01:00
Sam Kumar
fb8edbb610 core: condition variable implementation 2018-11-30 11:22:07 -08:00
Federico Pellegrin
e34d46e096 drivers/at: add function to read raw data bytes from modem 2018-11-30 14:59:00 +01:00
Juan I Carrano
77c9cc4041
Merge pull request #10219 from bergzand/pr/crypt/helper_add_wipe
crypto/helper: Add secure wipe function
2018-11-30 11:32:45 +01:00
b59bfd5554
Merge pull request #10505 from miri64/gnrc_mac/fix/header-includes
gnrc_mac: fix header includes
2018-11-29 22:02:46 +01:00
Sebastian Meiling
7913811a0f tests: board specific TIMER_SPEED in periph_timer
By default the periph_timer tests wants to init all timers with 1MHz,
which is not suitable for all timers, e.g. the atmega timers cannot
run at that speed to make the test work they need to be set to 250kHz.
2018-11-29 16:25:06 +01:00
Sebastian Meiling
739cb85830 tests: add README.md for periph_timer
Moving test description from code to a separate README.md file to reduce
binary size to make the test fit on an arduino-uno.
2018-11-29 16:24:51 +01:00
Kevin "Bear Puncher" Weiss
153759b926
Merge pull request #10498 from smlng/pr/adapt/7542
atmega: add periph_pwm (taken from #7542)
2018-11-29 15:54:51 +01:00
Martine Lenders
9d6a32b551 gnrc_mac: fix header includes
The inclusion of `net/gnrc.h` in `net/gnrc/mac/types.h` header makes it
impossible to include the `net/gnrc/netif.h` header within
`net/gnrc/netif/hdr.h`, due to `net/gnrc/mac/types.h` being included
with `net/gnrc/netif/mac.h` (which is included in `net/gnrc/netif.h`)
2018-11-29 12:39:34 +01:00
Victor Arino
8ff8aefb72 boards/arduino-atmega-common: support for PWM 2018-11-29 08:50:56 +01:00
Ken Bannister
ffa0c5b03c tests/gcoap: test NULL path in gcoap_req_init() 2018-11-28 13:26:04 -05:00
f9eebce43f
tests/qdsa: Move from unittests to regular tests
Stack size is changed from 4 times the default + printf to 5 times the
default stack size. Only on the lpc2387 this reduces the resulting stack
space. the test is not rerun for the lpc2387 and is untested.
2018-11-28 14:37:37 +01:00
Martine Lenders
85b9be71da
Merge pull request #10188 from smlng/pr/tests/pkg_cn-cbor
tests/cn-cbor: move from unittests to regular test
2018-11-27 23:51:11 +01:00
smlng
7b0a7db286 tests/cn-cbor: move from unittests to regular test
This moves tests for the cn-cbor package from unittests to a regular
test, which should help to decrease binary size of unittests.
2018-11-27 22:17:05 +01:00
smlng
618fd16699 tests/relic: move from unittests to regular test
This moves tests for the relic package from unittests to a regular
test, which should help to decrease binary size of unittests.
2018-11-27 20:41:26 +01:00
Juan I Carrano
050e06f20f
Merge pull request #10376 from cladmi/pr/crypto/ccm/const_input
crypto/modes/ccm: update api to const input buffers
2018-11-27 15:33:00 +01:00
Hauke Petersen
b603c298ef
Merge pull request #9156 from kb2ma/gcoap/use_opt_add_api
net/gcoap: Use nanocoap pkt/options API
2018-11-26 11:20:27 +01:00
Ken Bannister
424a01ddc1 net/gcoap: remove gcoap attributes from coap_pkt_t 2018-11-24 07:09:25 -05:00
Ken Bannister
f8e5b3dee3 net/gcoap: update tests for nanocoap options API 2018-11-24 07:09:25 -05:00
José Alamos
396f53c2a1
Merge pull request #10300 from miri64/tests/enh/gnrc_rpl_srh_unittests
unittests/tests-rpl_srh: various improvements
2018-11-23 13:48:16 +01:00
Martine Lenders
78164977d8
Merge pull request #10223 from kb2ma/nanocoap/string_opt_first_char
net/nanocoap: fix string option separator write handling
2018-11-22 16:43:45 +01:00
Ken Bannister
fa77929cc7 net/nanocoap: fix string option separator handling
Assumed initial character was a separator when writing the option,
and skipped over it.
2018-11-22 09:25:05 -05:00
José Alamos
1cb780ea26
Merge pull request #10447 from miri64/gnrc_pktbuf/feat/merge
gnrc_pktbuf: add gnrc_pktbuf_merge()
2018-11-22 13:58:14 +01:00
Tobias Heider
b4f7259a93 tests: add gnrc_pktbuf_merge() unittests 2018-11-22 11:13:33 +01:00
Schorcht
00cb786344 tests: add SHT3X sensor driver test application 2018-11-21 09:07:20 +01:00
1279697f9f tests/driver_mma8x5x: adapt README with type param removal 2018-11-20 10:42:14 +01:00
Martine Lenders
a63dec8074 unittests/gnrc_rpl_srh: make test constructor static 2018-11-20 09:32:32 +01:00
Gaëtan Harter
5c426f0fc9
tests-crypto-modes-ccm: change test inputs to const
Do required changes to have test inputs as const buffers.
2018-11-19 16:44:04 +01:00
Gaëtan Harter
3ca51d8b5d
tests-crypto/test-crypto.h: update api to const input buffers
Input buffers are not modified, so can be declared const arguments.
This will allow using `const` inputs for `modes/ccm` tests.
2018-11-19 16:44:04 +01:00
Gaëtan Harter
c87fe94ec1
crypto/modes/ccm: update api to const input buffers
Input buffers are not modified, so can be declared const arguments.
2018-11-19 16:44:04 +01:00
Kevin "Bear Puncher" Weiss
c7894d2bfc
Merge pull request #10385 from PeterKietzmann/pr_tests_puf_args
tests/puf_sram: add input args to automation script
2018-11-19 09:54:48 +01:00
ZetaR60
1b1d7b8b91
Merge pull request #10411 from cladmi/pr/eepreg/remove_features_required
tests/eepreg: remove duplicate FEATURES_REQUIRED
2018-11-17 15:18:45 -05:00
Martine Lenders
a0067b925d tests/unittests: provide tests for gnrc_pkt_len_upto() 2018-11-16 15:51:36 +01:00
Gaëtan Harter
195d51b92a
tests/eepreg: remove duplicate FEATURES_REQUIRED
The dependency from eepreg to FEATURES_REQUIRED is already defined in
`sys/Makefile.dep` so should not need to be duplicated in the
application Makefile.
2018-11-16 12:07:00 +01:00
josar
ccbb294f9d tests/xtimer_drift: increase priority of worker
When the slacker threads and the worker thread have the same priority
the drift and jitter depend on the workload.
Timer set before the worker thread will be fired before the worker and so
the result is not the timings the system might reach when proper priority
is set. Increasing the priority of the worker thread ensures that the
measureed timings are the achievable timings.
2018-11-15 12:36:02 +01:00