From: Daniel Dunbar Date: Tue, 18 Nov 2008 17:56:21 +0000 (+0000) Subject: Add some quick notes on the clang tests and running the LLVM test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f6572c67a31af6ed15915d810329a6a0779dea3;p=clang Add some quick notes on the clang tests and running the LLVM test suite with clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59536 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/www/hacking.html b/www/hacking.html index b855a93acb..da414d66fc 100644 --- a/www/hacking.html +++ b/www/hacking.html @@ -21,6 +21,7 @@ @@ -56,6 +57,24 @@ wrapped Type* which you can then dump. + +

Testing

+ + +

Clang includes a basic regression suite in the tree which can be + run with make test from the top-level clang directory, or + just make in the test sub-directory. make + report can be used after running the tests to summarize the + results, and make VERBOSE=1 can be used to show more detail + about what is being run.

+ +

For more intensive changes, running + the LLVM + Test Suite with clang is recommended. Currently the best way to + override LLVMGCC, as in: make LLVMGCC="ccc -std=gnu89" + TEST=nightly report (make sure ccc is in your PATH or use the + full path).

+

LLVM IR Generation