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

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



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



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