You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: test/README.md
+40-5
Original file line number
Diff line number
Diff line change
@@ -20,16 +20,19 @@ It also tests usage with `bitcoind`.
20
20
-`test_jade.py` tests the command line interface and Blockstream Jade implementation.
21
21
It uses the [Espressif fork of the Qemu emulator](https://github.com/espressif/qemu.git).
22
22
It also tests usage with `bitcoind`.
23
+
-`test_bitbox02.py` tests the command line interface and the BitBox02 implementation.
24
+
It uses the [BitBox02 simulator](https://github.com/BitBoxSwiss/bitbox02-firmware/tree/master/test/simulator).
25
+
It also tests usage with `bitcoind`.
23
26
24
-
`setup_environment.sh` will build the Trezor emulator, the Coldcard simulator, the Keepkey emulator, the Digital Bitbox simulator, the Jade emulator, and `bitcoind`.
25
-
if run in the `test/` directory, these will be built in `work/test/trezor-firmware`, `work/test/firmware`, `work/test/keepkey-firmware`, `work/test/mcu`, and `work/test/bitcoin` respectively.
27
+
`setup_environment.sh` will build the Trezor emulator, the Coldcard simulator, the Keepkey emulator, the Digital Bitbox simulator, the Jade emulator, the BitBox02 simulator and `bitcoind`.
28
+
if run in the `test/` directory, these will be built in `work/test/trezor-firmware`, `work/test/firmware`, `work/test/keepkey-firmware`, `work/test/mcu`, `work/test/bitbox02-firmware`and `work/test/bitcoin` respectively.
26
29
In order to build each simulator/emulator, you will need to use command line arguments.
27
-
These are `--trezor-1`, `--trezor-t`, `--coldcard`, `--keepkey`, `--bitbox01`, `--jade`, and `--bitcoind`.
30
+
These are `--trezor-1`, `--trezor-t`, `--coldcard`, `--keepkey`, `--bitbox01`, `--jade`, `--bitbox02`and `--bitcoind`.
28
31
If an environment variable is not present or not set, then the simulator/emulator or bitcoind that it guards will not be built.
29
32
30
-
`run_tests.py` runs the tests. If run from the `test/` directory, it will be able to find the Trezor emulator, Coldcard simulator, Keepkey emulator, Digital Bitbox simulator, Jade emulator, and bitcoind.
33
+
`run_tests.py` runs the tests. If run from the `test/` directory, it will be able to find the Trezor emulator, Coldcard simulator, Keepkey emulator, Digital Bitbox simulator, Jade emulator, BitBox02 simulator and bitcoind.
31
34
Otherwise the paths to those will need to be specified on the command line.
32
-
`test_trezor.py`, `test_coldcard.py`, `test_keepkey.py`, `test_jade.py`, and `test/test_digitalbitbox.py` can be disabled.
35
+
`test_trezor.py`, `test_coldcard.py`, `test_keepkey.py`, `test_jade.py`, `test_bitbox02.py`and `test/test_digitalbitbox.py` can be disabled.
33
36
34
37
If you are building the Trezor emulator, the Coldcard simulator, the Keepkey emulator, the Jade emulator, the Digital Bitbox simulator, and `bitcoind` without `setup_environment.sh`, then you will need to make `work/` inside of `test/`.
35
38
@@ -329,6 +332,38 @@ You also have to install its python dependencies
329
332
pip install -r requirements.txt
330
333
```
331
334
335
+
## BitBox02 Simulator
336
+
337
+
### Dependencies
338
+
339
+
In order to build the BitBox02 simulator, the following packages will need to be installed:
0 commit comments