[Lldb-commits] [lldb] r121501 - /lldb/trunk/test/dotest.py
Johnny Chen
johnny.chen at apple.com
Fri Dec 10 11:02:23 PST 2010
Author: johnny
Date: Fri Dec 10 13:02:23 2010
New Revision: 121501
URL: http://llvm.org/viewvc/llvm-project?rev=121501&view=rev
Log:
Do not specify both '-a' and '+a' at the same time.
Modified:
lldb/trunk/test/dotest.py
Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=121501&r1=121500&r2=121501&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Fri Dec 10 13:02:23 2010
@@ -124,6 +124,7 @@
-a : don't do lldb Python API tests
use @python_api_test to decorate a test case as lldb Python API test
+a : just do lldb Python API tests
+ do not specify both '-a' and '+a' at the same time
-b : read a blacklist file specified after this option
-c : read a config file specified after this option
(see also lldb-trunk/example/test/usage-config)
@@ -370,6 +371,10 @@
print "Unknown option: ", sys.argv[index]
usage()
+ # Do not specify both '-a' and '+a' at the same time.
+ if dont_do_python_api_test and just_do_python_api_test:
+ usage()
+
# Gather all the dirs passed on the command line.
if len(sys.argv) > index:
testdirs = map(os.path.abspath, sys.argv[index:])
More information about the lldb-commits
mailing list