[Lldb-commits] [lldb] r374434 - [test] Cleanup top-level lit.cfg.py
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 10 12:51:47 PDT 2019
Author: jdevlieghere
Date: Thu Oct 10 12:51:47 2019
New Revision: 374434
URL: http://llvm.org/viewvc/llvm-project?rev=374434&view=rev
Log:
[test] Cleanup top-level lit.cfg.py
Modified:
lldb/trunk/test/lit.cfg.py
Modified: lldb/trunk/test/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lit.cfg.py?rev=374434&r1=374433&r2=374434&view=diff
==============================================================================
--- lldb/trunk/test/lit.cfg.py (original)
+++ lldb/trunk/test/lit.cfg.py Thu Oct 10 12:51:47 2019
@@ -1,41 +1,15 @@
# -*- Python -*-
import os
-import platform
-import re
-import shutil
-import site
-import sys
import lit.formats
from lit.llvm import llvm_config
-from lit.llvm.subst import FindTool
-from lit.llvm.subst import ToolSubst
-from distutils.spawn import find_executable
# This is the top level configuration. Most of these configuration options will
# be overriden by individual lit configuration files in the test
-# subdirectories.
+# subdirectories. Anything configured here will *not* be loaded when pointing
+# lit at on of the subdirectories.
-# name: The name of this test suite.
config.name = 'lldb'
-
-# testFormat: The test format to use to interpret tests.
-config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
-
-# suffixes: A list of file extensions to treat as test files. This is overriden
-# by individual lit.local.cfg files in the test subdirectories.
-config.suffixes = ['.test', '.cpp', '.s']
-
-# excludes: A list of directories to exclude from the testsuite. The 'Inputs'
-# subdirectories contain auxiliary inputs for various tests in their parent
-# directories.
-config.excludes = ['Inputs', 'CMakeLists.txt', 'README.txt', 'LICENSE.txt']
-
-# test_source_root: The root path where tests are located.
config.test_source_root = os.path.dirname(__file__)
-
-# test_exec_root: The root path where tests should be run.
config.test_exec_root = os.path.join(config.lldb_obj_root, 'test')
-
-llvm_config.use_default_substitutions()
More information about the lldb-commits
mailing list