[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 4cf84706db2416d11bc2ccd82a83a2397384cf0d
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
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
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits