summaryrefslogtreecommitdiffstats
path: root/www/hacking.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/hacking.html')
-rw-r--r--www/hacking.html34
1 files changed, 13 insertions, 21 deletions
diff --git a/www/hacking.html b/www/hacking.html
index 7bd718b..978c99f 100644
--- a/www/hacking.html
+++ b/www/hacking.html
@@ -185,6 +185,10 @@
(path to llvm)/llvm/tools/clang/test
</tt>
+ <p>For CMake builds e.g. on Windows with Visual Studio, you will need
+ to specify your build configuration (Debug, Release, etc.) via
+ <tt>--param=build_config=(build config)</tt>.</p>
+
<p>To run a single test:</p>
<tt>
@@ -202,30 +206,18 @@
<p>The -sv option above tells the runner to show the test output if
any tests failed, to help you determine the cause of failure.</p>
- <p>Note that a few tests currently fail on Windows. We are working to
- correct this. Therefore your output might look something like this:</p>
+ <p>Your output might look something like this:</p>
-<tt><pre>lit.py: lit.cfg:152: note: using clang: 'C:/Tools/llvm/bin/Debug\\clang.EXE'
--- Testing: 1723 tests, 2 threads --
-FAIL: Clang::(test path) (659 of 1723)
-******************** TEST 'Clang::(test path)' FAILED ********************
-Script:
- (commands run)
-Command Output (stdout):
- (output here)
-Command Output (stderr):
- (output here)
-********************
-Testing Time: 83.66s
-********************
-Failing Tests (1):
- Clang::(test path)
- Expected Passes : 1704
- Expected Failures : 18
- Unexpected Failures: 1
+<tt><pre>lit.py: lit.cfg:152: note: using clang: 'C:/Tools/llvm/bin/Release\\clang.EXE'
+-- Testing: Testing: 2534 tests, 4 threads --
+Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
+Testing Time: 81.52s
+ Expected Passes : 2503
+ Expected Failures : 28
+ Unsupported Tests : 3
</pre></tt>
- <p>The last statistic, "Unexpected Failures", is the important one.</p>
+ <p>The statistic, "Unexpected Failures" (not shown if all tests pass), is the important one.</p>
<!--=====================================================================-->
<h2 id="patches">Creating Patch Files</h2>
OpenPOWER on IntegriCloud