From 373e4772e386ff8b5f62000fc1eb9ab483d62e7d Mon Sep 17 00:00:00 2001 From: Jose Perez Rodriguez Date: Tue, 14 Jul 2020 10:53:31 -0700 Subject: [PATCH 1/2] Fix issue with Trimming tests on Windows --- eng/pipelines/runtime-linker-tests.yml | 2 +- src/libraries/pretest.proj | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/eng/pipelines/runtime-linker-tests.yml b/eng/pipelines/runtime-linker-tests.yml index a14af99374f919..ceffb1e237e76c 100644 --- a/eng/pipelines/runtime-linker-tests.yml +++ b/eng/pipelines/runtime-linker-tests.yml @@ -59,7 +59,7 @@ jobs: jobTemplate: /eng/pipelines/common/global-build-job.yml buildConfig: release platforms: -# - Windows_NT_x64 + - Windows_NT_x64 - OSX_x64 - Linux_x64 jobParameters: diff --git a/src/libraries/pretest.proj b/src/libraries/pretest.proj index 1ba9c731246433..5e55468f388649 100644 --- a/src/libraries/pretest.proj +++ b/src/libraries/pretest.proj @@ -106,6 +106,12 @@ + + + <_runtimePackLibFiles Remove="@(_runtimePackLibFiles)" Condition="'%(Extension)' == '.pdb'" /> + <_runtimePackNativeFiles Remove="@(_runtimePackNativeFiles)" Condition="'%(Extension)' == '.pdb'" /> + + Date: Wed, 15 Jul 2020 11:53:20 -0700 Subject: [PATCH 2/2] Update the IsSymbolFile metadata calculation --- src/libraries/pretest.proj | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/libraries/pretest.proj b/src/libraries/pretest.proj index 5e55468f388649..23a4041ff30a66 100644 --- a/src/libraries/pretest.proj +++ b/src/libraries/pretest.proj @@ -87,11 +87,9 @@ <_refPackLibFile Include="$(MicrosoftNetCoreAppRefPackRefDir)*.*"> ref/$(NetCoreAppCurrent) - true <_runtimePackLibFiles Include="$(MicrosoftNetCoreAppRuntimePackRidLibTfmDir)*.*"> runtimes/$(PackageRID)/lib/$(NetCoreAppCurrent) - true <_runtimePackNativeFiles Include="$(MicrosoftNetCoreAppRuntimePackNativeDir)*.*"> runtimes/$(PackageRID)/native @@ -106,10 +104,18 @@ + - - <_runtimePackLibFiles Remove="@(_runtimePackLibFiles)" Condition="'%(Extension)' == '.pdb'" /> - <_runtimePackNativeFiles Remove="@(_runtimePackNativeFiles)" Condition="'%(Extension)' == '.pdb'" /> + <_refPackLibFile> + true + + <_runtimePackLibFiles> + true + + <_runtimePackNativeFiles> + true +