diff options
author | fanquake <fanquake@gmail.com> | 2021-09-10 13:45:30 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-09-10 13:45:44 +0800 |
commit | b65341555c14da3e8f907d0265eba1c4a3b2472b (patch) | |
tree | 1b4467be3e6e0b30fa4d78907025df973e982c15 /test | |
parent | d2dd1697cee9d6d0f13f9cb351bce84eaa4a72b4 (diff) | |
parent | c427a5800bb53208d30eeb03a73ab8be879e5f45 (diff) | |
download | bitcoin-b65341555c14da3e8f907d0265eba1c4a3b2472b.tar.xz |
Merge bitcoin/bitcoin#22926: doc: Set PYTHONUTF8=1 for functional tests on Windows
c427a5800bb53208d30eeb03a73ab8be879e5f45 doc: Set PYTHONUTF8=1 for functional tests on Windows (Hennadii Stepanov)
Pull request description:
The `PYTHONUTF8` environment variable is defined in [PEP 540](https://www.python.org/dev/peps/pep-0540/), and it is actually used in our CI: https://github.com/bitcoin/bitcoin/blob/5e3380b9f59481fc18e05b9d651c3c733abe4053/.cirrus.yml#L89
This PR documents such usage to avoid users' [errors](https://github.com/bitcoin/bitcoin/pull/22922#issuecomment-915511037).
ACKs for top commit:
MarcoFalke:
cr ACK c427a5800bb53208d30eeb03a73ab8be879e5f45
Tree-SHA512: 441b8cecfe47d548cfe403b0e1cd0aef25c1a70ff556434ead1f1e26372919931ac6f208a4ed6fd8dcca46e8709245e4fb06f95259a43c8e1221473ce1ee497b
Diffstat (limited to 'test')
-rw-r--r-- | test/README.md | 9 |
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.: |