From 270c2b13a047d90c2050911e1232e00f0e7511a4 Mon Sep 17 00:00:00 2001 From: Bruce Forstall Date: Tue, 15 Oct 2024 11:45:20 -0700 Subject: [PATCH] Introduce a mechanism to disable CLR tests under SuperPMI collection (#108873) It should be _extremely_ rare to need to disable a test during SuperPMI collection. However, one case was found, so introduce the ability to do so. Use `true` in a test project file. (which also requires `true`) Fixes #108215 --- src/tests/Common/CLRTest.Execute.Bash.targets | 13 +++++++++++++ src/tests/Common/CLRTest.Execute.Batch.targets | 14 ++++++++++++++ .../stackoverflow/stackoverflowtester.csproj | 5 +++-- 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/tests/Common/CLRTest.Execute.Bash.targets b/src/tests/Common/CLRTest.Execute.Bash.targets index 23205302d972e..ab25c3e0b77ec 100644 --- a/src/tests/Common/CLRTest.Execute.Bash.targets +++ b/src/tests/Common/CLRTest.Execute.Bash.targets @@ -127,6 +127,19 @@ then exit $(IncompatibleTestBashScriptExitCode) fi ]]> + + + - + true false true + + true -