Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Moseley <danmose@microsoft.com>2017-04-08 21:54:33 +0300
committerGitHub <noreply@github.com>2017-04-08 21:54:33 +0300
commit72984f6ebb37fec3fb23caec9f261e08824ef5ac (patch)
tree049bc7a4e4f3c065fec1cf6f5be5aca0397ec52d
parent245a9dece41aaf6af5b8d38e763daae183c8aea0 (diff)
Revert "Merge pull request #18043 from safern/CopyConfigFile" (#18113)
This reverts commit 8b3c00781a82d1239dc2e6da8d443d491add8a39, reversing changes made to f9bca96f57feeb1092b2245377e8f66436c9ddfc.
-rw-r--r--BuildToolsVersion.txt2
-rw-r--r--Tools-Override/tests.targets26
2 files changed, 14 insertions, 14 deletions
diff --git a/BuildToolsVersion.txt b/BuildToolsVersion.txt
index 06f53a7303..4ae8a71983 100644
--- a/BuildToolsVersion.txt
+++ b/BuildToolsVersion.txt
@@ -1 +1 @@
-1.0.27-prerelease-01507-01 \ No newline at end of file
+1.0.27-prerelease-01431-02
diff --git a/Tools-Override/tests.targets b/Tools-Override/tests.targets
index 30bd6d3991..a835562911 100644
--- a/Tools-Override/tests.targets
+++ b/Tools-Override/tests.targets
@@ -125,25 +125,25 @@
<!-- We need to generate a simple config file for desktop test executors to tell them to use DEVPATH environment variable to use their dependencies from there.
DEVPATH is being set for desktop runs in RunTests.cmd to the TestHostPath. We need this approach to have desktop Helix runs. -->
- <Target Name="CopyDesktopExecutorsConfigFiles"
+ <Target Name="GenerateDesktopExecutorsConfigFiles"
BeforeTargets="GenerateTestExecutionScripts"
Condition="'$(BuildingNETFxVertical)' == 'true'">
<PropertyGroup>
- <NETFxTestRunnerAppConfig Condition="'$(NETFxTestRunnerAppConfig)' == ''">$(ToolsDir)\DesktopRunnerConfigFile.config</NETFxTestRunnerAppConfig>
- <XunitRunnerNETFxConfigFile>$(TestPath)\$(XunitExecutable).config</XunitRunnerNETFxConfigFile>
+ <XunitRunnerNetfxConfigFile>$(TestPath)\$(XunitExecutable).config</XunitRunnerNetfxConfigFile>
<RemoteExecutorConfigFile>$(TestPath)\RemoteExecutorConsoleApp.exe.config</RemoteExecutorConfigFile>
</PropertyGroup>
- <Copy SourceFiles="$(NETFxTestRunnerAppConfig)"
- DestinationFiles="$(XunitRunnerNETFxConfigFile)"
- SkipUnchangedFiles="true"
- />
+ <ItemGroup>
+ <ConfigFileLines Include="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;" />
+ <ConfigFileLines Include="&lt;configuration&gt;" />
+ <ConfigFileLines Include="&lt;runtime&gt;" />
+ <ConfigFileLines Include="&lt;developmentMode developerInstallation=&quot;true&quot; /&gt;" />
+ <ConfigFileLines Include="&lt;/runtime&gt;" />
+ <ConfigFileLines Include="&lt;/configuration&gt;" />
+ </ItemGroup>
- <Copy Condition="Exists('$(TestPath)\RemoteExecutorConsoleApp.exe')"
- SourceFiles="$(NETFxTestRunnerAppConfig)"
- DestinationFiles="$(RemoteExecutorConfigFile)"
- SkipUnchangedFiles="true"
- />
+ <WriteLinesToFile File="$(XunitRunnerNetfxConfigFile)" Lines="@(ConfigFileLines)" Overwrite="true"/>
+ <WriteLinesToFile Condition="Exists('$(TestPath)\RemoteExecutorConsoleApp.exe')" File="$(RemoteExecutorConfigFile)" Lines="@(ConfigFileLines)" Overwrite="true" />
</Target>
<!-- Generate the script to run the tests. The script performs two high-level steps:
@@ -152,7 +152,7 @@
directory.
2. Runs the tests. -->
<Target Name="GenerateTestExecutionScripts"
- DependsOnTargets="DiscoverTestInputs;SetupTestProperties;CopyDesktopExecutorsConfigFiles">
+ DependsOnTargets="DiscoverTestInputs;SetupTestProperties;GenerateDesktopExecutorsConfigFiles">
<PropertyGroup>
<TargetOSTrait Condition="'$(TargetOS)'=='Windows_NT'">nonwindowstests</TargetOSTrait>
<TargetOSTrait Condition="'$(TargetOS)'=='Linux'">nonlinuxtests</TargetOSTrait>