Skip to content

test: gate Unix-only OpenClaw symlink tests on Windows - #523

Open
SanAntonio021 wants to merge 1 commit into
SaladDay:mainfrom
SanAntonio021:codex/windows-unix-test-guards
Open

SanAntonio021 wants to merge 1 commit into
SaladDay:mainfrom
SanAntonio021:codex/windows-unix-test-guards

Conversation

@SanAntonio021

Copy link
Copy Markdown

Two OpenClaw editor tests call std::os::unix::fs::symlink without a platform guard, so compiling the test target on Windows fails before tests can run. Add #[cfg(unix)] to those two tests; Unix behavior and product code remain unchanged.

Validation: git diff --check passed. The equivalent guards allowed both no-default-features and default-feature library test targets to compile and execute selected regressions in downstream Windows MSVC CI. The complete test suite was not run.

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.

1 participant