Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1880
make arc unit NoseTestEngine work with `arc diff --everything`
Active
Public
Actions
Authored by
20after4
on Oct 28 2015, 8:28 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F918028: Masterwork From Distant Lands
Oct 28 2015, 8:28 PM
2015-10-28 20:28:55 (UTC+0)
Subscribers
None
diff --git a/src/unit/engine/NoseTestEngine.php b/src/unit/engine/NoseTestEngine.php
index e81bcb6..bea8c49 100644
--- a/src/unit/engine/NoseTestEngine.php
+++ b/src/unit/engine/NoseTestEngine.php
@@ -9,7 +9,16 @@ final class NoseTestEngine extends ArcanistUnitTestEngine {
private $parser;
+ public function supportsRunAllTests() {
+ return true;
+ }
+
public function run() {
+ if ($this->getRunAllTests()) {
+ $affected_tests = array(Filesystem::resolvePath("./"));
+ return $this->runTests($affected_tests, './');
+ }
+
$paths = $this->getPaths();
$affected_tests = array();
Event Timeline
20after4
edited the content of this paste.
(Show Details)
Oct 28 2015, 8:28 PM
2015-10-28 20:28:55 (UTC+0)
20after4
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
20after4
updated the paste's language from
autodetect
to
autodetect
.
20after4
changed the title of this paste from
Masterwork From Distant Lands
to
make arc unit NoseTestEngine work with `arc diff --everything`
.
Oct 28 2015, 8:29 PM
2015-10-28 20:29:45 (UTC+0)
Log In to Comment