diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-01-31 01:23:26 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-01-31 01:23:26 +0000 |
commit | c9fd0a57f7ab21e8d48474f862faf896cd196941 (patch) | |
tree | 6798ed36125309f8bc249f806be6521d37b916e4 | |
parent | 84d3c61c0394b6663cbbe5683b489dc9d698e63f (diff) | |
download | external_llvm-c9fd0a57f7ab21e8d48474f862faf896cd196941.zip external_llvm-c9fd0a57f7ab21e8d48474f862faf896cd196941.tar.gz external_llvm-c9fd0a57f7ab21e8d48474f862faf896cd196941.tar.bz2 |
[lit] Run the ShUtil tests as part of the test suite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174018 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | utils/lit/tests/lit.cfg | 1 | ||||
-rw-r--r-- | utils/lit/tests/shell-parsing.py | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/utils/lit/tests/lit.cfg b/utils/lit/tests/lit.cfg index b32c354..32760ce 100644 --- a/utils/lit/tests/lit.cfg +++ b/utils/lit/tests/lit.cfg @@ -23,6 +23,7 @@ config.test_exec_root = config.test_source_root config.target_triple = None src_root = os.path.join(config.test_source_root, '..') +config.environment['PYTHONPATH'] = src_root config.substitutions.append(('%{src_root}', src_root)) config.substitutions.append(('%{inputs}', os.path.join( src_root, 'tests', 'Inputs'))) diff --git a/utils/lit/tests/shell-parsing.py b/utils/lit/tests/shell-parsing.py new file mode 100644 index 0000000..f644132 --- /dev/null +++ b/utils/lit/tests/shell-parsing.py @@ -0,0 +1,3 @@ +# Just run the ShUtil unit tests. +# +# RUN: python -m lit.ShUtil |