Page MenuHomePhabricator

tests: Make it possible to run functional tests on Windows
ClosedPublic

Authored by Fabien on May 5 2020, 14:32.

Details

Summary

Backport of core PR14007.

Depends on D5958.

Test Plan
ninja check-functional

The output should be all green. Not blue.

Build for windows, then:

  • Install python if needed and add it to your path
  • If you copy the project to some place, you need at least the src,

test, share and your build directories.

  • Copy the test_runner.py to the build directory to replace the symlink
  • Update the config.ini file to match you paths

Then in a powershell:

$env:PYTHONIOENCODING="utf-8"
python .\test\functional\test_runner.py --force

Most of the tests should pass, but still far from all. More backports
coming.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.May 5 2020, 14:32

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.May 5 2020, 19:35