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.

llvm-svn: 133458
This commit is contained in:
Peter Collingbourne 2011-06-20 19:06:29 +00:00
parent 19f48d51f6
commit 28b5eb14c7
1 changed files with 2 additions and 2 deletions

View File

@ -139,8 +139,8 @@ svn_info = ''
# 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