@@ -20,7 +20,7 @@ public class DeterministicBuild : BaseTest, IDisposable
20
20
private string [ ] _testProjectTfms = [ ] ;
21
21
private readonly string _testProjectPath = TestUtils . GetTestProjectPath ( s_projectName ) ;
22
22
private readonly string _testBinaryPath = TestUtils . GetTestBinaryPath ( s_projectName ) ;
23
- private readonly string _testResultsPath = TestUtils . GetTestResultsPath ( s_projectName ) ;
23
+ private readonly string _testResultsPath = TestUtils . GetTestResultsPath ( ) ;
24
24
private const string PropsFileName = "DeterministicTest.props" ;
25
25
private readonly string _buildConfiguration ;
26
26
private readonly ITestOutputHelper _output ;
@@ -118,7 +118,7 @@ public void Msbuild()
118
118
Assert . False ( string . IsNullOrEmpty ( File . ReadAllText ( sourceRootMappingFilePath ) ) ) ;
119
119
Assert . Contains ( "=/_/" , File . ReadAllText ( sourceRootMappingFilePath ) ) ;
120
120
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 } ";
122
122
_output . WriteLine ( $ "Command: dotnet { cmdArgument } ") ;
123
123
int result = DotnetCli ( cmdArgument , out string standardOutput , out string standardError , _testProjectPath ) ;
124
124
if ( ! string . IsNullOrEmpty ( standardError ) )
@@ -162,7 +162,7 @@ public void Msbuild_SourceLink()
162
162
Assert . False ( string . IsNullOrEmpty ( File . ReadAllText ( sourceRootMappingFilePath ) ) ) ;
163
163
Assert . Contains ( "=/_/" , File . ReadAllText ( sourceRootMappingFilePath ) ) ;
164
164
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 } ";
166
166
_output . WriteLine ( $ "Command: dotnet { cmdArgument } ") ;
167
167
int result = DotnetCli ( cmdArgument , out string standardOutput , out string standardError , _testProjectPath ) ;
168
168
if ( ! string . IsNullOrEmpty ( standardError ) )
0 commit comments