Skip to content

Fix random Windows testsuite failures from \\?\ paths - #1618

Merged
AnHeuermann merged 1 commit into
OpenModelica:masterfrom
AnHeuermann:fix-win-failure
Jul 31, 2026
Merged

Fix random Windows testsuite failures from \\?\ paths#1618
AnHeuermann merged 1 commit into
OpenModelica:masterfrom
AnHeuermann:fix-win-failure

Conversation

@AnHeuermann

Copy link
Copy Markdown
Member

Related Issues

Fixes #1596.

Purpose

Path.resolve() can leave the extended-length prefix on the work dir, which cmd.exe rejects as a working directory.

Approach

Use os.path.abspath() instead.

Path.resolve() can leave the extended-length prefix on the work dir, which
cmd.exe rejects as a working directory. Use os.path.abspath() instead.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@AnHeuermann AnHeuermann self-assigned this Jul 31, 2026
@AnHeuermann
AnHeuermann enabled auto-merge (squash) July 31, 2026 11:32
@AnHeuermann
AnHeuermann merged commit 564cb10 into OpenModelica:master Jul 31, 2026
4 checks passed
@AnHeuermann
AnHeuermann deleted the fix-win-failure branch July 31, 2026 11:44
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 27.23%. Comparing base (67373ba) to head (878f925).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1618   +/-   ##
=======================================
  Coverage   27.23%   27.23%           
=======================================
  Files          69       69           
  Lines       13844    13844           
  Branches     8615     8615           
=======================================
  Hits         3771     3771           
  Misses       8881     8881           
  Partials     1192     1192           
Flag Coverage Δ
linux 27.23% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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

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.

Random test failures on Windows CI

2 participants