Skip to content
Snippets Groups Projects
Commit 2850e7cd authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests/run-tests: Add esp8266 target.

parent dc587a36
No related branches found
No related tags found
No related merge requests found
...@@ -341,7 +341,7 @@ def main(): ...@@ -341,7 +341,7 @@ def main():
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()
if args.target == 'pyboard' or args.target == 'wipy': if args.target in ('pyboard', 'wipy', 'esp8266'):
import pyboard import pyboard
pyb = pyboard.Pyboard(args.device, args.baudrate, args.user, args.password) pyb = pyboard.Pyboard(args.device, args.baudrate, args.user, args.password)
pyb.enter_raw_repl() pyb.enter_raw_repl()
...@@ -355,6 +355,8 @@ def main(): ...@@ -355,6 +355,8 @@ def main():
if args.target == 'pyboard': if args.target == 'pyboard':
# run pyboard tests # run pyboard tests
test_dirs = ('basics', 'micropython', 'float', 'misc', 'extmod', 'pyb', 'pybnative', 'inlineasm') test_dirs = ('basics', 'micropython', 'float', 'misc', 'extmod', 'pyb', 'pybnative', 'inlineasm')
if args.target == 'esp8266':
test_dirs = ('basics', 'micropython', 'float', 'misc', 'extmod')
elif args.target == 'wipy': elif args.target == 'wipy':
# run WiPy tests # run WiPy tests
test_dirs = ('basics', 'micropython', 'misc', 'extmod', 'wipy') test_dirs = ('basics', 'micropython', 'misc', 'extmod', 'wipy')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment