[Lldb-commits] [lldb] r133458 - /lldb/trunk/test/dotest.py

Peter Collingbourne peter at pcc.me.uk
Mon Jun 20 12:06:29 PDT 2011


Author: pcc
Date: Mon Jun 20 14:06:29 2011
New Revision: 133458

URL: http://llvm.org/viewvc/llvm-project?rev=133458&view=rev
Log:
Have dotest.py search for test cases in its own directory by default,
rather than the current directory.

This is required to run the test suite outside of the source tree.

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=133458&r1=133457&r2=133458&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Mon Jun 20 14:06:29 2011
@@ -139,8 +139,8 @@
 # Default verbosity is 0.
 verbose = 0
 
-# By default, search from the current working directory.
-testdirs = [ os.getcwd() ]
+# By default, search from the script directory.
+testdirs = [ sys.path[0] ]
 
 # Separator string.
 separator = '-' * 70





More information about the lldb-commits mailing list