From 4f209e61eaff9fabf383cabc5f472ef7dcf041cd Mon Sep 17 00:00:00 2001 From: Justin Goshi Date: Fri, 17 Feb 2017 12:28:25 -0800 Subject: [PATCH] Refactor properties out of test.targets --- build/InputDirectories.props | 1 + build/OutputDirectories.props | 6 ++++++ build/Test.targets | 19 +------------------ build/Version.props | 2 ++ build/test/TestAssetProjects.targets | 4 ++-- build/test/TestProjects.targets | 14 +++++++------- 6 files changed, 19 insertions(+), 27 deletions(-) diff --git a/build/InputDirectories.props b/build/InputDirectories.props index 9bfeadb3a..d322b67bc 100644 --- a/build/InputDirectories.props +++ b/build/InputDirectories.props @@ -4,5 +4,6 @@ $(RepoRoot)/build_projects/dotnet-cli-build $(RepoRoot)/resources/MSBuildImports $(RepoRoot)/src + $(RepoRoot)/test/ diff --git a/build/OutputDirectories.props b/build/OutputDirectories.props index 9be5c2c97..fb79f8f21 100644 --- a/build/OutputDirectories.props +++ b/build/OutputDirectories.props @@ -18,5 +18,11 @@ $(BaseOutputDirectory)/packages $(IntermediateDirectory)/sharedFrameworkPublish $(StageDirectory)/shared/$(SharedFrameworkName)/$(SharedFrameworkVersion) + $(Stage2Directory) + $(RepoRoot)/artifacts/testpackages/ + $(TestOutputDir)/packagesBuild/ + $(TestOutputDir)/packages/ + $(TestOutputDir)/artifacts/ + $(TestOutputDir)/results/ diff --git a/build/Test.targets b/build/Test.targets index 5baf180e7..e5a8df3c8 100644 --- a/build/Test.targets +++ b/build/Test.targets @@ -1,9 +1,4 @@ - - / - \ - - @@ -16,12 +11,11 @@ %3b $(Stage2Directory)$(PathListSeparator)$(PATH) $(Stage2Directory) - $(TestArtifactsDir) - + @@ -55,17 +49,6 @@ - - $(CommitCount) - $(RepoRoot)/artifacts/testpackages/ - $(TestOutputDir)/packagesBuild/ - $(TestOutputDir)/packages/ - $(TestOutputDir)/artifacts/ - $(TestOutputDir)/results/ - $(RepoRoot)/test/ - $(Stage2Directory) - - diff --git a/build/Version.props b/build/Version.props index 11e41049f..0bdb360e0 100644 --- a/build/Version.props +++ b/build/Version.props @@ -12,5 +12,7 @@ $(NugetVersion) $(SdkVersion) + + $(CommitCount) diff --git a/build/test/TestAssetProjects.targets b/build/test/TestAssetProjects.targets index c6d913ca3..fc73bd17a 100644 --- a/build/test/TestAssetProjects.targets +++ b/build/test/TestAssetProjects.targets @@ -31,10 +31,10 @@ - + - + diff --git a/build/test/TestProjects.targets b/build/test/TestProjects.targets index 846c7be22..20045c923 100644 --- a/build/test/TestProjects.targets +++ b/build/test/TestProjects.targets @@ -10,20 +10,20 @@ --> - + + Include="test/ArgumentsReflector/ArgumentsReflector.csproj; + test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj; + test/Msbuild.Tests.Utilities/Msbuild.Tests.Utilities.csproj; + test/Performance/Performance.csproj" /> + Include="test/Installer/Microsoft.DotNet.Cli.Msi.Tests/Microsoft.DotNet.Cli.Msi.Tests.csproj;" /> - +