tests/run-tests: Support esp32 as a target for running the test suite.

This commit is contained in:
Ayke van Laethem 2018-01-02 05:55:22 +01:00 committed by Damien George
parent 89b1c4a60c
commit 5eb198c441
1 changed files with 2 additions and 2 deletions

View File

@ -516,7 +516,7 @@ the last matching regex is used:
cmd_parser.add_argument('files', nargs='*', help='input test files')
args = cmd_parser.parse_args()
EXTERNAL_TARGETS = ('pyboard', 'wipy', 'esp8266', 'minimal')
EXTERNAL_TARGETS = ('pyboard', 'wipy', 'esp8266', 'esp32', 'minimal')
if args.target == 'unix' or args.list_tests:
pyb = None
elif args.target in EXTERNAL_TARGETS:
@ -531,7 +531,7 @@ the last matching regex is used:
if args.target == 'pyboard':
# run pyboard tests
test_dirs = ('basics', 'micropython', 'float', 'misc', 'stress', 'extmod', 'pyb', 'pybnative', 'inlineasm')
elif args.target in ('esp8266', 'minimal'):
elif args.target in ('esp8266', 'esp32', 'minimal'):
test_dirs = ('basics', 'micropython', 'float', 'misc', 'extmod')
elif args.target == 'wipy':
# run WiPy tests