]> granicus.if.org Git - clang/commitdiff
Let lit give helpful advice if 'make test' was not run yet.
authorNico Weber <nicolasweber@gmx.de>
Mon, 27 Sep 2010 20:40:32 +0000 (20:40 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 27 Sep 2010 20:40:32 +0000 (20:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114869 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.cfg

index 3ed1c7211d1b6874898a9639f81fe945736f6306..19e8b0b7aba608e642295f4eebcf200103a030eb 100644 (file)
@@ -88,7 +88,8 @@ if config.test_exec_root is None:
     # 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)