1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-01-16 09:41:06 +01:00

(stable) Promote 2016 Week 5

This commit is contained in:
epriestley 2016-01-29 16:43:24 -08:00
commit 0553cb8d41

View file

@ -9,7 +9,17 @@ final class NoseTestEngine extends ArcanistUnitTestEngine {
private $parser; private $parser;
protected function supportsRunAllTests() {
return true;
}
public function run() { 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(); $paths = $this->getPaths();
$affected_tests = array(); $affected_tests = array();