|
|
|
@ -21,7 +21,7 @@ docker pull ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest
|
|
|
|
|
cd <your app repository>
|
|
|
|
|
|
|
|
|
|
docker run --user "$(id -u)":"$(id -g)" --rm -ti -v "$(realpath .):/app" --privileged -v "/dev/bus/usb:/dev/bus/usb" ledger-app-builder-lite:latest
|
|
|
|
|
make clean && make BOLOS_SDK=$<device>_SDK # replace <device> with one of [NANOS, NANOX, NANOSP, STAX]
|
|
|
|
|
make clean && make BOLOS_SDK=$<device>_SDK # replace <device> with one of [NANOS, NANOX, NANOSP, STAX, FLEX]
|
|
|
|
|
exit
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@ -45,7 +45,7 @@ docker pull ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest
|
|
|
|
|
cd app-<appname>/
|
|
|
|
|
|
|
|
|
|
docker run --user "$(id -u)":"$(id -g)" --rm -ti -v "$(realpath .):/app" --privileged -v "/dev/bus/usb:/dev/bus/usb" ledger-app-builder-lite:latest
|
|
|
|
|
make clean && make BOLOS_SDK=$<device>_SDK load # replace <device> with one of [NANOS, NANOX, NANOSP, STAX]
|
|
|
|
|
make clean && make BOLOS_SDK=$<device>_SDK load # replace <device> with one of [NANOS, NANOX, NANOSP, STAX, FLEX]
|
|
|
|
|
exit
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@ -73,7 +73,7 @@ Custom pytest options
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
--full Run full tests
|
|
|
|
|
--device <device> Run the test on the specified device [nanos,nanox,nanosp,stax,all]. This parameter is mandatory
|
|
|
|
|
--device <device> Run the test on the specified device [nanos,nanox,nanosp,stax,flex,all]. This parameter is mandatory
|
|
|
|
|
--backend <backend> Run the tests against the backend [speculos, ledgercomm, ledgerwallet]. Speculos is the default
|
|
|
|
|
--display On Speculos, enables the display of the app screen using QT
|
|
|
|
|
--golden_run Pn Speculos, screen comparison functions will save the current screen instead of comparing
|
|
|
|
|