tests/bench_sizeof_coretypes: use testrunner from pylib path

This commit is contained in:
smlng 2018-09-25 21:52:01 +02:00
parent 852c4baf00
commit 368ee45986

View File

@ -6,8 +6,8 @@
# General Public License v2.1. See the file LICENSE in the top level # General Public License v2.1. See the file LICENSE in the top level
# directory for more details. # directory for more details.
import os
import sys import sys
from testrunner import run
def testfunc(child): def testfunc(child):
@ -15,6 +15,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))