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

3331 Commits

Author SHA1 Message Date
e2049cce49
Merge pull request #12539 from fjmolinas/pr_isr_yield_relative_time
tests/isr_yield_higher: adapt TEST_TIME to start-up time
2019-10-22 16:50:53 +02:00
Francisco Molina
0d91e61dbb tests/isr_yield_higher: adapt TEST_TIME to start-up time 2019-10-22 16:20:48 +02:00
Benjamin Valentin
b5906c2aa4 tests/pthread*: blacklist boards with low RAM
The pthread tests dynamically allocate memory for the thread stacks.
Therefore while compilation succeeds, they will fail to run on these
low memory boards.

Static allocation of thread stacks is an option to make those tests work
for those boards (confirmed for `tests/pthread`), but it would
change the nature of the tests.
2019-10-21 15:33:48 +02:00
Benjamin Valentin
8f3d1eaf04 tests: reduce THREAD_STACKSIZE_DEFAULT for stm32f030f4-demo 2019-10-21 15:33:48 +02:00
Benjamin Valentin
58892fbbef tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
Martine Lenders
42968ccc6b
Merge pull request #12528 from benpicco/ifconfig_scope
shell_commands: gnrc_netif: print correct scope for IPv6 address
2019-10-21 15:16:47 +02:00
Benjamin Valentin
2ff7c474b7 shell_commands: gnrc_netif: print correct scope for IPv6 addr
Previously `ifconfig` would only know link-local addresses
(printed as 'local') and everything else would be 'global'.

This is wrong for site-local and unique local addresses which were
also denoted as global.

So use the already existing helper functions to determine the correct
type of IPv6 address when printing.
2019-10-21 14:47:34 +02:00
benpicco
ca7e82c312
Merge pull request #11090 from maribu/atmega328p
boards: Added standalone ATmega328p
2019-10-21 13:38:58 +02:00
Marian Buschsieweke
6441e3c178
tests: Updated BOARD_BLACKLIST
- Added atmega328p to BOARD_BLACKLIST where needed
- Adapted special timer frequency selection in tests/periph_timer to also
  select 25kHz for the atmega328p board
2019-10-21 12:54:46 +02:00
Marian Buschsieweke
06d560f408
tests: Added atmega328p to Makefile.ci
Added the atmega328p board to the BOARD_INSUFFICIENT_MEMORY list where needed.
2019-10-21 12:54:46 +02:00
Martine Lenders
05bcdba02e
Merge pull request #10499 from miri64/gnrc_netif/enh/split-6lo-6ln
gnrc_netif: introduce distinction if an interface supports 6Lo or if it performs ND according to RFC 6775
2019-10-21 11:47:30 +02:00
300c3abf2b
tests/lwip_sock_udp: fix sizeof address param in mempcy
Co-authored-by: Martine Lenders <m.lenders@fu-berlin.de>
2019-10-21 08:09:51 +02:00
Martine Lenders
c93b30268b tests/gnrc_ipv6_nib_6ln: add msb-430* to BOARD_INSUFFICIENT_MEMORY
The new fixed code paths with the 6LN/6Lo distinction make this
application too big for the given boards
2019-10-20 15:40:10 +02:00
798d3170d5
Merge pull request #12510 from gschorcht/tests/log_color
tests/log_color: fix string literal error
2019-10-19 19:31:44 +02:00
Gunar Schorcht
41e31c516c tests/log_color: fix string literal error
printf function requires a string literal as the format argument. Using a character pointer is not accepted as string literal by some compilers.
2019-10-19 16:59:11 +02:00
Martine Lenders
3cc8b912a2 tests/gnrc_sixlowpan_frag: fix comment typo 2019-10-19 16:30:45 +02:00
Martine S. Lenders
b715aee81d tests: add tests for new 6Lo reassembly buffer functions 2019-10-19 16:30:45 +02:00
Gunar Schorcht
855ef72202
Merge pull request #12503 from kaspar030/fix_tests/pkg_fatfs_format_overflow
tests/pkg_fatfs: fix sprintf format overflow warning
2019-10-19 10:41:17 +02:00
ea6c4a7f23 tests/pkg_fatfs: fix sprintf format overflow warning
Some platforms issue this:

    tests/pkg_fatfs/main.c: In function '_mkfs':
    tests/pkg_fatfs/main.c:355:26: error: '%d' directive writing between 1 and 11 bytes into a region of size 8 [-Werror=format-overflo
    w=]
      355 |     sprintf(volume_str, "%d:/", vol_idx);
          |                          ^~
    tests/pkg_fatfs/main.c:355:25: note: directive argument in the range [-2147483648, 0]
      355 |     sprintf(volume_str, "%d:/", vol_idx);
          |                         ^~~~~~
    tests/pkg_fatfs/main.c:355:5: note: 'sprintf' output between 4 and 14 bytes into a destination of size 8
      355 |     sprintf(volume_str, "%d:/", vol_idx);
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors

