Commit Graph

12 Commits

Author SHA1 Message Date
merge-script
42f97c542d Merge bitcoin/bitcoin#34705: kernel: Use fs:: namespace and unicode path in kernel tests
89386e700e kernel: Use fs:: namespace and unicode path in kernel tests (sedited)

Pull request description:

  Add support for unicode characters in paths to the kernel tests by using our fs:: wrappers for std::filesystem calls and adding the windows application manifest to the binary. This exercises their handling through the kernel API.

ACKs for top commit:
  hebasto:
    ACK 89386e700e.
  w0xlt:
    ACK 89386e700e

Tree-SHA512: 7b541f482d84a66c89eec63aea0e7f7626bbbd62082ad7a7fb2c7a517296c291a6ff301c628e5e9e1d7b850ead89005141481a2bfd06d8a9081622e32f7340cc
2026-03-09 12:24:54 +00:00
sedited
89386e700e kernel: Use fs:: namespace and unicode path in kernel tests
Add support for unicode characters in paths to the kernel tests by using
our fs:: wrappers for std::filesystem calls and adding the windows
application manifest to the binary. This exercises their handling
through the kernel API.
2026-03-04 16:03:39 +01:00
merge-script
2eaf701bc0 Merge bitcoin/bitcoin#34679: ci: Download script_assets_test.json for Windows CI
fa7612f253 ci: Download script_assets_test.json for Windows CI (MarcoFalke)
7777a13306 test: Move Fetching-print to download_from_url util (MarcoFalke)
faf96286ce test: move-only download_from_url to stand-alone util file (MarcoFalke)
fa0cc1c5a4 test: [doc] Remove outdated comment (MarcoFalke)

Pull request description:

  Fixes https://github.com/bitcoin/bitcoin/issues/34670 by adding a new `download_script_assets` Python helper and calling it.

ACKs for top commit:
  hebasto:
    re-ACK fa7612f253.
  janb84:
    re ACK fa7612f253
  hodlinator:
    utACK fa7612f253

Tree-SHA512: 73c2cb3a31f231174566fb880b82de92734b1679ef000f8d793d774b7e5f5a7b8c7994a3998ca78821115bdc80c16aada69cf596e92c083cf9b9a95c7cee16ea
2026-03-04 10:39:47 +00:00
MarcoFalke
fa7612f253 ci: Download script_assets_test.json for Windows CI 2026-02-26 17:59:34 +01:00
MarcoFalke
fae31b1e2f ci: [refactor] Move github_import_vs_env to python script
Also, change the yaml anchor name and the step name.
Also, small refactors while touching the files.
2026-02-17 22:06:39 +01:00
MarcoFalke
fa2719ab1b ci: [refactor] Move run_unit_tests to ci-windows-cross.py 2026-02-10 14:25:31 +01:00
MarcoFalke
fa99ba5f14 ci: Set PREVIOUS_RELEASES_DIR env var in ci-windows-cross.py
This uses the workspace instead of the runner.temp, so that it is easier
to reproduce the CI locally.
2026-02-10 14:24:29 +01:00
MarcoFalke
fa4a1cab6c ci: Move run_functional_tests into ci-windows-cross.py
This is mostly a refactor, except for putting the temp dirs into
Path.cwd(), which makes running this locally easier.

Note, the use of process_cpu_count() is intentional. It was only added
in Python 3.13, according to
https://docs.python.org/3/library/os.html#os.process_cpu_count .

However, Python 3.13 is also the minimum required version on Windows,
according to
https://github.com/bitcoin/bitcoin/issues/29897#issuecomment-2940318094
to avoid intermittent test failures.
2026-02-10 14:24:02 +01:00
MarcoFalke
1111108685 ci: [refactor] Move pyzmq install and get_previous_releases into ci-windows-cross.py 2026-02-10 14:22:58 +01:00
MarcoFalke
fac9c7bd66 ci: [refactor] Move config.ini rewrite to ci-windows-cross.py 2026-02-10 14:21:54 +01:00
MarcoFalke
faf7389466 ci: Move check_manifests step to ci-windows-cross.py
This is almost a refactor. The only change is putting the
bitcoind.manifest into a different folder.
2026-02-10 11:16:53 +01:00
MarcoFalke
fa674d55df ci: [refactor] Move print_version step into ci-windows-cross.py helper 2026-02-10 10:54:55 +01:00