[riot-notifications] [RIOT-OS/RIOT] [BUG] testrunner matching local echo (#10952)

MrKevinWeiss notifications at github.com
Fri Feb 22 09:56:02 CET 2019


Test results:
It seems there is a problem with picocom and the nucleo-l476rg...
As always I am willing to except it is on my side...

`BOARD=nucleo-l476rg RIOT_TERMINAL=picocom make flash test -C tests/test_tools/`
```
main(): This is RIOT! (Version: 2019.04-devel-242-gb9923-tstxxx/10952)
Running 'tests_tools' application
main(): This is RIOT! (Version: 2019.04-dshellping
evel-242-gb9923-tstxxx/10952)
Running 'tests_tools' application
shellpong
true this should not be echoed
shellping
shellpong
Traceback (most recent call last):
  File "/home/kevinweiss/WorkingDirectory/RIOT/tests/test_tools/tests/01-run.py", line 60, in <module>
    sys.exit(run(testfunc))
  File "/home/kevinweiss/WorkingDirectory/RIOT/dist/pythonlibs/testrunner/__init__.py", line 57, in run
    testfunc(child)
  File "/home/kevinweiss/WorkingDirectory/RIOT/tests/test_tools/tests/01-run.py", line 53, in testfunc
    _test_no_local_echo(child)
  File "/home/kevinweiss/WorkingDirectory/RIOT/tests/test_tools/tests/01-run.py", line 38, in _test_no_local_echo
    assert res == 0, "There should have been a timeout and not match stdin"
AssertionError: There should have been a timeout and not match stdin
```

`BOARD=nucleo-l476rg RIOT_TERMINAL=socat make flash test -C tests/test_tools/`
```
Terminal ready
 This is RIOT! (Version: 2019.04-devel-242-gb9923-tstxxx/10952)
Running 'tests_tools' application
main(): This is RIOT! (Version: 2019.04-devshellping
el-242-gb9923-tstxxx/10952)
Running 'tests_tools' application
shellping
shellpong
true this should not be echoed
true this should not be echoed
```

`RIOT_TERMINAL=picocom make all test -C tests/test_tools/`
```
main(): This is RIOT! (Version: 2019.04-devel-242-gb9923-tstxxx/10952)
Running 'tests_tools' application
shellping
shellpong
true this should not be echoed
shellping
shellpong
```

`RIOT_TERMINAL=socat make all test -C tests/test_tools/`
```
main(): This is RIOT! (Version: 2019.04-devel-242-gb9923-tstxxx/10952)
Running 'tests_tools' application
shellping
shellpong
true this should not be echoed
shellping
shellpong
```

`make all test -C tests/test_tools/`
```
main(): This is RIOT! (Version: 2019.04-devel-242-gb9923-tstxxx/10952)
Running 'tests_tools' application
shellping
shellpong
true this should not be echoed
shellping
shellpong
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10952#issuecomment-466323218
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190222/89ce5d6b/attachment.html>


More information about the notifications mailing list