[tor-commits] [stem/master] Don't run static tests with the --test argument

atagar at torproject.org atagar at torproject.org
Mon Jan 6 05:55:32 UTC 2014


commit 4cf84706db2416d11bc2ccd82a83a2397384cf0d
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun Jan 5 21:39:00 2014 -0800

    Don't run static tests with the --test argument
    
    When we're running a single test it sucks to wait for static checks. They're
    now quick, but not that quick.
---
 run_tests.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run_tests.py b/run_tests.py
index 90493da..00cf381 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -153,7 +153,7 @@ def main():
 
   pyflakes_task, pep8_task = None, None
 
-  if not stem.prereq.is_python_3():
+  if not stem.prereq.is_python_3() and not args.test_prefix:
     if test.util.is_pyflakes_available():
       pyflakes_task = PYFLAKES_TASK
 





More information about the tor-commits mailing list