mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-01-16 01:31:06 +01:00
(stable) Promote 2016 Week 5
This commit is contained in:
commit
0553cb8d41
1 changed files with 10 additions and 0 deletions
|
@ -9,7 +9,17 @@ final class NoseTestEngine extends ArcanistUnitTestEngine {
|
|||
|
||||
private $parser;
|
||||
|
||||
protected function supportsRunAllTests() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function run() {
|
||||
if ($this->getRunAllTests()) {
|
||||
$root = $this->getWorkingCopy()->getProjectRoot();
|
||||
$all_tests = glob(Filesystem::resolvePath("$root/tests/**/test_*.py"));
|
||||
return $this->runTests($all_tests, $root);
|
||||
}
|
||||
|
||||
$paths = $this->getPaths();
|
||||
|
||||
$affected_tests = array();
|
||||
|
|
Loading…
Reference in a new issue