Skip to content

core tests do not work on Windows #3

@djungelorm

Description

@djungelorm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions