diff --git a/eng/pipelines/common/templates/runtimes/run-test-job.yml b/eng/pipelines/common/templates/runtimes/run-test-job.yml
index 544e6c9ed29c2a..03288003d85f02 100644
--- a/eng/pipelines/common/templates/runtimes/run-test-job.yml
+++ b/eng/pipelines/common/templates/runtimes/run-test-job.yml
@@ -300,7 +300,7 @@ jobs:
# Compose the Core_Root folder containing all artifacts needed for running
# CoreCLR tests. This step also compiles the framework using Crossgen / Crossgen2
# in ReadyToRun jobs.
- - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) generatelayoutonly $(logRootNameArg)Layout $(runtimeFlavorArgs) $(crossgenArg) $(buildConfig) $(archType) $(crossArg) $(priorityArg) $(librariesOverrideArg)
+ - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) generatelayoutonly $(logRootNameArg)Layout $(runtimeFlavorArgs) $(crossgenArg) $(buildConfig) $(archType) $(crossArg) $(priorityArg) $(librariesOverrideArg) $(runtimeVariantArg)
displayName: Generate CORE_ROOT
# Build a Mono LLVM AOT cross-compiler for non-amd64 targets (in this case, just arm64)
diff --git a/src/tests/Common/CLRTest.Execute.Bash.targets b/src/tests/Common/CLRTest.Execute.Bash.targets
index fe56a45f80f244..d2d04b567885d5 100644
--- a/src/tests/Common/CLRTest.Execute.Bash.targets
+++ b/src/tests/Common/CLRTest.Execute.Bash.targets
@@ -306,8 +306,6 @@ $__Command msbuild $CORE_ROOT/wasm-test-runner/WasmTestRunner.proj /p:NetCoreApp
+
+ $(OutputPath)/$(MSBuildProjectName).sh
+
+
+ endings before running the scripts on Unix platforms. In our current lab
+ infra it shouldn't really matter as the execution scripts are regenerated
+ in the 'test run' phase before sending the items to Helix i.o.w. at
+ the point where we already know the exact targeting platform. -->
+
diff --git a/src/tests/Common/CLRTest.Execute.Batch.targets b/src/tests/Common/CLRTest.Execute.Batch.targets
index 963ce3eaea1603..4fdd689bf0cb74 100644
--- a/src/tests/Common/CLRTest.Execute.Batch.targets
+++ b/src/tests/Common/CLRTest.Execute.Batch.targets
@@ -301,8 +301,6 @@ COPY /y %CORE_ROOT%\CoreShim.dll .
$(BatchLinkerTestLaunchCmds)
$(BatchCopyCoreShimLocalCmds)
-set TestExclusionListPath=%CORE_ROOT%\TestExclusionList.txt
-
IF NOT "%CLRCustomTestLauncher%"=="" (
set LAUNCHER=call %CLRCustomTestLauncher% %scriptPath%
) ELSE (
@@ -449,6 +447,7 @@ $(IlasmRoundTripBatchScript)
REM Allow precommands to override the ExePath
set ExePath=$(InputAssemblyName)
+set TestExclusionListPath=%CORE_ROOT%\TestExclusionList.txt
REM Precommands
$(CLRTestBatchPreCommands)
diff --git a/src/tests/Common/Directory.Build.targets b/src/tests/Common/Directory.Build.targets
index 4f31cd9fc7646c..79d1b9253c57b8 100644
--- a/src/tests/Common/Directory.Build.targets
+++ b/src/tests/Common/Directory.Build.targets
@@ -191,4 +191,7 @@
+
+
+
diff --git a/src/tests/Common/XHarnessRunnerLibrary/GeneratedTestRunner.cs b/src/tests/Common/XHarnessRunnerLibrary/GeneratedTestRunner.cs
index 70f9b7a1405878..c30c99f7e33061 100644
--- a/src/tests/Common/XHarnessRunnerLibrary/GeneratedTestRunner.cs
+++ b/src/tests/Common/XHarnessRunnerLibrary/GeneratedTestRunner.cs
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
+using System.Text;
using System.Threading.Tasks;
using Microsoft.DotNet.XHarness.Common;
using Microsoft.DotNet.XHarness.TestRunners.Common;
@@ -15,16 +16,20 @@ public sealed class GeneratedTestRunner : TestRunner
TestFilter.ISearchClause? _filter;
Func _runTestsCallback;
HashSet _testExclusionList;
+ private readonly Boolean _writeBase64TestResults;
+
public GeneratedTestRunner(
LogWriter logger,
Func runTestsCallback,
string assemblyName,
- HashSet testExclusionList)
+ HashSet testExclusionList,
+ bool writeBase64TestResults)
:base(logger)
{
_assemblyName = assemblyName;
_runTestsCallback = runTestsCallback;
_testExclusionList = testExclusionList;
+ _writeBase64TestResults = writeBase64TestResults;
ResultsFileName = $"{_assemblyName}.testResults.xml";
}
@@ -53,7 +58,17 @@ public override string WriteResultsToFile(XmlResultJargon xmlResultJargon)
public override void WriteResultsToFile(TextWriter writer, XmlResultJargon jargon)
{
Debug.Assert(jargon == XmlResultJargon.xUnit);
- writer.WriteLine(LastTestRun.GetTestResultOutput(_assemblyName));
+ string lastTestResults = LastTestRun.GetTestResultOutput(_assemblyName);
+ if (_writeBase64TestResults)
+ {
+ byte[] encodedBytes = Encoding.Unicode.GetBytes(lastTestResults);
+ string base64Results = Convert.ToBase64String(encodedBytes);
+ writer.WriteLine($"STARTRESULTXML {encodedBytes.Length} {base64Results} ENDRESULTXML");
+ }
+ else
+ {
+ writer.WriteLine(lastTestResults);
+ }
}
public override void SkipTests(IEnumerable tests)
diff --git a/src/tests/Common/XHarnessRunnerLibrary/RunnerEntryPoint.cs b/src/tests/Common/XHarnessRunnerLibrary/RunnerEntryPoint.cs
index bf1e624e5b8357..b1b1f4e44e72ef 100644
--- a/src/tests/Common/XHarnessRunnerLibrary/RunnerEntryPoint.cs
+++ b/src/tests/Common/XHarnessRunnerLibrary/RunnerEntryPoint.cs
@@ -36,6 +36,12 @@ public static async Task RunTests(
bool anyFailedTests = false;
entryPoint.TestsCompleted += (o, e) => anyFailedTests = e.FailedTests > 0;
await entryPoint.RunAsync();
+
+ if (OperatingSystem.IsBrowser())
+ {
+ // Browser expects all xharness processes to exit with 0, even in case of failure
+ return 0;
+ }
return anyFailedTests ? 1 : 0;
}
@@ -65,7 +71,7 @@ public AppleEntryPoint(
protected override bool IsXunit => true;
protected override TestRunner GetTestRunner(LogWriter logWriter)
{
- var runner = new GeneratedTestRunner(logWriter, _runTestsCallback, _assemblyName, _testExclusionList);
+ var runner = new GeneratedTestRunner(logWriter, _runTestsCallback, _assemblyName, _testExclusionList, writeBase64TestResults: true);
if (_methodNameToRun is not null)
{
runner.SkipMethod(_methodNameToRun, isExcluded: false);
@@ -103,7 +109,7 @@ public AndroidEntryPoint(
protected override bool IsXunit => true;
protected override TestRunner GetTestRunner(LogWriter logWriter)
{
- var runner = new GeneratedTestRunner(logWriter, _runTestsCallback, _assemblyName, _testExclusionList);
+ var runner = new GeneratedTestRunner(logWriter, _runTestsCallback, _assemblyName, _testExclusionList, writeBase64TestResults: false);
if (_methodNameToRun is not null)
{
runner.SkipMethod(_methodNameToRun, isExcluded: false);
@@ -151,7 +157,7 @@ public WasmEntryPoint(
protected override bool IsXunit => true;
protected override TestRunner GetTestRunner(LogWriter logWriter)
{
- var runner = new GeneratedTestRunner(logWriter, _runTestsCallback, _assemblyName, _testExclusionList);
+ var runner = new GeneratedTestRunner(logWriter, _runTestsCallback, _assemblyName, _testExclusionList, writeBase64TestResults: true);
if (_methodNameToRun is not null)
{
runner.SkipMethod(_methodNameToRun, isExcluded: false);
diff --git a/src/tests/Common/XUnitWrapperLibrary/TestSummary.cs b/src/tests/Common/XUnitWrapperLibrary/TestSummary.cs
index a2f23bad9bbf8f..0de2af1ec838bf 100644
--- a/src/tests/Common/XUnitWrapperLibrary/TestSummary.cs
+++ b/src/tests/Common/XUnitWrapperLibrary/TestSummary.cs
@@ -70,9 +70,10 @@ public string GetTestResultOutput(string assemblyName)
foreach (var test in _testResults)
{
resultsFile.Append($@"" : string.Empty;
if (test.Exception is not null)
{
- resultsFile.AppendLine($@"result=""Fail"">");
+ resultsFile.AppendLine($@"result=""Fail"">{outputElement}");
}
else if (test.SkipReason is not null)
{
@@ -80,7 +81,7 @@ public string GetTestResultOutput(string assemblyName)
}
else
{
- resultsFile.AppendLine($@" result=""Pass"">");
+ resultsFile.AppendLine($@" result=""Pass"">{outputElement}");
}
}
diff --git a/src/tests/Common/helixpublishwitharcade.proj b/src/tests/Common/helixpublishwitharcade.proj
index c1363a55d87fe8..4bf0fbd0604682 100644
--- a/src/tests/Common/helixpublishwitharcade.proj
+++ b/src/tests/Common/helixpublishwitharcade.proj
@@ -282,7 +282,8 @@
- <_MergedWrapperMarker Include="$(TestBinDir)**\*.MergedTestAssembly" />
+
+ <_MergedWrapperMarker Include="$(TestBinDir)**\*.MergedTestAssembly" Exclude="$(TestBinDir)**\supportFiles\*.MergedTestAssembly" />
@@ -294,14 +295,22 @@
<_MergedWrapperRunScript Include="$([System.IO.Path]::ChangeExtension('%(_MergedWrapperMarker.Identity)', '.$(TestScriptExtension)'))" />
- <_MergedWrapperDirectory>%(_MergedWrapperRunScript.RootDir)%(Directory)
+ <_MergedWrapperDirectory>$([System.IO.Path]::GetDirectoryName('%(_MergedWrapperRunScript.Identity)'))
+ <_MergedWrapperParentDirectory>$([System.IO.Path]::GetDirectoryName('$(_MergedWrapperDirectory)'))
<_MergedWrapperName>%(_MergedWrapperRunScript.FileName)
<_MergedWrapperRunScriptRelative Condition="'%(_MergedWrapperRunScript.Identity)' != ''">$([System.IO.Path]::GetRelativePath($(TestBinDir), %(_MergedWrapperRunScript.FullPath)))
+
+ <_MergedWrapperOutOfProcessTestMarkers Include="$(_MergedWrapperParentDirectory)/**/*.OutOfProcessTest" />
+ <_MergedWrapperOutOfProcessTestFiles
+ Include="%(_MergedWrapperOutOfProcessTestMarkers.RootDir)%(_MergedWrapperOutOfProcessTestMarkers.Directory)/**"
+ Condition="'@(_MergedWrapperOutOfProcessTestMarkers)' != ''" />
+
<_MergedPayloadGroups Include="$(_MergedWrapperName)" />
- <_MergedPayloadFiles Include="$(_MergedWrapperDirectory)**" />
+ <_MergedPayloadFiles Include="$(_MergedWrapperDirectory)/**" />
+ <_MergedPayloadFiles Include="@(_MergedWrapperOutOfProcessTestFiles)" />
<_MergedPayloadFiles Update="@(_MergedPayloadFiles)">
@@ -312,7 +321,7 @@
-
+
diff --git a/src/tests/Directory.Build.targets b/src/tests/Directory.Build.targets
index a11b397670dab2..96d65ab0eabf50 100644
--- a/src/tests/Directory.Build.targets
+++ b/src/tests/Directory.Build.targets
@@ -114,21 +114,6 @@
true
-
-
-
-
-
-
-
-
-
@@ -225,9 +210,26 @@
+
-
+
+
+
+
+
+
+
+
+
@@ -259,20 +261,40 @@
-
+
+
+
+
+
+
+
+
+ File="$(IntermediateOutputPath)\$(MSBuildProjectName).MergedTestAssembly"
+ Lines="MergedTestAssembly"
+ Overwrite="true"
+ WriteOnlyWhenDifferent="true" />
+
+
+
+
+ Lines="OutOfProcessTest"
+ Overwrite="true"
+ WriteOnlyWhenDifferent="true" />
diff --git a/src/tests/Exceptions/ForeignThread/ForeignThreadExceptions.csproj b/src/tests/Exceptions/ForeignThread/ForeignThreadExceptions.csproj
index a4e1b468a2615c..d282ce1b519196 100644
--- a/src/tests/Exceptions/ForeignThread/ForeignThreadExceptions.csproj
+++ b/src/tests/Exceptions/ForeignThread/ForeignThreadExceptions.csproj
@@ -1,6 +1,7 @@
Exe
+ true
diff --git a/src/tests/Interop/DisabledRuntimeMarshalling/DisabledRuntimeMarshalling_Disabled_NativeAssemblyEnabled.csproj b/src/tests/Interop/DisabledRuntimeMarshalling/DisabledRuntimeMarshalling_Disabled_NativeAssemblyEnabled.csproj
index b8914d641b733b..23d37e11f3adf6 100644
--- a/src/tests/Interop/DisabledRuntimeMarshalling/DisabledRuntimeMarshalling_Disabled_NativeAssemblyEnabled.csproj
+++ b/src/tests/Interop/DisabledRuntimeMarshalling/DisabledRuntimeMarshalling_Disabled_NativeAssemblyEnabled.csproj
@@ -1,6 +1,7 @@
true
+ true
diff --git a/src/tests/Interop/SuppressGCTransition/SuppressGCTransitionTest.csproj b/src/tests/Interop/SuppressGCTransition/SuppressGCTransitionTest.csproj
index abb1fec49b7226..c08644530f62f5 100644
--- a/src/tests/Interop/SuppressGCTransition/SuppressGCTransitionTest.csproj
+++ b/src/tests/Interop/SuppressGCTransition/SuppressGCTransitionTest.csproj
@@ -2,6 +2,7 @@
Exe
True
+ true
diff --git a/src/tests/Interop/UnmanagedCallersOnly/UnmanagedCallersOnlyTest.csproj b/src/tests/Interop/UnmanagedCallersOnly/UnmanagedCallersOnlyTest.csproj
index d7246c35374fcc..5a5439c4127a50 100644
--- a/src/tests/Interop/UnmanagedCallersOnly/UnmanagedCallersOnlyTest.csproj
+++ b/src/tests/Interop/UnmanagedCallersOnly/UnmanagedCallersOnlyTest.csproj
@@ -2,6 +2,7 @@
Exe
true
+ true
diff --git a/src/tests/JIT/Directed/callconv/Directory.Build.props b/src/tests/JIT/Directed/callconv/Directory.Build.props
new file mode 100644
index 00000000000000..49b99b7a101933
--- /dev/null
+++ b/src/tests/JIT/Directed/callconv/Directory.Build.props
@@ -0,0 +1,7 @@
+
+
+
+
+ true
+
+
\ No newline at end of file
diff --git a/src/tests/JIT/Directed/pinning/object-pin/CMakeLists.txt b/src/tests/JIT/Directed/pinning/object-pin/CMakeLists.txt
index c17fe6fc415149..3b412d93042273 100644
--- a/src/tests/JIT/Directed/pinning/object-pin/CMakeLists.txt
+++ b/src/tests/JIT/Directed/pinning/object-pin/CMakeLists.txt
@@ -1,12 +1,4 @@
project(object_pin_mirror)
-set(CMAKE_SHARED_LIBRARY_PREFIX "")
-
add_library(mirror SHARED mirror.cpp)
SET_TARGET_PROPERTIES(mirror PROPERTIES COMPILE_FLAGS "-c")
-
-# add the install targets (this "installs" the native file on Windows systems)
-install(TARGETS mirror DESTINATION bin)
-
-# This "installs" the native file on System V systems
-set_target_properties(mirror PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/mirror)
diff --git a/src/tests/JIT/Directed/pinvoke/CMakeLists.txt b/src/tests/JIT/Directed/pinvoke/CMakeLists.txt
index 7616aef865e5e0..48b0bfa1c4cf69 100644
--- a/src/tests/JIT/Directed/pinvoke/CMakeLists.txt
+++ b/src/tests/JIT/Directed/pinvoke/CMakeLists.txt
@@ -1,12 +1,4 @@
project(PInvokeExampleNative)
-set(CMAKE_SHARED_LIBRARY_PREFIX "")
-
add_library(PInvokeExampleNative SHARED pinvokeexamplenative.cpp)
SET_TARGET_PROPERTIES(PInvokeExampleNative PROPERTIES COMPILE_FLAGS "-c")
-
-# add the install targets (this "installs" the native file on Windows systems)
-install(TARGETS PInvokeExampleNative DESTINATION bin)
-
-# This "installs" the native file on System V systems
-set_target_properties(PInvokeExampleNative PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/PInvokeExampleNative)
diff --git a/src/tests/JIT/HardwareIntrinsics/General/Vector256_1/Vector256_1_r.csproj b/src/tests/JIT/HardwareIntrinsics/General/Vector256_1/Vector256_1_r.csproj
index 2e1ffa2dcc1c7d..e1a746da5ca68b 100644
--- a/src/tests/JIT/HardwareIntrinsics/General/Vector256_1/Vector256_1_r.csproj
+++ b/src/tests/JIT/HardwareIntrinsics/General/Vector256_1/Vector256_1_r.csproj
@@ -2,6 +2,7 @@
Exe
true
+ true
Embedded
diff --git a/src/tests/JIT/Methodical/ELEMENT_TYPE_IU/u_conv_il_r.ilproj b/src/tests/JIT/Methodical/ELEMENT_TYPE_IU/u_conv_il_r.ilproj
index 6dbbc645a2d318..85643608c575f3 100644
--- a/src/tests/JIT/Methodical/ELEMENT_TYPE_IU/u_conv_il_r.ilproj
+++ b/src/tests/JIT/Methodical/ELEMENT_TYPE_IU/u_conv_il_r.ilproj
@@ -1,6 +1,6 @@
- Exe
+ true
PdbOnly
diff --git a/src/tests/JIT/Methodical/eh/deadcode/deadoponerrorinfunclet_il_d.ilproj b/src/tests/JIT/Methodical/eh/deadcode/deadoponerrorinfunclet_il_d.ilproj
index 68ec24f2a5d6bc..672ad9b544dd29 100644
--- a/src/tests/JIT/Methodical/eh/deadcode/deadoponerrorinfunclet_il_d.ilproj
+++ b/src/tests/JIT/Methodical/eh/deadcode/deadoponerrorinfunclet_il_d.ilproj
@@ -1,6 +1,6 @@
- Exe
+ true
Full
diff --git a/src/tests/JIT/Methodical/eh/deadcode/deadoponerrorinfunclet_il_r.ilproj b/src/tests/JIT/Methodical/eh/deadcode/deadoponerrorinfunclet_il_r.ilproj
index b0ef594900714b..85b1aa395cdcd7 100644
--- a/src/tests/JIT/Methodical/eh/deadcode/deadoponerrorinfunclet_il_r.ilproj
+++ b/src/tests/JIT/Methodical/eh/deadcode/deadoponerrorinfunclet_il_r.ilproj
@@ -1,6 +1,6 @@
- Exe
+ true
PdbOnly
diff --git a/src/tests/JIT/Methodical/flowgraph/dev10_bug679008/helper.ilproj b/src/tests/JIT/Methodical/flowgraph/dev10_bug679008/helper.ilproj
index 790327597861e5..fe39c536a46d78 100644
--- a/src/tests/JIT/Methodical/flowgraph/dev10_bug679008/helper.ilproj
+++ b/src/tests/JIT/Methodical/flowgraph/dev10_bug679008/helper.ilproj
@@ -3,6 +3,7 @@
Library
BuildOnly
false
+ true
Full
diff --git a/src/tests/JIT/Methodical/structs/systemvbringup/CMakeLists.txt b/src/tests/JIT/Methodical/structs/systemvbringup/CMakeLists.txt
index 6ed3b60ff63bd4..b36677f461415c 100644
--- a/src/tests/JIT/Methodical/structs/systemvbringup/CMakeLists.txt
+++ b/src/tests/JIT/Methodical/structs/systemvbringup/CMakeLists.txt
@@ -1,12 +1,4 @@
project(jitstructtests)
-set(CMAKE_SHARED_LIBRARY_PREFIX "")
-
set(SOURCES structinregs.cpp structinregs.def)
add_library(jitstructtests_lib SHARED ${SOURCES})
-
-# add the install targets (this "installs" the native file on Windows systems)
-install(TARGETS jitstructtests_lib DESTINATION bin)
-
-# This "installs" the native file on System V systems
-set_target_properties(jitstructtests_lib PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/structinregs)
diff --git a/src/tests/JIT/Performance/CodeQuality/Roslyn/CscBench.csproj b/src/tests/JIT/Performance/CodeQuality/Roslyn/CscBench.csproj
index f9c3ccf6806776..33d8c00a50546c 100644
--- a/src/tests/JIT/Performance/CodeQuality/Roslyn/CscBench.csproj
+++ b/src/tests/JIT/Performance/CodeQuality/Roslyn/CscBench.csproj
@@ -3,6 +3,7 @@
Exe
true
$(NoWarn);xUnit1013
+ true
pdbonly
diff --git a/src/tests/JIT/Regression/VS-ia64-JIT/V1.2-M02/b108129/CMakeLists.txt b/src/tests/JIT/Regression/VS-ia64-JIT/V1.2-M02/b108129/CMakeLists.txt
index 656e0b0df1f65d..9226518586e3d5 100644
--- a/src/tests/JIT/Regression/VS-ia64-JIT/V1.2-M02/b108129/CMakeLists.txt
+++ b/src/tests/JIT/Regression/VS-ia64-JIT/V1.2-M02/b108129/CMakeLists.txt
@@ -1,12 +1,5 @@
project(b108129_test2)
include_directories(${INC_PLATFORM_DIR})
-set(CMAKE_SHARED_LIBRARY_PREFIX "")
add_library(test2 SHARED test2.cpp)
SET_TARGET_PROPERTIES(test2 PROPERTIES COMPILE_FLAGS "-c")
-
-# add the install targets (this "installs" the native file on Windows systems)
-install(TARGETS test2 DESTINATION bin)
-
-# This "installs" the native file on System V systems
-set_target_properties(test2 PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/test2)
diff --git a/src/tests/JIT/jit64/hfa/main/dll/CMakeLists.txt b/src/tests/JIT/jit64/hfa/main/dll/CMakeLists.txt
index 2751523d47d3e5..57dda096197d67 100644
--- a/src/tests/JIT/jit64/hfa/main/dll/CMakeLists.txt
+++ b/src/tests/JIT/jit64/hfa/main/dll/CMakeLists.txt
@@ -1,7 +1,5 @@
project(hfa_interop)
-set(CMAKE_SHARED_LIBRARY_PREFIX "")
-
add_library(hfa_simple_f32_native_cpp SHARED hfa_native.cpp)
SET_TARGET_PROPERTIES(hfa_simple_f32_native_cpp PROPERTIES COMPILE_FLAGS "-c -DSIMPLE_HFA -DFLOAT32")
@@ -14,16 +12,3 @@ SET_TARGET_PROPERTIES(hfa_nested_f32_native_cpp PROPERTIES COMPILE_FLAGS "-c -DN
add_library(hfa_nested_f64_native_cpp SHARED hfa_native.cpp)
SET_TARGET_PROPERTIES(hfa_nested_f64_native_cpp PROPERTIES COMPILE_FLAGS "-c -DNESTED_HFA -DFLOAT64")
-
-
-# add the install targets (this "installs" the native file on Windows systems)
-install(TARGETS hfa_simple_f32_native_cpp DESTINATION bin)
-install(TARGETS hfa_simple_f64_native_cpp DESTINATION bin)
-install(TARGETS hfa_nested_f32_native_cpp DESTINATION bin)
-install(TARGETS hfa_nested_f64_native_cpp DESTINATION bin)
-
-# This "installs" the native file on System V systems
-set_target_properties(hfa_simple_f32_native_cpp PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/hfa_simple_f32_native_cpp)
-set_target_properties(hfa_simple_f64_native_cpp PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/hfa_simple_f64_native_cpp)
-set_target_properties(hfa_nested_f32_native_cpp PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/hfa_nested_f32_native_cpp)
-set_target_properties(hfa_nested_f64_native_cpp PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/hfa_nested_f64_native_cpp)
diff --git a/src/tests/JIT/jit64/localloc/ehverify/eh07_large.ilproj b/src/tests/JIT/jit64/localloc/ehverify/eh07_large.ilproj
index 3339b7ce992bec..d8e88df212c2d4 100644
--- a/src/tests/JIT/jit64/localloc/ehverify/eh07_large.ilproj
+++ b/src/tests/JIT/jit64/localloc/ehverify/eh07_large.ilproj
@@ -2,6 +2,7 @@
Exe
true
+ true
PdbOnly
diff --git a/src/tests/JIT/jit64/mcc/interop/CMakeLists.txt b/src/tests/JIT/jit64/mcc/interop/CMakeLists.txt
index f8abfa223caa1c..ca6502d07cc97a 100644
--- a/src/tests/JIT/jit64/mcc/interop/CMakeLists.txt
+++ b/src/tests/JIT/jit64/mcc/interop/CMakeLists.txt
@@ -1,7 +1,5 @@
project(mcc_native)
-set(CMAKE_SHARED_LIBRARY_PREFIX "")
-
add_library(native_i0c SHARED native_i0c.cpp)
add_library(native_i1c SHARED native_i1c.cpp)
add_library(native_i3c SHARED native_i3c.cpp)
@@ -17,39 +15,3 @@ add_library(native_i5s SHARED native_i5s.cpp)
add_library(native_i6s SHARED native_i6s.cpp)
add_library(native_i7s SHARED native_i7s.cpp)
add_library(native_i8s SHARED native_i8s.cpp)
-
-
-
-# add the install targets (this "installs" the native file on Windows systems)
-install(TARGETS native_i0c DESTINATION bin)
-install(TARGETS native_i1c DESTINATION bin)
-install(TARGETS native_i3c DESTINATION bin)
-install(TARGETS native_i5c DESTINATION bin)
-install(TARGETS native_i6c DESTINATION bin)
-install(TARGETS native_i7c DESTINATION bin)
-install(TARGETS native_i8c DESTINATION bin)
-
-install(TARGETS native_i0s DESTINATION bin)
-install(TARGETS native_i1s DESTINATION bin)
-install(TARGETS native_i3s DESTINATION bin)
-install(TARGETS native_i5s DESTINATION bin)
-install(TARGETS native_i6s DESTINATION bin)
-install(TARGETS native_i7s DESTINATION bin)
-install(TARGETS native_i8s DESTINATION bin)
-
-# This "installs" the native file on System V systems
-set_target_properties(native_i0c PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/native_i0c)
-set_target_properties(native_i1c PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/native_i1c)
-set_target_properties(native_i3c PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/native_i3c)
-set_target_properties(native_i5c PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/native_i5c)
-set_target_properties(native_i6c PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/native_i6c)
-set_target_properties(native_i7c PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/native_i7c)
-set_target_properties(native_i8c PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/native_i8c)
-
-set_target_properties(native_i0s PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/native_i0s)
-set_target_properties(native_i1s PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/native_i1s)
-set_target_properties(native_i3s PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/native_i3s)
-set_target_properties(native_i5s PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/native_i5s)
-set_target_properties(native_i6s PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/native_i6s)
-set_target_properties(native_i7s PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/native_i7s)
-set_target_properties(native_i8s PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/native_i8s)
\ No newline at end of file
diff --git a/src/tests/JIT/opt/virtualstubdispatch/bigvtbl/Directory.Build.props b/src/tests/JIT/opt/virtualstubdispatch/bigvtbl/Directory.Build.props
new file mode 100644
index 00000000000000..fb357e9d5c42ed
--- /dev/null
+++ b/src/tests/JIT/opt/virtualstubdispatch/bigvtbl/Directory.Build.props
@@ -0,0 +1,7 @@
+
+
+
+
+ true
+
+
\ No newline at end of file
diff --git a/src/tests/Loader/NativeLibs/FromNativePaths.csproj b/src/tests/Loader/NativeLibs/FromNativePaths.csproj
index 9938c416fbd394..124ec1c036c8b2 100644
--- a/src/tests/Loader/NativeLibs/FromNativePaths.csproj
+++ b/src/tests/Loader/NativeLibs/FromNativePaths.csproj
@@ -4,6 +4,7 @@
true
1
+ true
diff --git a/src/tests/Loader/classloader/RefFields/Validate.csproj b/src/tests/Loader/classloader/RefFields/Validate.csproj
index 89e9243940878a..d25be953ff91f4 100644
--- a/src/tests/Loader/classloader/RefFields/Validate.csproj
+++ b/src/tests/Loader/classloader/RefFields/Validate.csproj
@@ -2,6 +2,7 @@
true
Exe
+ true
diff --git a/src/tests/Loader/classloader/explicitlayout/NestedStructs/case03.csproj b/src/tests/Loader/classloader/explicitlayout/NestedStructs/case03.csproj
index 7308df24c65b72..09a937da38315d 100644
--- a/src/tests/Loader/classloader/explicitlayout/NestedStructs/case03.csproj
+++ b/src/tests/Loader/classloader/explicitlayout/NestedStructs/case03.csproj
@@ -2,6 +2,7 @@
Exe
enable
+ true
diff --git a/src/tests/Loader/classloader/explicitlayout/NestedStructs/case04.csproj b/src/tests/Loader/classloader/explicitlayout/NestedStructs/case04.csproj
index 6b6ec60a598c27..f9048994f863ee 100644
--- a/src/tests/Loader/classloader/explicitlayout/NestedStructs/case04.csproj
+++ b/src/tests/Loader/classloader/explicitlayout/NestedStructs/case04.csproj
@@ -2,6 +2,7 @@
Exe
enable
+ true
diff --git a/src/tests/Loader/classloader/explicitlayout/NestedStructs/case05.csproj b/src/tests/Loader/classloader/explicitlayout/NestedStructs/case05.csproj
index e84314924ecab0..1540275888e063 100644
--- a/src/tests/Loader/classloader/explicitlayout/NestedStructs/case05.csproj
+++ b/src/tests/Loader/classloader/explicitlayout/NestedStructs/case05.csproj
@@ -2,6 +2,7 @@
Exe
enable
+ true
diff --git a/src/tests/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/Directory.Build.props b/src/tests/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/Directory.Build.props
new file mode 100644
index 00000000000000..fb357e9d5c42ed
--- /dev/null
+++ b/src/tests/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/Directory.Build.props
@@ -0,0 +1,7 @@
+
+
+
+
+ true
+
+
\ No newline at end of file
diff --git a/src/tests/baseservices/typeequivalence/simple/Simple.csproj b/src/tests/baseservices/typeequivalence/simple/Simple.csproj
index e8bb27e9d97873..37e57397b2c53a 100644
--- a/src/tests/baseservices/typeequivalence/simple/Simple.csproj
+++ b/src/tests/baseservices/typeequivalence/simple/Simple.csproj
@@ -2,6 +2,7 @@
Exe
True
+ true
diff --git a/src/tests/build.proj b/src/tests/build.proj
index 593b4556e45c4e..a226aa1e44aafe 100644
--- a/src/tests/build.proj
+++ b/src/tests/build.proj
@@ -109,7 +109,9 @@
-
+
+
+
@@ -121,7 +123,7 @@
-
+
@@ -393,6 +395,8 @@
+
+