The cause is vol_idx being converted by atoi(), so it might be negative.
This commit increases the stack array so it cannot overflow.
2019-10-18 23:06:44 +02:00
f52bbd084c tests/pkg_nanopb: initial commit 2019-10-18 22:34:29 +02:00
04712dbcfc
Merge pull request #12446 from fjmolinas/pr_fix_tests_riotboot
tests/riotboot: fix test running test in docker.
2019-10-18 17:20:49 +02:00
Francisco Molina
57b09f1685 tests/riotboot: add SLOT_RIOT_ELFS:%.elf=%.bin to BUILD_FILES
- When running `BUILD_IN_DOCKER=1 make -C tests/riotboot test`
  new slot binaries (fw + hdr) need to be generated.
  `%.bin: %.elf` is no defined when building in docker, so the
  fw binaries $(SLOT_RIOT_ELFS:%.elf=%.bin) are added to
  BUILD_FILES
2019-10-18 15:56:48 +02:00
16aef163ca
Merge pull request #12497 from benpicco/tests-cpp_memory
tests: remove Makefile.ci from cpp11 tests
2019-10-18 15:12:36 +02:00
Benjamin Valentin
44d6cabd8a tests: remove Makefile.ci from cpp11 tests
The description states that the tests caused issues with an ancient
toolchain.
Building these tests locally worked fine.

So remove the obsolete BOARD_INSUFFICIENT_MEMORY lists.
2019-10-18 14:28:57 +02:00
Martine S. Lenders
f8d75d7add gnrc_sixlowpan_frag_rb: behavioral change to add()
Rather than dispatching the packet automatically once it is complete,
`gnrc_sixlowpan_frag_rb_add()` now only returns success, and leaves it
to the caller to dispatch the packet.
2019-10-18 09:02:32 +02:00
Martine S. Lenders
df484926a2 tests/gnrc_sixlowpan_frag: adapt for API change
These changes reflect adaptations for the following API changes:

- gnrc_sixlowpan_frag_rb: return pointer to entry on add()
2019-10-18 09:02:32 +02:00
Benjamin Valentin
c01eae3239 tests: add microduino-corerf to Makefile.ci 2019-10-17 20:38:47 +02:00
Benjamin Valentin
252f22bfe2 tests/driver_hih6130: replace SLEEP define
The SLEEP define collides with an Atmel header file.
Rename the define to resolve the conflict.
2019-10-17 19:20:31 +02:00
benpicco
ad81a9df8a
Merge pull request #12484 from maribu/pain_in_the_ass
tests: Moved BOARD_INSUFFICIENT_MEMORY to Makefile.ci
2019-10-17 18:25:41 +02:00
benpicco
bd0ba7f187
Merge pull request #12476 from basilfx/feature/efm32_uart_modes_cleanup
cpu/efm32: remove EFM32_UART_MODES
2019-10-17 18:22:37 +02:00
Marian Buschsieweke
fd6fedaab6
tests: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci
- Moved the BOARD_INSUFFICIENT_MEMORY list into Makefile.ci
- Formatted the list to contain one board per line
- Sorted the lists alphabetically
2019-10-17 15:11:59 +02:00
Marian Buschsieweke
d9e4361246
tests/rng: Fixed abuse of BOARD_BLACKLIST
- BOARD_BLACKLIST has been used to blacklist boards with too little RAM/ROM
  according to the comment
  ==> Moved those entries to BOARD_INSUFFICIENT_MEMORY instead
