[xharness] Always add the mmp test to the list of tests, but mark it as ignored when it shouldn't be executed. (#1580)

This commit is contained in:
Rolf Bjarne Kvinge 2017-01-27 17:02:21 +01:00 коммит произвёл GitHub
Родитель c0c1136d70
Коммит 71e61b4b04
1 изменённых файлов: 11 добавлений и 12 удалений

Просмотреть файл

@ -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: <log path>" 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: <log path>" lines, which we can use to get the log filenames.
Tasks.Add (run_mmp);
var runMacBindingProject = new MakeTask
{