Merge pull request #13043 from aabadie/pr/tests/pkg_cmsis_tests_cleanup
tests: cleanup tests/lua_loader, tests/pkg_cmsis-dsp Python test scripts
This commit is contained in:
commit
7480642776
@ -9,8 +9,8 @@
|
|||||||
# Tell the lua interpreter running in riot to load some modules and print
|
# Tell the lua interpreter running in riot to load some modules and print
|
||||||
# the value of a variable inside that module.
|
# the value of a variable inside that module.
|
||||||
|
|
||||||
import os
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
MODULE_QUERIES = [
|
MODULE_QUERIES = [
|
||||||
("m1", "a", "Quando uma lua"),
|
("m1", "a", "Quando uma lua"),
|
||||||
@ -31,6 +31,4 @@ def test(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
sys.path.append(os.path.join(os.environ['RIOTTOOLS'], 'testrunner'))
|
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(test))
|
sys.exit(run(test))
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import os
|
|
||||||
import sys
|
import sys
|
||||||
|
from testrunner import run
|
||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
@ -11,6 +11,4 @@ def testfunc(child):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
sys.path.append(os.path.join(os.environ['RIOTTOOLS'], 'testrunner'))
|
|
||||||
from testrunner import run
|
|
||||||
sys.exit(run(testfunc))
|
sys.exit(run(testfunc))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user