tests/run-tests: Support esp32 as a target for running the test suite.
This commit is contained in:
parent
89b1c4a60c
commit
5eb198c441
@ -516,7 +516,7 @@ the last matching regex is used:
|
|||||||
cmd_parser.add_argument('files', nargs='*', help='input test files')
|
cmd_parser.add_argument('files', nargs='*', help='input test files')
|
||||||
args = cmd_parser.parse_args()
|
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:
|
if args.target == 'unix' or args.list_tests:
|
||||||
pyb = None
|
pyb = None
|
||||||
elif args.target in EXTERNAL_TARGETS:
|
elif args.target in EXTERNAL_TARGETS:
|
||||||
@ -531,7 +531,7 @@ the last matching regex is used:
|
|||||||
if args.target == 'pyboard':
|
if args.target == 'pyboard':
|
||||||
# run pyboard tests
|
# run pyboard tests
|
||||||
test_dirs = ('basics', 'micropython', 'float', 'misc', 'stress', 'extmod', 'pyb', 'pybnative', 'inlineasm')
|
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')
|
test_dirs = ('basics', 'micropython', 'float', 'misc', 'extmod')
|
||||||
elif args.target == 'wipy':
|
elif args.target == 'wipy':
|
||||||
# run WiPy tests
|
# run WiPy tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user