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

62 Commits

Author SHA1 Message Date
b44652c489
pythonlib/riotctrl_shell: reformat with black 2021-10-22 10:25:15 +02:00
f2bb9242bb
pythonlib/riotctrl_shell: add black testenv in tox
Add Flake8 configuration compatible with black
2021-10-22 10:25:15 +02:00
43550cd853
pythonlib/riotctrl_ctrl: reformat native.py with black 2021-10-22 10:25:15 +02:00
ba1173409f
pythonlib/riotctrl_ctrl: add black testenv in tox
Add Flake8 configuration compatible with black
2021-10-22 10:25:15 +02:00
Francisco Molina
3aa6492016 dist/pythonlibs/riotctrl_shell/tests/common: add expect to mock 2021-10-18 15:50:54 +02:00
Benjamin Valentin
b0b8c5a641 riotctrl_shell.gnrc: add parser for reply corruption & truncation 2021-08-11 12:04:22 +02:00
Martine Lenders
c71a52dc0c
Merge pull request #15978 from miri64/riotctrl_ctrl/enh/native_reset
riotctrl_ctrl: A reset helper class for `native`
2021-05-04 13:48:18 +02:00
Martine Lenders
9f8b4a1c9b
riotctrl_ctrl: add tests for NativeRIOTCtrl 2021-05-04 11:46:51 +02:00
Martine Lenders
49ea453df9
riotctrl_ctrl: provide helper class for native reset 2021-05-04 11:46:51 +02:00
Francisco Molina
3fbd079bc3
dist/pythonlibs/riotctrl_shell: add loramac shell 2021-05-03 16:52:14 +02:00
Martine Lenders
da1778e85c
riotctrl_shell.tests: add tests for CongureTest ShellInteraction 2021-03-03 14:12:49 +01:00
Martine Lenders
0bdbf8c8cc
riotctrl_shell: add ShellInteraction for congure_test 2021-03-03 14:12:49 +01:00
Martine Lenders
ae14386736
riotctrl_shell.tests: add capability to access history of commands 2021-03-03 14:12:49 +01:00
Martine Lenders
70aac82e6b
riotctrl_shell.tests: add missing method to MockSpawn 2021-03-03 10:40:06 +01:00
84e2881d18
dist/testrunner: fix flake8 issue E741
E741: ambiguous variable name
2021-01-07 19:11:20 +01:00
Martine Lenders
9b431f70d5
riotctrl_shell.gnrc: fix documentation for GNRCICMPv6EchoParser.parse()
This seems to be a copy-paste error. The `GNRCICMPv6EchoParser` parse
function parses of course the output of the `ping6` command, not the
`nib neigh show` command.
2020-12-14 08:23:24 +01:00
Martine S. Lenders
382cfee1de
riotctrl_shell: simplify error case for cord registration info parser 2020-08-06 17:02:32 +02:00
M Aiman Ismail
45546a711f riotctrl_shell: provide cord_ep interactions and parser 2020-08-06 13:51:13 +02:00
Martine Lenders
2ab65da409
Merge pull request #14519 from RIOT-OS/riotctrl_shell/fix/superflous-quotation-marks
riotctrl_shell.gnrc: remove superfluous quotation marks
2020-07-15 17:35:50 +02:00
Martine Lenders
198eda14e6
riotctrl_shell.gnrc: remove superfluous quotation marks 2020-07-15 13:46:34 +02:00
Martine Lenders
d968f16cc1 riotctrl_shell.netif: fix for multiple interfaces with netstats 2020-07-14 14:32:29 +02:00
Martine S. Lenders
92957e571f riotctrl_shell.tests: provide case for multiple interfaces with stats 2020-07-14 14:32:29 +02:00
Martine S. Lenders
94c8b19d68
riotctrl_shell.gnrc: provide ipv6_nib interactions and parsers 2020-07-10 10:09:06 +02:00
4dc82bce70
Merge pull request #14462 from miri64/riotctrl_shell.gnrc/enh/compile-to-init
riotctrl_shell.gnrc: move compile object init to parser constructors
2020-07-09 21:32:16 +02:00
dcfe736b7c
Merge pull request #14479 from miri64/riotctrl_shell.netif/fix/non-str-set
riotctrl_shell.netif: allow for non str values with ifconfig_set()
2020-07-09 21:31:05 +02:00
Martine S. Lenders
b1a1bf1078
riotctrl_shell.netif: allow for non str values with ifconfig_set() 2020-07-09 15:43:02 +02:00
Martine S. Lenders
6c2d8f7a14
riotctrl_shell.tests: add regression test for non-str ifconfig_set() 2020-07-09 15:42:47 +02:00
79f26bd09e
Merge pull request #14460 from miri64/riotctrl_shell.netif/fix/check_term-decorator
riotctrl_shell.netif: add missing check_term decorator
2020-07-09 14:29:06 +02:00
Martine S. Lenders
c3e6d89bcb
riotctrl_shell.gnrc: move compile object init to parser constructors 2020-07-09 13:20:14 +02:00
0a86086967
Merge pull request #14468 from miri64/riotctrl_shell.gnrc/enh/doctests
riotctrl_shell.gnrc: add doctests as parsing examples and bugfixes
2020-07-09 13:12:58 +02:00
Martine S. Lenders
667ba11732
riotctrl_shell.gnrc: fix some more ping6 parsing errors
Found during integration of release tests:

