diff options
| author | Eric Fiselier <eric@efcs.ca> | 2015-01-22 18:05:58 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2015-01-22 18:05:58 +0000 |
| commit | 74e82fa4f3c07aa388dfe41ebc300aeeaeb5a9cb (patch) | |
| tree | 72d89e61214dc603baa8166dc2aa8005889dd62b /libcxx/www/lit_usage.html | |
| parent | d4255baedecbcf2fd95bff327fe761b656fdc1ca (diff) | |
| download | bcm5719-llvm-74e82fa4f3c07aa388dfe41ebc300aeeaeb5a9cb.tar.gz bcm5719-llvm-74e82fa4f3c07aa388dfe41ebc300aeeaeb5a9cb.zip | |
[libcxx] Allow use of ShTest in libc++ tests along with other changes.
Summary:
This patch allows the use of LIT's ShTest format in the libc++ test suite. ShTests have the suffix '.sh.cpp'. It also introduces a series of other changes. These changes are:
- More functionality including parsing test metadata has been moved into LIT.
- LibcxxTestFormat now supports multi-part suffixes.
- the `CXXCompiler` functionality has been used to shrink the size of LibcxxTestFormat.
- The recursive loading of the site config has been turned into `libcxx.test.config.loadSiteConfig` so it can be used with libc++abi.
- Temporary files are now created in the build directory of libc++. This follows how it is down in ShTest.
- `not.py` was added as a utility executable that mirrors the functionality of LLVM's `not` executable.
- The first ShTest test was added under test/libcxx/double_include.sh.cpp
Reviewers: jroelofs, danalbert
Reviewed By: danalbert
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D7073
llvm-svn: 226844
Diffstat (limited to 'libcxx/www/lit_usage.html')
| -rw-r--r-- | libcxx/www/lit_usage.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libcxx/www/lit_usage.html b/libcxx/www/lit_usage.html index 40036eb0ddd..645143fa0bd 100644 --- a/libcxx/www/lit_usage.html +++ b/libcxx/www/lit_usage.html @@ -132,6 +132,16 @@ Note: This does not use the installed headers. </p> <p> +<h3 class="lit-option">use_lit_shell=<bool></h3> +<blockquote class="lit-option-desc"> +Enable or disable the use of LIT's internal shell in ShTests. If the enviroment +variable <code>LIT_USE_INTERNAL_SHELL</code> is present then that is used as the +default value. Otherwise the default value is <code>True</code> on Windows and +<code>False</code> on every other platform. +</blockquote> +</p> + +<p> <h3 class="lit-option">no_default_flags=<bool></h3> <blockquote class="lit-option-desc"> <b>Default: </b><code>False</code></br> |

