tests/littlefs: Move from unittests to regular test#10212
tests/littlefs: Move from unittests to regular test#10212cladmi merged 1 commit intoRIOT-OS:masterfrom
Conversation
|
According to Murdock, some boards are to tiny for this tests and I believe the msp430 platforms need to be blacklisted (at least for |
miri64
left a comment
There was a problem hiding this comment.
Tested on samr21-xpro, nrf52dk and native
|
(you may squash immediately) |
tests/pkg_littlefs/tests/01-run.py
Outdated
| board = os.environ['BOARD'] | ||
| # Increase timeout on "real" hardware | ||
| timeout = 120 if board is not 'native' else -1 | ||
| child.expect('OK \(\d+ tests\)', timeout=timeout) |
There was a problem hiding this comment.
Please also directly inline changing this regex to a raw string.
| child.expect('OK \(\d+ tests\)', timeout=timeout) | |
| child.expect(r'OK \(\d+ tests\)', timeout=timeout) |
There was a problem hiding this comment.
I successfully tested with IoT-LAB with a rebased version on master with:
BOARDS="samr21-xpro pba-d-01-kw2x b-l475e-iot01a nrf52dk arduino-zero nrf52840dk iotlab-m3 microbit frdm-kw41z"
for board in ${BOARDS}; do BOARD=${board} RIOT_CI_BUILD=1 IOTLAB_NODE=auto-ssh BUILD_IN_DOCKER=1 DOCKER="sudo docker" make --no-print-directory -C tests/pkg_littlefs clean all flash test || break; done
wsn430-v1_3b does not compile with the following error: wsn430-v1_3b/littlefs/lfs_util.h:119: undefined reference to '__popcounthi2' so must be blacklisted
Same as the other filesystem test, make test took around 6-7 seconds only, with the time after reset included, so the 120 looks like not needed. The default 10s could be enough.
990a2b2 to
f3b7b59
Compare
|
Rebased! |
|
I could run the test on However https://ci-ilab.imp.fu-berlin.de/job/experimental-pull-request-tests/21/consoleText I am running the test on the |
|
I could successfully run the test on Please squash before murdock start running it :) |
fb515b5 to
ce2a300
Compare
squashed! |
cladmi
left a comment
There was a problem hiding this comment.
ACK tested on arduino-zero iotlab-m3 samr21-xpro b-l475e-iot01a microbit on IoT-LAB and on arduino-mega2560 frdm-k64f frdm-kw41z msba2 nrf52dk nucleo-f103rb pba-d-01-kw2x sltb001a stm32f3discovery locally.
It failed on mulle but the board failed to run unittests before, and it is not a stack size related issue, so unrelated to this PR.
tests/pkg_littlefs/tests/01-run.py
Outdated
| # General Public License v2.1. See the file LICENSE in the top level | ||
| # directory for more details. | ||
|
|
||
| import os |
There was a problem hiding this comment.
Flake8 reports that this one is unused, you can squash it directly.
https://travis-ci.org/RIOT-OS/RIOT/builds/538272513#L441
There was a problem hiding this comment.
Ah, should have noticed the warning locally. Fixed now
ce2a300 to
748c81c
Compare
|
Now we just wait for CI :) |
|
Same here, no problem for inline squashing the |
748c81c to
1d38863
Compare
|
All green GO ! |
|
Thanks! |
Contribution description
another one related to #10187
Testing procedure
Verify that
tests/pkg_littlefsworks:BOARD=<your-favourite> make -C tests/pkg_littlefs flash testIssues/PRs references
#10187