Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core tests do not work on Windows #3

Open
djungelorm opened this issue Mar 23, 2023 · 0 comments
Open

core tests do not work on Windows #3

djungelorm opened this issue Mar 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@djungelorm
Copy link
Member

Running bazel test //core:test does not work on Windows. This works fine on Linux. It's probably a bug with rules_dotnet but needs investigation.

PS C:\workspaces\krpc-core> bazel test //core:test --test_output=all
INFO: Analyzed target //core:core_test (0 packages loaded, 0 targets configured).
INFO: Found 1 test target...
FAIL: //core:core_test (see C:/bazel-root/7uzld4bb/execroot/__main__/bazel-out/x64_windows-fastbuild-ST-19c30ace4401/testlogs/core/core_test/test.log)
INFO: From Testing //core:core_test:
==================== Test output for //core:core_test:
Error:
  An assembly specified in the application dependencies manifest (KRPC.Core.Test.deps.json) was not found:
    package: 'Castle.Core', version: '5.1.1'
    path: 'nuget.castle.core.v5.1.1/lib/net6.0/Castle.Core.dll'
================================================================================
Target //core:core_test up-to-date (nothing to build)
INFO: Elapsed time: 0.729s, Critical Path: 0.31s
INFO: 2 processes: 2 local.
INFO: Build completed, 1 test FAILED, 2 total actions
//core:core_test                                                         FAILED in 0.2s
  C:/bazel-root/7uzld4bb/execroot/__main__/bazel-out/x64_windows-fastbuild-ST-19c30ace4401/testlogs/core/core_test/test.log

Executed 1 out of 1 test: 1 fails locally.
@djungelorm djungelorm added the bug Something isn't working label Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant