[cfe-commits] r78271 - /cfe/trunk/utils/test/MultiTestRunner.py
Daniel Dunbar
daniel at zuster.org
Wed Aug 5 18:41:38 PDT 2009
Author: ddunbar
Date: Wed Aug 5 20:41:03 2009
New Revision: 78271
URL: http://llvm.org/viewvc/llvm-project?rev=78271&view=rev
Log:
Fix locating the 'lit.cfg' file when running on only a single file in the
current directory.
Modified:
cfe/trunk/utils/test/MultiTestRunner.py
Modified: cfe/trunk/utils/test/MultiTestRunner.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/test/MultiTestRunner.py?rev=78271&r1=78270&r2=78271&view=diff
==============================================================================
--- cfe/trunk/utils/test/MultiTestRunner.py (original)
+++ cfe/trunk/utils/test/MultiTestRunner.py Wed Aug 5 20:41:03 2009
@@ -288,7 +288,8 @@
if opts.config:
opts.root = os.path.dirname(opts.config)
else:
- opts.root = os.path.commonprefix(inputs)
+ opts.root = os.path.commonprefix([os.path.abspath(p)
+ for p in inputs])
# Find the config file, if not specified.
if not opts.config:
More information about the cfe-commits
mailing list