Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13197138
D14363.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
529 B
Referenced Files
None
Subscribers
None
D14363.diff
View Options
diff --git a/src/unit/engine/NoseTestEngine.php b/src/unit/engine/NoseTestEngine.php
--- a/src/unit/engine/NoseTestEngine.php
+++ b/src/unit/engine/NoseTestEngine.php
@@ -16,7 +16,8 @@
public function run() {
if ($this->getRunAllTests()) {
$root = $this->getWorkingCopy()->getProjectRoot();
- return $this->runTests(array($root), './');
+ $all_tests = glob(Filesystem::resolvePath("$root/tests/**/test_*.py"));
+ return $this->runTests($all_tests, $root);
}
$paths = $this->getPaths();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, May 13, 11:51 PM (4 w, 6 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6294189
Default Alt Text
D14363.diff (529 B)
Attached To
Mode
D14363: Make `arc unit` NoseTestEngine work in a sub-dir
Attached
Detach File
Event Timeline
Log In to Comment