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

2321 Commits

Author SHA1 Message Date
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
a0077f3c4b tests/unittests: test clist_foreach() return value 2018-05-12 00:13:41 +02:00
e05b780a10
Merge pull request #9118 from cladmi/pr/tests/trickle
tests/trickle: initialize prev_now in main
2018-05-11 20:57:01 +02:00
925f3c3a03 tests/pkg_cayenne_lpp: improve test and fix failing checks
- generated payloads can differ between architectures due to floating precision
- reworked how buffer content is tested in the application
- second test value depends on architecture (native and other platforms)
2018-05-11 18:57:36 +02:00
Gaëtan Harter
4032cf73b0
tests/trickle: initialize prev_now in main
Having `prev_now` initialized to 0 breaks tests on `arduino-zero` and
`arduino-mega2560` as `xtimer_now_usec` is way bigger (72k on `arduino-zero`).

Issue found in:
* #9052 and proposed fix by ZetaR60
* https://github.com/RIOT-OS/Release-Specs/issues/62#issuecomment-387421737
2018-05-11 17:56:27 +02:00
Gaëtan Harter
d0f22b787c
Merge pull request #8112 from cladmi/pr/crypto/input_len
crypto/ccm: fix input_len checking with length_encoding
2018-05-09 18:56:34 +02:00
7f83c450c8
Merge pull request #9100 from cladmi/pr/tests/libfixmath_unittests
tests/libfixmath_unittests: fix for iotlab-m3 and samr21-xpro
2018-05-09 15:30:26 +02:00
Gaëtan Harter
2c240cadf6
tests/libfixmath_unittests: increase timeout for samr21/iotlab-m3
On iotlab-m3 test duration was 80 seconds and 250 on samr21.
2018-05-08 14:46:45 +02:00
Gaëtan Harter
1773b06a62
tests/libfixmath_unittests: add missing printf_float dependency
The test fix16_str_unittests uses snprintf("%0.5f") to compare to fix16_to_str.
2018-05-08 14:46:38 +02:00
Gaëtan Harter
4f2521262b
tests/mutex_unlock_and_sleep: reduce number of loops in test
Globally speed up automated tests as iterating more does not add anything.

Especially usefull for wsn430 that now takes ~30 seconds instead of the double.
2018-05-08 11:55:49 +02:00
Gaëtan Harter
57a2397631
tests/mutex_unlock_and_sleep: reduce number of iterations on boards
Reduce number of iterations, it allows taking less than 3 seconds on wsn430.

Tested on wsn430 and iotlab-m3 to check that speed was not too fast to read when
executing term.
2018-05-08 11:55:10 +02:00
Gaëtan Harter
2dfb5847f3
tests/mutex_unlock_and_sleep: replace modulo to speed up tests on wsn430
Doing a 32 bit modulo is really slow on wsn430, even when changing to a power of
two modulo.

Replace modulo by a double counter.
2018-05-08 11:54:57 +02:00
7e2f5cf99a tests/pkg_semtech-loramac: adapt to change in pkg 2018-05-08 11:14:05 +02:00
jia200x
736c757b80
Merge pull request #8639 from aabadie/pr/pkg/loramac_link_check
pkg/semtech-loramac: add link check support
2018-05-08 11:11:33 +02:00
Gaëtan Harter
fa33eacd1f
crypto/ccm: fix _fits_in_nbytes function
Function is broken with num_bytes >= 4.

