[llvm] r174018 - [lit] Run the ShUtil tests as part of the test suite.

Daniel Dunbar daniel at zuster.org
Wed Jan 30 17:23:26 PST 2013


Author: ddunbar
Date: Wed Jan 30 19:23:26 2013
New Revision: 174018

URL: http://llvm.org/viewvc/llvm-project?rev=174018&view=rev
Log:
[lit] Run the ShUtil tests as part of the test suite.

Added:
    llvm/trunk/utils/lit/tests/shell-parsing.py
Modified:
    llvm/trunk/utils/lit/tests/lit.cfg

Modified: llvm/trunk/utils/lit/tests/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/tests/lit.cfg?rev=174018&r1=174017&r2=174018&view=diff
==============================================================================
--- llvm/trunk/utils/lit/tests/lit.cfg (original)
+++ llvm/trunk/utils/lit/tests/lit.cfg Wed Jan 30 19:23:26 2013
@@ -23,6 +23,7 @@ config.test_exec_root = config.test_sour
 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')))

Added: llvm/trunk/utils/lit/tests/shell-parsing.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/tests/shell-parsing.py?rev=174018&view=auto
==============================================================================
--- llvm/trunk/utils/lit/tests/shell-parsing.py (added)
+++ llvm/trunk/utils/lit/tests/shell-parsing.py Wed Jan 30 19:23:26 2013
@@ -0,0 +1,3 @@
+# Just run the ShUtil unit tests.
+#
+# RUN: python -m lit.ShUtil





More information about the llvm-commits mailing list