Skip to content

Error running all library tests #35664

Description

@mrj001

Built as follows:

$ ./build.cmd -subset clr -c Checked
$ ./build.cmd -subset Libs+Libs.Tests -runtimeConfiguration Checked

Then I tried to run all tests from root as follows (per a comment by @ViktorHofer in Issue #34152):

$ ./build.cmd libs.tests -test -coverage -runtimeConfiguration Checked

This ended quickly in the following error:

Build FAILED.

C:\Users\mrj00\source\repos\runtime\eng\testing\coverage.targets(42,7): error MSB4184: The expression ""C:\Users\mrj00\source\repos\runtime\src\libraries".SubString(50)" cannot be evaluated. startIndex cannot be larger than length of string. (Parameter 'startIndex') [C:\Users\mrj00\source\repos\runtime\Build.proj]
0 Warning(s)
1 Error(s)

Time Elapsed 00:00:23.25
Build failed.
Some builds failed:
Configuration: Debug, Architecture: x64

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions