mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-08-06 06:54:49 +02:00
doc: Set PYTHONUTF8=1 for functional tests on Windows
This commit is contained in:
parent
5e3380b9f5
commit
c427a5800b
@ -26,13 +26,20 @@ See [/doc/fuzzing.md](/doc/fuzzing.md)
|
|||||||
|
|
||||||
### Functional tests
|
### Functional tests
|
||||||
|
|
||||||
#### Dependencies
|
#### Dependencies and prerequisites
|
||||||
|
|
||||||
The ZMQ functional test requires a python ZMQ library. To install it:
|
The ZMQ functional test requires a python ZMQ library. To install it:
|
||||||
|
|
||||||
- on Unix, run `sudo apt-get install python3-zmq`
|
- on Unix, run `sudo apt-get install python3-zmq`
|
||||||
- on mac OS, run `pip3 install pyzmq`
|
- on mac OS, run `pip3 install pyzmq`
|
||||||
|
|
||||||
|
|
||||||
|
On Windows the `PYTHONUTF8` environment variable must be set to 1:
|
||||||
|
|
||||||
|
```cmd
|
||||||
|
set PYTHONUTF8=1
|
||||||
|
```
|
||||||
|
|
||||||
#### Running the tests
|
#### Running the tests
|
||||||
|
|
||||||
Individual tests can be run by directly calling the test script, e.g.:
|
Individual tests can be run by directly calling the test script, e.g.:
|
||||||
|
Loading…
Reference in New Issue
Block a user