@@ -39,7 +39,7 @@ Task("Test")
39
39
. Does < BuildParameters > ( ( parameters ) =>
40
40
{
41
41
var frameworks = new [ ] { parameters . CoreFxVersion , parameters . FullFxVersion } ;
42
- var testResultsPath = parameters . Paths . Directories . TestResultsOutput + "/" ;
42
+ var testResultsPath = parameters . Paths . Directories . TestResultsOutput ;
43
43
44
44
foreach ( var framework in frameworks )
45
45
{
@@ -60,7 +60,8 @@ Task("Test")
60
60
61
61
if ( ! parameters . IsRunningOnMacOS ) {
62
62
settings . TestAdapterPath = new DirectoryPath ( "." ) ;
63
- settings . Logger = $ "nunit;LogFilePath={ MakeAbsolute ( new FilePath ( $ "{ testResultsPath } { projectName } .results.xml") ) } ";
63
+ var resultsPath = MakeAbsolute ( new FilePath ( $ "{ testResultsPath } /{ projectName } .results.xml") ) ;
64
+ settings . Logger = $ "nunit;LogFilePath={ resultsPath } ";
64
65
}
65
66
66
67
var coverletSettings = new CoverletSettings {
@@ -90,7 +91,8 @@ Task("Test")
90
91
91
92
var workDir = "./src/GitVersionVsixTask" ;
92
93
var npmSettings = new NpmRunScriptSettings { WorkingDirectory = workDir , LogLevel = NpmLogLevel . Silent , ScriptName = "test" } ;
93
- npmSettings . Arguments . Add ( $ "--reporter-options mochaFile={ MakeAbsolute ( new FilePath ( $ "{ testResultsPath } vsix.results.xml") ) } ") ;
94
+ var vsixResultsPath = MakeAbsolute ( new FilePath ( $ "{ testResultsPath } /vsix.results.xml") ) ;
95
+ npmSettings . Arguments . Add ( $ "--reporter-options mochaFile={ vsixResultsPath } ") ;
94
96
NpmRunScript ( npmSettings ) ;
95
97
} )
96
98
. ReportError ( exception =>
0 commit comments