Could happen when storing input_len with len_encoding >= 4.
It can take values from 2 to 8, so make it work for cases it would overflow.
2018-05-07 15:08:00 +02:00
Gaëtan Harter
a47e5e427e
tests/ccm: add test for input_len check 2018-05-07 15:08:00 +02:00
Francisco Acosta
5519f06e1e
Merge pull request #8897 from ZetaR60/RIOT_atmega_race
tests/thread_race: add test for race conditions
2018-05-04 19:38:27 +02:00
Matthew Blue
8d40e3c481 tests/thread_race: add test for race conditions 2018-05-04 12:49:01 -04:00
Gaëtan Harter
154fbcff35
tests: use RIOTTOOLS variable
Follow up to #9067 and part of #8821
2018-05-04 10:52:26 +02:00
f9c75d0df7
Merge pull request #8915 from ZetaR60/RIOT_ads101x
drivers/ads101x: support for ADCs
2018-05-03 08:31:03 +02:00
e13b1b7dd2
Merge pull request #9045 from cladmi/pr/tests/thread_flags/wsn430
tests/thread_flags: fix printf on 16bit platform
2018-04-28 14:49:47 +02:00
Joakim Nohlgård
9c85ce1916
Merge pull request #8733 from gebart/pr/matstat
matstat: Integer mathematical statistics library
2018-04-28 09:37:02 +02:00
Joakim Nohlgård
5c59f6a39a unittests: Add tests for matstat library 2018-04-28 08:03:35 +02:00
Gaëtan Harter
8edd9a924c
tests/thread_flags: fix printf on 16bit platform
Diff output was truncated to a 16b unsigned on wsn430 which made tests fail

    main: timeout triggered. time passed: 34581us

Instead of

    main: timeout triggered. time passed: 100117us
2018-04-27 21:08:20 +02:00
b522d5e6ee
Merge pull request #9033 from cladmi/pr/tests/pkg_tiny-asn/blacklist/wsn430
tests/pkg_tiny-asn1: blacklist wsn430 boards
2018-04-27 15:22:39 +02:00
97618c0ec0
Merge pull request #9031 from cladmi/pr/fix/test/sizeof_tcb
tests:sizeof_tcb: fix for wsn430 and arduino
2018-04-27 11:42:22 +02:00
95a5befdf9
Merge pull request #9030 from cladmi/pr/fix/test/wsn430/float
tests/float: increase timeout for wsn430
2018-04-27 11:40:26 +02:00
Gaëtan Harter
a1fe556f02
tests/pkg_tiny-asn1: blacklist wsn430 boards
Boards do not have enough memory to `malloc` for the test

    ERROR: Could not allocate the memory for the ASN.1 objects
2018-04-26 16:53:07 +02:00
Gaëtan Harter
23eefa3408
tests/sizeof_tcb: fix printf format to work on arduino
arduino-uno and arduino-mega2560 do not support the '%-*s' option.
2018-04-26 16:04:40 +02:00
Gaëtan Harter
4f1206c1c5
tests/sizeof_tcb: fix test for 16bit wsn430 2018-04-26 16:04:37 +02:00
Gaëtan Harter
ac1bf94f67
tests/float: increase timeout for wsn430 2018-04-26 16:00:53 +02:00
Gaëtan Harter
fa58928695
tests/bloom_bytes: increase timeout for wsn430
adding 512 elements took 10243ms
    checking 10000 elements took 134720ms
2018-04-26 15:57:27 +02:00
aa0acd62c7 tests/pkg_semtech-loramac: add new link_check command 2018-04-19 15:51:43 +02:00
378ec103f9 tests/pkg_semtech-loramac: apply new API 2018-04-19 11:44:51 +02:00
f872a7f676 tests/driver_io1_xplained: print light sensor values 2018-04-17 11:06:01 +02:00
367190c08d tests/driver_io1_xplained: use sdcard in test application 2018-04-17 10:49:48 +02:00
57734a1e15 tests/driver_io1_xplained: rework with new API 2018-04-17 10:48:49 +02:00
f18f25c5c2
Merge pull request #8577 from gebart/pr/analog_util-refactor
sys/analog_util: Refactor, add test
2018-04-17 10:40:53 +02:00
ba809c231e
pkg/libcose: add simple unittest application 2018-04-16 19:02:04 +02:00
Dylan Laduranty
ff5817c569
Merge pull request #8926 from aabadie/pr/drivers/sx127x_fixes
drivers/sx127x: various improvements
2018-04-16 16:10:27 +02:00
355c559ae9
test/cn-cbor: Use memarray as block allocator 2018-04-16 15:27:43 +02:00