mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests: move testrunner import up
Testrunner is now impported as a package found in PYTHONPATH, so import can be placed at the top of the script as usual.
This commit is contained in:
parent
f9824abedb
commit
3893f04d00
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -18,5 +19,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc, timeout=30))
|
sys.exit(run(testfunc, timeout=30))
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
# Biggest step takes 135 seconds on wn430
|
# Biggest step takes 135 seconds on wn430
|
||||||
TIMEOUT = 150
|
TIMEOUT = 150
|
||||||
@ -25,5 +25,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -21,5 +22,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -38,5 +39,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -19,5 +20,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
ACCEPTED_ERROR = 20
|
ACCEPTED_ERROR = 20
|
||||||
|
|
||||||
@ -49,5 +50,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -25,5 +26,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -21,5 +22,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -33,5 +34,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -16,5 +17,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
ACCEPTED_ERROR = 20
|
ACCEPTED_ERROR = 20
|
||||||
|
|
||||||
@ -29,5 +30,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
how_many = 100
|
how_many = 100
|
||||||
|
|
||||||
@ -23,5 +24,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
# It takes 35 seconds on wsn430, so add some margin
|
# It takes 35 seconds on wsn430, so add some margin
|
||||||
TIMEOUT = 45
|
TIMEOUT = 45
|
||||||
@ -18,5 +19,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -9,5 +10,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -38,5 +39,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -16,5 +17,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -137,5 +138,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc, timeout=1, traceback=True))
|
sys.exit(run(testfunc, timeout=1, traceback=True))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -75,5 +76,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -48,5 +49,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -52,5 +53,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -9,5 +10,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -17,5 +18,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -14,5 +15,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def expect_unary(child):
|
def expect_unary(child):
|
||||||
@ -38,5 +39,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
# Float and print operations are slow on boards
|
# Float and print operations are slow on boards
|
||||||
# Got 80 iotlab-m3 and 250 on samr21-xpro
|
# Got 80 iotlab-m3 and 250 on samr21-xpro
|
||||||
@ -18,5 +19,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def _ipv6_tests(code):
|
def _ipv6_tests(code):
|
||||||
@ -96,5 +97,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def _reuse_tests(code):
|
def _reuse_tests(code):
|
||||||
@ -90,5 +91,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc, timeout=60))
|
sys.exit(run(testfunc, timeout=60))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def _reuse_tests(code):
|
def _reuse_tests(code):
|
||||||
@ -108,5 +109,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -14,5 +15,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -9,5 +10,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
thread_prio = {
|
thread_prio = {
|
||||||
3: 6,
|
3: 6,
|
||||||
@ -30,5 +32,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -22,5 +23,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -19,5 +20,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -14,5 +15,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -39,5 +40,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc, timeout=1))
|
sys.exit(run(testfunc, timeout=1))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -39,5 +40,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc, timeout=1))
|
sys.exit(run(testfunc, timeout=1))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -32,5 +33,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc, timeout=10))
|
sys.exit(run(testfunc, timeout=10))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -21,5 +22,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -29,5 +30,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
NB_TESTS = 3
|
NB_TESTS = 3
|
||||||
|
|
||||||
@ -12,5 +13,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
class TestFailed(Exception):
|
class TestFailed(Exception):
|
||||||
@ -30,5 +31,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import testrunner
|
sys.exit(run(testfunc))
|
||||||
sys.exit(testrunner.run(testfunc))
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -8,5 +9,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -12,5 +13,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc, timeout=60))
|
sys.exit(run(testfunc, timeout=60))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -12,5 +13,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc, timeout=60))
|
sys.exit(run(testfunc, timeout=60))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -9,5 +10,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -14,5 +15,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
EXPECTED_STDOUT = (
|
EXPECTED_STDOUT = (
|
||||||
'00| |',
|
'00| |',
|
||||||
@ -124,5 +125,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
EXPECTED_STDOUT = (
|
EXPECTED_STDOUT = (
|
||||||
'ucg: UCG_MSG_DRAW_PIXEL (128)',
|
'ucg: UCG_MSG_DRAW_PIXEL (128)',
|
||||||
@ -60,5 +61,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -20,5 +21,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def test1(term):
|
def test1(term):
|
||||||
@ -97,5 +98,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
US_PER_SEC = 1000000
|
US_PER_SEC = 1000000
|
||||||
EXTERNAL_JITTER = 0.15
|
EXTERNAL_JITTER = 0.15
|
||||||
@ -45,5 +46,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
PS_EXPECTED = (
|
PS_EXPECTED = (
|
||||||
('\tpid | name | state Q | pri | stack ( used) | '
|
('\tpid | name | state Q | pri | stack ( used) | '
|
||||||
@ -61,5 +62,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
import math
|
import math
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
FACTORIAL_PARAM = 6
|
FACTORIAL_PARAM = 6
|
||||||
|
|
||||||
@ -17,5 +18,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -19,5 +20,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -12,5 +13,4 @@ def testfunc(child):
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
# This test can take some time to complete when testing on hardware (e.g
|
# This test can take some time to complete when testing on hardware (e.g
|
||||||
# on samr21-xpro) and the default timeout (10s) is not enough.
|
# on samr21-xpro) and the default timeout (10s) is not enough.
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc, timeout=60))
|
sys.exit(run(testfunc, timeout=60))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -16,5 +17,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def _check_test_output(child):
|
def _check_test_output(child):
|
||||||
@ -35,5 +36,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
# Author: Martin Elshuber <martin.elshuber@theobroma-systems.com>
|
# Author: Martin Elshuber <martin.elshuber@theobroma-systems.com>
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
thread_prio = {
|
thread_prio = {
|
||||||
3: 6,
|
3: 6,
|
||||||
@ -44,5 +46,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -65,5 +66,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
EXPECTED_HELP = (
|
EXPECTED_HELP = (
|
||||||
'Command Description',
|
'Command Description',
|
||||||
@ -55,5 +57,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -38,5 +39,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,8 +8,9 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import socket
|
import socket
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
IEEE802154_FRAME_LEN_MAX = 127
|
IEEE802154_FRAME_LEN_MAX = 127
|
||||||
ZEP_DATA_HEADER_SIZE = 32
|
ZEP_DATA_HEADER_SIZE = 32
|
||||||
@ -53,14 +54,12 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import testrunner
|
|
||||||
|
|
||||||
os.environ['TERMFLAGS'] = "-z [%s]:%d,[%s]:%d" % (
|
os.environ['TERMFLAGS'] = "-z [%s]:%d,[%s]:%d" % (
|
||||||
zep_params['local_addr'], zep_params['local_port'],
|
zep_params['local_addr'], zep_params['local_port'],
|
||||||
zep_params['remote_addr'], zep_params['remote_port'])
|
zep_params['remote_addr'], zep_params['remote_port'])
|
||||||
s = socket.socket(family=socket.AF_INET6, type=socket.SOCK_DGRAM)
|
s = socket.socket(family=socket.AF_INET6, type=socket.SOCK_DGRAM)
|
||||||
s.bind(("::", zep_params['remote_port']))
|
s.bind(("::", zep_params['remote_port']))
|
||||||
res = testrunner.run(testfunc, timeout=1, echo=True, traceback=True)
|
res = run(testfunc, timeout=1, echo=True, traceback=True)
|
||||||
s.close()
|
s.close()
|
||||||
if (res == 0):
|
if (res == 0):
|
||||||
print("Run tests successful")
|
print("Run tests successful")
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
import sys
|
import sys
|
||||||
import calendar
|
import calendar
|
||||||
import datetime
|
import datetime
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def _check_help(child):
|
def _check_help(child):
|
||||||
@ -119,5 +120,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -17,5 +18,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -27,5 +28,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -11,5 +12,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -10,5 +11,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -13,5 +14,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -15,5 +16,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -19,5 +20,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -20,5 +21,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -19,5 +20,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import testrunner
|
sys.exit(run(testfunc, timeout=1, echo=True, traceback=True))
|
||||||
sys.exit(testrunner.run(testfunc, timeout=1, echo=True, traceback=True))
|
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -24,5 +25,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -14,5 +15,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc, timeout=120))
|
sys.exit(run(testfunc, timeout=120))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -21,5 +22,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -26,5 +27,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user