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:
Alexandre Abadie 2020-01-08 10:56:43 +01:00 committed by GitHub
commit 7480642776
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -9,8 +9,8 @@
# Tell the lua interpreter running in riot to load some modules and print
# the value of a variable inside that module.
import os
import sys
from testrunner import run
MODULE_QUERIES = [
("m1", "a", "Quando uma lua"),
@ -31,6 +31,4 @@ def test(child):
if __name__ == "__main__":
sys.path.append(os.path.join(os.environ['RIOTTOOLS'], 'testrunner'))
from testrunner import run
sys.exit(run(test))

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3
import os
import sys
from testrunner import run
def testfunc(child):
@ -11,6 +11,4 @@ def testfunc(child):
if __name__ == "__main__":
sys.path.append(os.path.join(os.environ['RIOTTOOLS'], 'testrunner'))
from testrunner import run
sys.exit(run(testfunc))