aboutsummaryrefslogtreecommitdiff
path: root/test/README.md
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-09-09 00:19:46 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-09-09 00:19:46 +0300
commitc427a5800bb53208d30eeb03a73ab8be879e5f45 (patch)
tree24d3bb4780e8263919a5d3f8dc6161c678cb0f53 /test/README.md
parent5e3380b9f59481fc18e05b9d651c3c733abe4053 (diff)
downloadbitcoin-c427a5800bb53208d30eeb03a73ab8be879e5f45.tar.xz
doc: Set PYTHONUTF8=1 for functional tests on Windows
Diffstat (limited to 'test/README.md')
-rw-r--r--test/README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/README.md b/test/README.md
index 412d5ae106..acd68d8d8f 100644
--- a/test/README.md
+++ b/test/README.md
@@ -26,13 +26,20 @@ See [/doc/fuzzing.md](/doc/fuzzing.md)
### Functional tests
-#### Dependencies
+#### Dependencies and prerequisites
The ZMQ functional test requires a python ZMQ library. To install it:
- on Unix, run `sudo apt-get install python3-zmq`
- 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
Individual tests can be run by directly calling the test script, e.g.: