From 275a8505420733a9e4c662289f36522a1dabaa51 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Mon, 16 Apr 2012 05:04:45 +0000 Subject: [PATCH] Add note to hacking.html that running the test harness directly from the command-line requires making sure the relevant files are generated first. Patch by Matt Fowles, with some minor modifications. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154795 91177308-0d34-0410-b5e6-96231b3b80d8 --- www/hacking.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/www/hacking.html b/www/hacking.html index 2c11ce1896d2..aa13b8d0eb89 100644 --- a/www/hacking.html +++ b/www/hacking.html @@ -211,8 +211,16 @@

Testing using Visual Studio on Windows

Testing on the Command Line

-

To run all the tests from the command line, execute a command like - the following:

+

If you want more control over how the tests are run, it may + be convenient to run the test harness on the command-line directly. Before + running tests from the command line, you will need to ensure that + lit.site.cfg files have been created for your build. You can do + this by running the tests as described in the previous sections. Once the + tests have started running, you can stop them with control+C, as the + files are generated before running any tests.

+ +

Once that is done, to run all the tests from the command line, + execute a command like the following:

   python (path to llvm)\llvm\utils\lit\lit.py -sv