From: Nico Weber Date: Mon, 27 Sep 2010 20:40:32 +0000 (+0000) Subject: Let lit give helpful advice if 'make test' was not run yet. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4a88efcab72b2df19428699bcec8461d9fd55a4;p=clang Let lit give helpful advice if 'make test' was not run yet. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114869 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lit.cfg b/test/lit.cfg index 3ed1c7211d..19e8b0b7ab 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -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)