From e965b1e9a6f23eafd11742cd4344eb8c1f1228cb Mon Sep 17 00:00:00 2001 From: Jeremy Koritzinsky Date: Tue, 6 Nov 2018 16:26:40 -0800 Subject: [PATCH] Disable running ILAsm round-trip build on COM Tests (#20822) * Disable running ILAsm round-trip build on COM (requires ilasm resource embedding support). * ILAsmTestKind -> IlrtTestKind --- tests/src/CLRTest.Execute.Bash.targets | 15 ++------------ tests/src/CLRTest.Jit.targets | 24 ++++++++++++++++++++-- .../Aggregation/NETClientAggregation.csproj | 3 +++ .../NETClients/IDispatch/NETClientIDispatch.csproj | 3 +++ .../Primitives/NETClientPrimitives.csproj | 3 +++ 5 files changed, 33 insertions(+), 15 deletions(-) diff --git a/tests/src/CLRTest.Execute.Bash.targets b/tests/src/CLRTest.Execute.Bash.targets index 6d0afc4..877c061 100644 --- a/tests/src/CLRTest.Execute.Bash.targets +++ b/tests/src/CLRTest.Execute.Bash.targets @@ -245,19 +245,8 @@ fi <_CLRTestRunFile Condition="'$(CLRTestIsHosted)'=='true'">"$CORE_ROOT/corerun" - + + $(BashIlrtTestLaunchCmds) + + $(CLRTestKind) + + + Returns="$(IlasmRoundTripBashScript);$(BashIlrtTestLaunchCmds)"> $([MSBuild]::MakeRelative($(OutputPath), $(_CLRTestToRunFileFullPath)).Replace("\","/")) $(MSBuildProjectName).exe @@ -106,6 +110,22 @@ then fi ]]> + + + + @@ -142,7 +162,7 @@ IF NOT DEFINED DoLink ( ) ]]> - {209912F9-0DA1-4184-9CC1-8D583BAF4A28};{87799F5D-CEBD-499D-BDBA-B2C6105CD766} App.manifest + + BuildOnly + true true diff --git a/tests/src/Interop/COM/NETClients/IDispatch/NETClientIDispatch.csproj b/tests/src/Interop/COM/NETClients/IDispatch/NETClientIDispatch.csproj index d98acf8..6d51df2 100644 --- a/tests/src/Interop/COM/NETClients/IDispatch/NETClientIDispatch.csproj +++ b/tests/src/Interop/COM/NETClients/IDispatch/NETClientIDispatch.csproj @@ -11,6 +11,9 @@ {209912F9-0DA1-4184-9CC1-8D583BAF4A28};{87799F5D-CEBD-499D-BDBA-B2C6105CD766} App.manifest + + BuildOnly + true true diff --git a/tests/src/Interop/COM/NETClients/Primitives/NETClientPrimitives.csproj b/tests/src/Interop/COM/NETClients/Primitives/NETClientPrimitives.csproj index ca4cac4..56fcc20 100644 --- a/tests/src/Interop/COM/NETClients/Primitives/NETClientPrimitives.csproj +++ b/tests/src/Interop/COM/NETClients/Primitives/NETClientPrimitives.csproj @@ -11,6 +11,9 @@ {209912F9-0DA1-4184-9CC1-8D583BAF4A28};{87799F5D-CEBD-499D-BDBA-B2C6105CD766} App.manifest + + BuildOnly + true true -- 2.7.4