From 0a3375ba33683e336d74ed8cc09fb273a4e07a76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= <gaetan.harter@fu-berlin.de> Date: Fri, 1 Jun 2018 17:38:58 +0200 Subject: [PATCH] tests: use RIOTTOOLS variable Add newly added tests --- tests/cb_mux/tests/01-run.py | 2 +- tests/cb_mux_bench/tests/01-run.py | 2 +- tests/pkg_tinycbor/tests/01-run.py | 3 +-- tests/thread_race/tests/01-run.py | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/cb_mux/tests/01-run.py b/tests/cb_mux/tests/01-run.py index d501e26601..969728f79a 100755 --- a/tests/cb_mux/tests/01-run.py +++ b/tests/cb_mux/tests/01-run.py @@ -39,6 +39,6 @@ def testfunc(child): if __name__ == "__main__": - sys.path.append(os.path.join(os.environ['RIOTBASE'], 'dist/tools/testrunner')) + sys.path.append(os.path.join(os.environ['RIOTTOOLS'], 'testrunner')) from testrunner import run sys.exit(run(testfunc)) diff --git a/tests/cb_mux_bench/tests/01-run.py b/tests/cb_mux_bench/tests/01-run.py index 23896a9dfe..1f8ac8bcd3 100755 --- a/tests/cb_mux_bench/tests/01-run.py +++ b/tests/cb_mux_bench/tests/01-run.py @@ -20,6 +20,6 @@ def testfunc(child): if __name__ == "__main__": - sys.path.append(os.path.join(os.environ['RIOTBASE'], 'dist/tools/testrunner')) + sys.path.append(os.path.join(os.environ['RIOTTOOLS'], 'testrunner')) from testrunner import run sys.exit(run(testfunc)) diff --git a/tests/pkg_tinycbor/tests/01-run.py b/tests/pkg_tinycbor/tests/01-run.py index 87ed1fce48..05dcbec1d2 100755 --- a/tests/pkg_tinycbor/tests/01-run.py +++ b/tests/pkg_tinycbor/tests/01-run.py @@ -16,7 +16,6 @@ def testfunc(child): if __name__ == "__main__": - sys.path.append(os.path.join(os.environ['RIOTBASE'], - 'dist/tools/testrunner')) + sys.path.append(os.path.join(os.environ['RIOTTOOLS'], 'testrunner')) from testrunner import run sys.exit(run(testfunc)) diff --git a/tests/thread_race/tests/01-run.py b/tests/thread_race/tests/01-run.py index de6faabb3c..33bc6ecaa0 100755 --- a/tests/thread_race/tests/01-run.py +++ b/tests/thread_race/tests/01-run.py @@ -21,6 +21,6 @@ def testfunc(child): if __name__ == "__main__": - sys.path.append(os.path.join(os.environ['RIOTBASE'], 'dist/tools/testrunner')) + sys.path.append(os.path.join(os.environ['RIOTTOOLS'], 'testrunner')) from testrunner import run sys.exit(run(testfunc)) -- GitLab