FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix wasm test returncode by ianthomas23 · Pull Request #100 · QuantStack/git2cpp · GitHub

Repository navigation

Fix wasm test returncode - #100

Merged
JohanMabille merged 2 commits into
mainfrom
fix-wasm-test-returncode
Feb 18, 2026
Merged

JohanMabille merged 2 commits into
mainfrom
fix-wasm-test-returncode

Conversation

Copy link
Copy Markdown
Member

This fixes the problem with incorrect returncode of subprocess.run calls in wasm tests. The problem was actually in the teardown of the subprocess.run calls in the wasm testing framework, and not a wasm build issue as initially suspected. So now we no longer need to exclude some returncode checks in wasm tests.

Also implemented parents=True argument to Path.mkdir() in wasm tests as this is used in test_rm.py.

Copy link
Copy Markdown
Member Author

Here the Test WebAssembly CI run: https://github.com/QuantStack/git2cpp/actions/runs/22138447532/job/63996152045

which shows all the tests passing:

test_status.py::test_status_new_file[chromium---long---short] PASSED     [ 99%]
test_status.py::test_status_add_file[chromium---long---short] PASSED     [100%]
==================================== PASSES ====================================
======================= 124 passed in 266.67s (0:04:26) ========================

JohanMabille merged commit 266f4cf into main Feb 18, 2026
3 checks passed
JohanMabille deleted the fix-wasm-test-returncode branch February 18, 2026 16:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL