mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
f2bda2bb69
tests/pkg_lora-serialization: Add test application
17 lines
276 B
Python
Executable File
17 lines
276 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
from testrunner import run
|
|
|
|
NB_TESTS = 2
|
|
|
|
|
|
def testfunc(child):
|
|
for test in range(NB_TESTS):
|
|
child.expect_exact('Test {}'.format(test + 1))
|
|
child.expect('SUCCESS')
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(run(testfunc))
|