From 4e7bfb65df25a978769496dc255ca6c7f5e7ee0d Mon Sep 17 00:00:00 2001 From: Alexandre Abadie <alexandre.abadie@inria.fr> Date: Tue, 11 Dec 2018 14:55:04 +0100 Subject: [PATCH] tests/bench_runtime_coreapis: globally import testrunner --- tests/bench_runtime_coreapis/tests/01-run.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/bench_runtime_coreapis/tests/01-run.py b/tests/bench_runtime_coreapis/tests/01-run.py index d741442230..9f78f46d1c 100755 --- a/tests/bench_runtime_coreapis/tests/01-run.py +++ b/tests/bench_runtime_coreapis/tests/01-run.py @@ -6,8 +6,8 @@ # General Public License v2.1. See the file LICENSE in the top level # directory for more details. -import os import sys +from testrunner import run # The default timeout is not enough for this test on some of the slower boards @@ -19,6 +19,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)) -- GitLab