[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] The run_tests.py's -t argument aliased to two things
commit 34a900b5affc967f6d9717e527d32ad63a56d1c9
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Mon Feb 9 08:01:11 2015 -0800
The run_tests.py's -t argument aliased to two things
The '-t' argument was an alias for '--target' and '--test'. In practice and
according to the help output it was actually just the former. This souldn't
actually change anything, just clarifying the code. Found as part of...
https://trac.torproject.org/projects/tor/ticket/14804
---
run_tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/run_tests.py b/run_tests.py
index c0fa4be..dbead2d 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -378,7 +378,7 @@ def _get_args(argv):
args['run_targets'] = run_targets
args['attribute_targets'] = attribute_targets
- elif opt in ('-t', '--test'):
+ elif opt == '--test':
args['specific_test'] = arg
elif opt in ('-l', '--log'):
arg = arg.upper()
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits