Skip to content
Snippets Groups Projects
Unverified Commit cb7814e6 authored by Alexandre Abadie's avatar Alexandre Abadie Committed by GitHub
Browse files

Merge pull request #10830 from cladmi/pr/testrunner/fixup

testrunner: fix script when RIOTBASE is not defined
parents fc1badde 921afa08
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,9 @@ from traceback import extract_tb, print_tb
import pexpect
PEXPECT_PATH = os.path.dirname(pexpect.__file__)
RIOTBASE = os.environ['RIOTBASE'] or \
os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", ".."))
RIOTBASE = (os.environ.get('RIOTBASE') or
os.path.abspath(os.path.join(os.path.dirname(__file__),
"..", "..", "..")))
# Setting an empty 'TESTRUNNER_START_DELAY' environment variable use the
# default value (3)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment