diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 18:01:57 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 18:01:57 +0000 |
commit | 88c643b6fec27eec436c8d138fee6346e92337d6 (patch) | |
tree | 82cd13b2f3cde1c9e5f79689ba4e6ba67694843f /lit/Unit/lit.cfg.py | |
parent | 94994d372d014ce4c8758b9605d63fae651bd8aa (diff) |
Notes
Diffstat (limited to 'lit/Unit/lit.cfg.py')
-rw-r--r-- | lit/Unit/lit.cfg.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lit/Unit/lit.cfg.py b/lit/Unit/lit.cfg.py deleted file mode 100644 index 3633c73a1d40..000000000000 --- a/lit/Unit/lit.cfg.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- Python -*- - -# Configuration file for the 'lit' test runner. - -import os -import sys - -import lit.formats -from lit.llvm import llvm_config - -# name: The name of this test suite. -config.name = 'lldb-Unit' - -# suffixes: A list of file extensions to treat as test files. -config.suffixes = [] - -# test_source_root: The root path where unit test binaries are located. -# test_exec_root: The root path where tests should be run. -config.test_source_root = os.path.join(config.lldb_obj_root, 'unittests') -config.test_exec_root = config.test_source_root - -# One of our unit tests dynamically links against python.dll, and on Windows -# it needs to be able to find it at runtime. This is fine if Python is on your -# system PATH, but if it's not, then this unit test executable will fail to run. -# We can solve this by forcing the Python directory onto the system path here. -llvm_config.with_system_environment('PATH') -llvm_config.with_environment('PATH', os.path.dirname(sys.executable), append_path=True) - -# testFormat: The test format to use to interpret tests. -config.test_format = lit.formats.GoogleTest(config.llvm_build_mode, 'Tests') |