Skip to content

Conversation

@Flamefire
Copy link
Collaborator

Improve tests so they pass on Appveyor Cygwin again

@Flamefire Flamefire force-pushed the test-improvement branch 4 times, most recently from 9291940 to 8f99a63 Compare October 21, 2025 09:28
@codecov
Copy link

codecov bot commented Oct 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.93%. Comparing base (38dda57) to head (2690f0c).
⚠️ Report is 16 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #267      +/-   ##
===========================================
+ Coverage    95.76%   95.93%   +0.17%     
===========================================
  Files          119      119              
  Lines        10331    10370      +39     
===========================================
+ Hits          9893     9948      +55     
+ Misses         438      422      -16     
Files with missing lines Coverage Δ
include/boost/locale/generic_codecvt.hpp 97.57% <100.00%> (ø)
src/std/codecvt.cpp 100.00% <ø> (ø)
src/std/std_backend.cpp 92.45% <100.00%> (+1.36%) ⬆️
test/test_encoding.cpp 99.31% <100.00%> (+0.02%) ⬆️
test/test_formatting.cpp 100.00% <100.00%> (ø)
test/test_posix_formatting.cpp 100.00% <100.00%> (ø)
test/test_std_convert.cpp 100.00% <100.00%> (ø)
test/test_std_formatting.cpp 100.00% <100.00%> (ø)
test/test_stream_io.cpp 100.00% <100.00%> (ø)
test/test_winapi_formatting.cpp 100.00% <100.00%> (ø)

... and 12 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 38dda57...2690f0c. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Flamefire Flamefire force-pushed the test-improvement branch 12 times, most recently from f7aa74e to 75d231a Compare October 24, 2025 16:42
@Flamefire Flamefire force-pushed the test-improvement branch 7 times, most recently from a6d3c98 to 7651077 Compare October 28, 2025 14:30
Handle that the same as for native Windows.
Reason is an issue discovered converting an UTF-8 sequence of 1000x U+2008A to wchar_t (UTF-16):
UTF-8: "\xF0\xA0\x82\x8A"
The correct result are 1000x L"\xD840\xDC8A"
The first 255 pairs are correct (1020 input bytes consumed) but the low
surrogate of the 256th pair becomes `0xDC82` hinting it repeats the
second last byte (index 1023) instead of reading the correct one.
@Flamefire Flamefire merged commit 57cda42 into develop Oct 29, 2025
54 checks passed
@Flamefire Flamefire deleted the test-improvement branch October 29, 2025 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants