-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Describe the bug
All our unit tests are failing in the latest sdk bump, seems dotnet test is not recognising the -bl /bl option we use to pass the binary logger path.
This is failing on Windows and Mac.
To Reproduce
I wasn't able to reproduce it locally yet, I used dotnet test and also the same script we use ci (uses cake) and it works fine locally, but on CI is failing .
Exceptions (if any)
Executing: /Users/builder/azdo/_work/2/s/.dotnet/dotnet test "/Users/builder/azdo/_work/2/s/src/Graphics/tests/Graphics.Tests/Graphics.Tests.csproj" --logger "trx;LogFileName=Graphics.Tests-Debug.trx" --logger "console;verbosity=normal" --configuration Debug --results-directory "/Users/builder/azdo/_work/2/a/test-results" -dl:CentralLogger,"/Users/builder/azdo/_work/2/s/artifacts/msbuildlogger/Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll"*ForwardingLogger,"/Users/builder/azdo/_work/2/s/artifacts/msbuildlogger/Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll" /bl:/Users/builder/azdo/_work/2/a/logs/Graphics.Tests-Debug.binlog /p:VStestUseMSBuildOutput=false
The following arguments have been ignored : "--configuration Debug"
VSTest version 18.0.0 (x64)
The argument /bl:/Users/builder/azdo/_work/2/a/logs/Graphics.Tests-Debug.binlog is invalid. Please use the /help option to check the list of valid arguments.
The argument -binaryLogger:C:/a/_work/1/a/logs/integration-samples.binlog is invalid. Please use the /help option to check the list of valid arguments.
Further technical details
This appear when moving to the latest sdk bump