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.
22// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33
44using Microsoft . Testing . Platform . CommandLine ;
@@ -70,12 +70,7 @@ public void SetTestHostWorkingDirectory(string workingDirectory) =>
7070
7171 public async Task CheckTestResultsDirectoryOverrideAndCreateItAsync ( IFileLoggerProvider ? fileLoggerProvider )
7272 {
73- < << << << HEAD
74- // Load Configuration
75- _currentWorkingDirectory = Path . GetDirectoryName ( _testApplicationModuleInfo . GetCurrentTestApplicationFullPath ( ) ) ! ;
76- = == == ==
7773 _resultsDirectory = _fileSystem . CreateDirectory ( this [ PlatformConfigurationConstants . PlatformResultDirectory ] ! ) ;
78- > >>> >>> Consider `-- results- directory ` before configuration
7974
8075 // In case of the result directory is overridden by the config file we move logs to it.
8176 // 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()
117112 // If first time calculating it, prefer the value from configuration,
118113 ?? CalculateFromConfigurationProviders ( PlatformConfigurationConstants . PlatformCurrentWorkingDirectory )
119114 // then fallback to the actual working directory.
120- ?? _testApplicationModuleInfo . GetCurrentTestApplicationDirectory ( ) ;
115+ ?? Path . GetDirectoryName ( _testApplicationModuleInfo . GetCurrentTestApplicationFullPath ( ) ) ! ;
121116}
You can’t perform that action at this time.
0 commit comments