[xharness] Add support for [skip|run]-all-tests labels. (#1208)
This commit is contained in:
Родитель
4c8898f3ee
Коммит
db00a33848
|
@ -197,6 +197,12 @@ namespace xharness
|
|||
} else if (labels.Contains ("run-" + testname + "-tests")) {
|
||||
MainLog.WriteLine ("Enabled '{0}' tests because the label 'run-{0}-tests' is set.", testname);
|
||||
value = true;
|
||||
} else if (labels.Contains ("skip-all-tests")) {
|
||||
MainLog.WriteLine ("Disabled '{0}' tests because the label 'skip-all-tests' is set.", testname);
|
||||
value = false;
|
||||
} else if (labels.Contains ("run-all-tests")) {
|
||||
MainLog.WriteLine ("Enabled '{0}' tests because the label 'run-all-tests' is set.", testname);
|
||||
value = true;
|
||||
}
|
||||
// respect any default value
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче