Fix misspelling of environment throughout libc++

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@302600 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2017-05-09 23:47:20 +00:00
parent 867ae29929
commit 01c2bb3677
4 changed files with 5 additions and 5 deletions

View File

@@ -119,7 +119,7 @@ configuration. Passing the option on the command line will override the default.
.. option:: libcxx_site_config=<path/to/lit.site.cfg> .. option:: libcxx_site_config=<path/to/lit.site.cfg>
Specify the site configuration to use when running the tests. This option Specify the site configuration to use when running the tests. This option
overrides the enviroment variable LIBCXX_SITE_CONFIG. overrides the environment variable LIBCXX_SITE_CONFIG.
.. option:: cxx_headers=<path/to/headers> .. option:: cxx_headers=<path/to/headers>

View File

@@ -25,7 +25,7 @@ def sanitize(p):
""" """
Some of the tests restrict permissions to induce failures. Some of the tests restrict permissions to induce failures.
Before we delete the test enviroment, we have to walk it and re-raise the Before we delete the test environment, we have to walk it and re-raise the
permissions. permissions.
""" """
def clean_recursive(root_p): def clean_recursive(root_p):

View File

@@ -227,7 +227,7 @@ private:
} }
static inline void fs_helper_run(std::string const& raw_cmd) { static inline void fs_helper_run(std::string const& raw_cmd) {
// check that the fs test root in the enviroment matches what we were // check that the fs test root in the environment matches what we were
// compiled with. // compiled with.
static bool checked = checkDynamicTestRoot(); static bool checked = checkDynamicTestRoot();
((void)checked); ((void)checked);
@@ -246,7 +246,7 @@ private:
std::abort(); std::abort();
} }
if (std::string(fs_root) != LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT) { if (std::string(fs_root) != LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT) {
std::printf("ERROR: LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT enviroment variable" std::printf("ERROR: LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT environment variable"
" must have the same value as when the test was compiled.\n"); " must have the same value as when the test was compiled.\n");
std::printf(" Current Value: '%s'\n", fs_root); std::printf(" Current Value: '%s'\n", fs_root);
std::printf(" Expected Value: '%s'\n", LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT); std::printf(" Expected Value: '%s'\n", LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT);

View File

@@ -139,7 +139,7 @@ class LibcxxTestFormat(object):
# We can't run ShTest tests with a executor yet. # We can't run ShTest tests with a executor yet.
# For now, bail on trying to run them # For now, bail on trying to run them
return lit.Test.UNSUPPORTED, 'ShTest format not yet supported' return lit.Test.UNSUPPORTED, 'ShTest format not yet supported'
test.config.enviroment = dict(self.exec_env) test.config.environment = dict(self.exec_env)
return lit.TestRunner._runShTest(test, lit_config, return lit.TestRunner._runShTest(test, lit_config,
self.execute_external, script, self.execute_external, script,
tmpBase) tmpBase)