@@ -20,7 +20,7 @@ public class DeterministicBuild : BaseTest, IDisposable
2020 private string [ ] _testProjectTfms = [ ] ;
2121 private readonly string _testProjectPath = TestUtils . GetTestProjectPath ( s_projectName ) ;
2222 private readonly string _testBinaryPath = TestUtils . GetTestBinaryPath ( s_projectName ) ;
23- private readonly string _testResultsPath = TestUtils . GetTestResultsPath ( s_projectName ) ;
23+ private readonly string _testResultsPath = TestUtils . GetTestResultsPath ( ) ;
2424 private const string PropsFileName = "DeterministicTest.props" ;
2525 private readonly string _buildConfiguration ;
2626 private readonly ITestOutputHelper _output ;
@@ -118,7 +118,7 @@ public void Msbuild()
118118 Assert . False ( string . IsNullOrEmpty ( File . ReadAllText ( sourceRootMappingFilePath ) ) ) ;
119119 Assert . Contains ( "=/_/" , File . ReadAllText ( sourceRootMappingFilePath ) ) ;
120120
121- string cmdArgument = $ "test -c { _buildConfiguration } -f { _buildTargetFramework } --no-build /p:CollectCoverage=true /p:DeterministicReport=true /p:CoverletOutputFormat=\" cobertura%2cjson\" /p:Include=\" [coverletsample.integration.determisticbuild]*DeepThought\" /p:IncludeTestAssembly=true";
121+ string cmdArgument = $ "test -c { _buildConfiguration } -f { _buildTargetFramework } --no-build /p:CollectCoverage=true /p:DeterministicReport=true /p:CoverletOutputFormat=\" cobertura%2cjson\" /p:Include=\" [coverletsample.integration.determisticbuild]*DeepThought\" /p:IncludeTestAssembly=true --results-directory: { testResultPath } ";
122122 _output . WriteLine ( $ "Command: dotnet { cmdArgument } ") ;
123123 int result = DotnetCli ( cmdArgument , out string standardOutput , out string standardError , _testProjectPath ) ;
124124 if ( ! string . IsNullOrEmpty ( standardError ) )
@@ -162,7 +162,7 @@ public void Msbuild_SourceLink()
162162 Assert . False ( string . IsNullOrEmpty ( File . ReadAllText ( sourceRootMappingFilePath ) ) ) ;
163163 Assert . Contains ( "=/_/" , File . ReadAllText ( sourceRootMappingFilePath ) ) ;
164164
165- string cmdArgument = $ "test -c { _buildConfiguration } -f { _buildTargetFramework } --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=\" cobertura%2cjson\" /p:UseSourceLink=true /p:Include=\" [coverletsample.integration.determisticbuild]*DeepThought\" /p:IncludeTestAssembly=true";
165+ string cmdArgument = $ "test -c { _buildConfiguration } -f { _buildTargetFramework } --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=\" cobertura%2cjson\" /p:UseSourceLink=true /p:Include=\" [coverletsample.integration.determisticbuild]*DeepThought\" /p:IncludeTestAssembly=true --results-directory: { testResultPath } ";
166166 _output . WriteLine ( $ "Command: dotnet { cmdArgument } ") ;
167167 int result = DotnetCli ( cmdArgument , out string standardOutput , out string standardError , _testProjectPath ) ;
168168 if ( ! string . IsNullOrEmpty ( standardError ) )
0 commit comments