Skip to content

Commit 2850e7c

Browse files
committed
tests/run-tests: Add esp8266 target.
1 parent dc587a3 commit 2850e7c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/run-tests

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def main():
341341
cmd_parser.add_argument('files', nargs='*', help='input test files')
342342
args = cmd_parser.parse_args()
343343

344-
if args.target == 'pyboard' or args.target == 'wipy':
344+
if args.target in ('pyboard', 'wipy', 'esp8266'):
345345
import pyboard
346346
pyb = pyboard.Pyboard(args.device, args.baudrate, args.user, args.password)
347347
pyb.enter_raw_repl()
@@ -355,6 +355,8 @@ def main():
355355
if args.target == 'pyboard':
356356
# run pyboard tests
357357
test_dirs = ('basics', 'micropython', 'float', 'misc', 'extmod', 'pyb', 'pybnative', 'inlineasm')
358+
if args.target == 'esp8266':
359+
test_dirs = ('basics', 'micropython', 'float', 'misc', 'extmod')
358360
elif args.target == 'wipy':
359361
# run WiPy tests
360362
test_dirs = ('basics', 'micropython', 'misc', 'extmod', 'wipy')

0 commit comments

Comments
 (0)