[cfe-commits] r114869 - /cfe/trunk/test/lit.cfg

Nico Weber nicolasweber at gmx.de
Mon Sep 27 13:40:32 PDT 2010


Author: nico
Date: Mon Sep 27 15:40:32 2010
New Revision: 114869

URL: http://llvm.org/viewvc/llvm-project?rev=114869&view=rev
Log:
Let lit give helpful advice if 'make test' was not run yet.

Modified:
    cfe/trunk/test/lit.cfg

Modified: cfe/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg?rev=114869&r1=114868&r2=114869&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Mon Sep 27 15:40:32 2010
@@ -88,7 +88,8 @@
     # Check that the site specific configuration exists.
     site_cfg = os.path.join(clang_obj_root, 'test', 'lit.site.cfg')
     if not os.path.exists(site_cfg):
-        lit.fatal('No site specific configuration available!')
+        lit.fatal('No site specific configuration available! You may need to '
+                  'run "make test" in your Clang build directory.')
 
     # Okay, that worked. Notify the user of the automagic, and reconfigure.
     lit.note('using out-of-tree build at %r' % clang_obj_root)





More information about the cfe-commits mailing list