Fine-tune pylint and debugger test scripts (#3012)
- Added pylint and python-serial to apt-get-install-deps.sh. - Make Jerry debugger import python serial module only if needed. - Check-pylint.sh warns if pylint isn't installed. JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác [email protected]
This commit is contained in:
1 parent
ff2e75ed2e
commit
54a5a650aa
3 files changed
+12
-2
No files matched your search
@@ -27,7 +27,6 @@ import jerry_client_main
|
||||
from jerry_client_websocket import WebSocket
|
||||
from jerry_client_rawpacket import RawPacket
|
||||
from jerry_client_tcp import Socket
|
||||
from jerry_client_serial import Serial
|
||||
|
||||
def write(string):
|
||||
print(string, end='')
|
||||
@@ -268,6 +267,7 @@ def main():
|
||||
|
||||
protocol = Socket(address)
|
||||
elif args.protocol == "serial":
|
||||
from jerry_client_serial import Serial
|
||||
protocol = Serial(args.serial_config)
|
||||
else:
|
||||
print("Unsupported transmission protocol")
|
||||
|
||||
Reference in new issue
Block a user