- if the payload is too small, RTTs are not shown
- duplicates are now shown properly, if duplicates exist, the stats are
  now parsed instead of ignored
2020-07-09 13:03:08 +02:00
Martine S. Lenders
1cb0e09d88
tests: add capability to provide make command via environment
For those tests that don't use the tooling fixed in the previous commit
2020-07-09 10:59:01 +02:00
Martine S. Lenders
9b5b20e3b9
riotctrl_shell.gnrc: fix bug discovered by doctests 2020-07-08 17:48:25 +02:00
Martine S. Lenders
d5e3f8756e
riotctrl_shell.gnrc: add doctests as parsing examples 2020-07-08 17:47:56 +02:00
Martine S. Lenders
637c673e6a
riotctrl_shell.tests: rewrite Mock to detect missing check_term
`check_term` calls `run_term` of the `ctrl` if necessary.
2020-07-08 15:31:48 +02:00
Martine S. Lenders
b110f9e38c
riotctrl_shell.netif: add missing check_term decorator 2020-07-08 12:04:31 +02:00
Martine S. Lenders
da3fdd33d1
tools: add capability to provide make command via environment
Not all operating systems name the GNU Make `make`. FreeBSD e.g. uses a
different dialect of Make, that seems to be incompatible with GNU make.
(I wasn't able to get `make` run, but `gmake` works).

This allows our test scripts to be configured via the environment
variable `MAKE` to point to a different make command.
2020-07-08 09:36:36 +02:00
Martine S. Lenders
f8d23b4745
riotctrl_shell: activate doctests for pytest 2020-07-07 12:24:42 +02:00
Martine S. Lenders
1182f24b25
riotctrl_shell: provide netif interactions and parsers 2020-07-07 12:24:41 +02:00
ffbc16aafd
riotctrl_shell: fix riotctrl url in requirements.txt 2020-07-06 15:29:50 +02:00
Martine S. Lenders
bf5d66757a
riotctrl_shell: remove unneeded variables and imports 2020-07-04 12:18:29 +02:00
Martine S. Lenders
d11b5b2b54
riotctrl_shell: provide pktbuf interaction 2020-07-03 21:53:00 +02:00
Martine Lenders
98219e6746
riotctrl_shell: provide ping6 interaction 2020-07-03 21:53:00 +02:00
Martine Lenders
fa9deae489
riotctrl_shell: initial import of shell interaction riotctrl wrapper 2020-07-03 21:53:00 +02:00
Martine S. Lenders
aee9f09386
testrunner: use SIGKILL only as last resort
When the child has a clean-up step (closing files, killing
sub-processes, deleting operational files, etc.), this currently is not
executed by the test, as the `testrunner` just does a hard `SIGKILL`
for the child's PPID. This change makes this a `SIGTERM` and only uses
`SIGKILL` if there are still processes lingering a second after the
`SIGTERM`.
2020-04-28 19:42:07 +02:00
Leandro Lanzieri
98fd746656
dist/testrunner: Capture number of unittests that passed 2020-04-03 14:52:48 +02:00
fb643b348b
dist/testrunner: add common function to check unittests 2020-03-19 10:39:33 +01:00
a91c4bf7e6
dist/testrunner: add optional delay before opening serial
This option is null by default but is useful when used with boards exposing their stdio over USB
2020-03-18 10:53:17 +01:00
Francisco Molina
a31003a23c
tests: add interactive_sync adapted to shell 2020-03-17 17:23:27 +01:00
c6a2b39a0b
testrunner: allow setting custom delay before reset
On some boards, such as hifive1b, resetting right after flashing could crash the running firmware
2020-01-10 08:34:17 +01:00