diff --git a/tests/xharness/Jenkins.cs b/tests/xharness/Jenkins.cs index a5a9551f7b..34e04e7a78 100644 --- a/tests/xharness/Jenkins.cs +++ b/tests/xharness/Jenkins.cs @@ -481,18 +481,17 @@ namespace xharness }; Tasks.Add (runBTouch); - if (IncludeMmpTest) { - var run = new MakeTask - { - Jenkins = this, - Platform = TestPlatform.Mac, - TestName = "MMP Regression Tests", - Target = "all -j" + Environment.ProcessorCount, - WorkingDirectory = Path.Combine (Harness.RootDirectory, "mmptest", "regression"), - }; - run.Environment.Add ("BUILD_REVISION", "jenkins"); // This will print "@MonkeyWrench: AddFile: " lines, which we can use to get the log filenames. - Tasks.Add (run); - } + var run_mmp = new MakeTask + { + Jenkins = this, + Platform = TestPlatform.Mac, + TestName = "MMP Regression Tests", + Target = "all -j" + Environment.ProcessorCount, + WorkingDirectory = Path.Combine (Harness.RootDirectory, "mmptest", "regression"), + Ignored = !IncludeMmpTest, + }; + run_mmp.Environment.Add ("BUILD_REVISION", "jenkins"); // This will print "@MonkeyWrench: AddFile: " lines, which we can use to get the log filenames. + Tasks.Add (run_mmp); var runMacBindingProject = new MakeTask {