File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
src/Platform/Microsoft.Testing.Platform/Configurations Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
- // Copyright (c) Microsoft Corporation. All rights reserved.
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
2
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
3
4
4
using Microsoft . Testing . Platform . CommandLine ;
@@ -70,12 +70,7 @@ public void SetTestHostWorkingDirectory(string workingDirectory) =>
70
70
71
71
public async Task CheckTestResultsDirectoryOverrideAndCreateItAsync ( IFileLoggerProvider ? fileLoggerProvider )
72
72
{
73
- < << << << HEAD
74
- // Load Configuration
75
- _currentWorkingDirectory = Path . GetDirectoryName ( _testApplicationModuleInfo . GetCurrentTestApplicationFullPath ( ) ) ! ;
76
- = == == ==
77
73
_resultsDirectory = _fileSystem . CreateDirectory ( this [ PlatformConfigurationConstants . PlatformResultDirectory ] ! ) ;
78
- > >>> >>> Consider `-- results- directory ` before configuration
79
74
80
75
// In case of the result directory is overridden by the config file we move logs to it.
81
76
// This can happen in case of VSTest mode where the result directory is set to a different location.
@@ -117,5 +112,5 @@ private string GetCurrentWorkingDirectoryCore()
117
112
// If first time calculating it, prefer the value from configuration,
118
113
?? CalculateFromConfigurationProviders ( PlatformConfigurationConstants . PlatformCurrentWorkingDirectory )
119
114
// then fallback to the actual working directory.
120
- ?? _testApplicationModuleInfo . GetCurrentTestApplicationDirectory ( ) ;
115
+ ?? Path . GetDirectoryName ( _testApplicationModuleInfo . GetCurrentTestApplicationFullPath ( ) ) ! ;
121
116
}
You can’t perform that action at this time.
0 commit comments