[tor-commits] [stem/master] Still run tests if style checking is the only thing

atagar at torproject.org atagar at torproject.org
Mon Jan 7 09:07:59 UTC 2013


commit 4c7af528d2ab80737ff6ec09d88d194ba12cce2f
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun Jan 6 19:38:42 2013 -0800

    Still run tests if style checking is the only thing
    
    Revising the check where we abort if there's no tests to run.
---
 run_tests.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/run_tests.py b/run_tests.py
index ed95af3..d005817 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -296,7 +296,7 @@ if __name__ == '__main__':
   
   load_user_configuration(test_config)
   
-  if not CONFIG["argument.unit"] and not CONFIG["argument.integ"]:
+  if not CONFIG["argument.unit"] and not CONFIG["argument.integ"] and not CONFIG["argument.style"]:
     test.output.print_line("Nothing to run (for usage provide --help)\n")
     sys.exit()
   





More information about the tor-commits mailing list