tests/run-tests: Fix logic when selecting test-dirs for a given target.

This commit is contained in:
Damien George 2016-03-07 12:00:16 +00:00
parent ce3beb1672
commit d964873e56

View File

@ -363,7 +363,7 @@ def main():
if args.target == 'pyboard':
# run pyboard tests
test_dirs = ('basics', 'micropython', 'float', 'misc', 'extmod', 'pyb', 'pybnative', 'inlineasm')
if args.target == 'esp8266':
elif args.target == 'esp8266':
test_dirs = ('basics', 'micropython', 'float', 'misc', 'extmod')
elif args.target == 'wipy':
# run WiPy tests