- pic32-clicker does build fine, so RAM/ROM efficiency has improved since
  ==> Dropped pic32-clicker from the list
2019-10-17 15:10:42 +02:00
Jannes
2df5d6048d driver/mpu9x50: Rename mpu9150 to mpu9x50
Rename all files

Rename all variables, methods and methodcalls

Rename all folders

Add to the makefiles

Add to doc
2019-10-17 12:52:18 +02:00
Bas Stottelaar
b122a8863e tests/cpu_efm32_features: add test script 2019-10-16 22:09:37 +02:00
Bas Stottelaar
bbec8277b9 tests/cpu_efm32_features: remove EFM32_UART_MODES 2019-10-16 22:05:08 +02:00
MrKevinWeiss
2c2e1fcc16 tests/periph_uart: Remove obsolete python tests 2019-10-16 15:54:36 +02:00
MrKevinWeiss
26539eb3ec tests/periph_i2c: Remove obsolete python tests 2019-10-16 15:54:10 +02:00
Martine Lenders
eebf3709db
Merge pull request #12465 from aabadie/pr/tests/nordic_softdevice
tests/nordic_softdevice: cleanup test script and fix test
2019-10-16 13:28:39 +02:00
Sebastian Meiling
375687da50 tests/emb6: replace board blacklist
Replaces the board blacklist by a matching
feature blacklist or arch_msp430.
2019-10-16 09:49:26 +02:00
Sebastian Meiling
047104c1c9 tests/emb6: remove pic32 boards from blacklist
First the comment does not fit these two boards and
second they would work compiler wise but just do not
have an SPI to support the radio. Hence, won't be
used due to missing features.
2019-10-16 09:46:45 +02:00
98e17c2736
tests/nordic_softdevice: cleanup test script and fix test
Adding a 1s delay before sending ifconfig makes this test works reliably because it gives the softdevice enough time to get in a ready state.
2019-10-16 08:20:41 +02:00
benpicco
1ffca2b963
Merge pull request #12412 from benpicco/tests_no-SLEEP
tests: replace SLEEP define
2019-10-15 15:39:53 +02:00
Martine Lenders
18fc2c206f unittests: fix tests-pkt for non-32bit platforms 2019-10-15 10:40:07 +02:00
Martine Lenders
117ff2f862 unittests: remove board blacklist, fix doc for MCU architectures 2019-10-15 09:48:04 +02:00
8f0f28bd50 tests/ssp: make use of architecture features 2019-10-14 22:40:13 +02:00
8a1e78bf4d
Merge pull request #9081 from kaspar030/add_arch_features
make: add architecture features and feature blacklisting
2019-10-14 16:12:54 +02:00
Cenk Gündoğan
b4cb32a8ab
Merge pull request #12440 from miri64/tests/fix/gnrc_rpl_srh
tests/gnrc_rpl_srh: fix test assumption
2019-10-14 14:43:30 +02:00
Martine Lenders
3e7f25566f tests/gnrc_rpl_srh: fix unittests for gnrc_rpl_srh behavior change 2019-10-14 12:04:35 +02:00
Martine Lenders
ee2126a4e2 tests/gnrc_rpl_srh: fix test assumption
If the destination address or an address within the source route is
multicast within a RPL source routing header, a receiving node is
supposed to just discard the packets, but not to send an ICMPv6 error
message, as the test assumes at the moment.

Source: https://tools.ietf.org/html/rfc6554#section-4.2
2019-10-14 10:33:25 +02:00
9bc600a2e5
Merge pull request #12386 from keestux/sodaq-boards-arduino
Sodaq boards arduino
2019-10-14 07:47:58 +02:00