mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
CI: raise import error instead of exit for ble tools
This commit is contained in:
parent
89f8e19850
commit
5d1be3bb8b
@ -29,7 +29,7 @@ try:
|
||||
from gi.repository import GLib
|
||||
except ImportError as e:
|
||||
if 'linux' not in sys.platform:
|
||||
sys.exit("Error: Only supported on Linux platform")
|
||||
raise e
|
||||
print(e)
|
||||
print("Install packages `libgirepository1.0-dev gir1.2-gtk-3.0 libcairo2-dev libdbus-1-dev libdbus-glib-1-dev` for resolving the issue")
|
||||
print("Run `pip install -r $IDF_PATH/tools/ble/requirements.txt` for resolving the issue")
|
||||
|
@ -25,7 +25,7 @@ try:
|
||||
import dbus.service
|
||||
except ImportError as e:
|
||||
if 'linux' not in sys.platform:
|
||||
sys.exit("Error: Only supported on Linux platform")
|
||||
raise e
|
||||
print(e)
|
||||
print("Install packages `libgirepository1.0-dev gir1.2-gtk-3.0 libcairo2-dev libdbus-1-dev libdbus-glib-1-dev` for resolving the issue")
|
||||
print("Run `pip install -r $IDF_PATH/tools/ble/requirements.txt` for resolving the issue")
|
||||
|
@ -25,7 +25,7 @@ try:
|
||||
import dbus.service
|
||||
except ImportError as e:
|
||||
if 'linux' not in sys.platform:
|
||||
sys.exit("Error: Only supported on Linux platform")
|
||||
raise e
|
||||
print(e)
|
||||
print("Install packages `libgirepository1.0-dev gir1.2-gtk-3.0 libcairo2-dev libdbus-1-dev libdbus-glib-1-dev` for resolving the issue")
|
||||
print("Run `pip install -r $IDF_PATH/tools/ble/requirements.txt` for resolving the issue")
|
||||
|
Loading…
Reference in New Issue
Block a user