[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:
Родитель
c0c1136d70
Коммит
71e61b4b04
|
@ -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
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче