-import libcxx.test.newformat
+import libcxx.test.format
# The tests in this directory need to know whether Clang-verify is supported
# to work properly.
-if libcxx.test.newformat._supportsVerify(config):
+if libcxx.test.format._supportsVerify(config):
config.available_features.add('verify-support')
+++ /dev/null
-import os
-import site
-site.addsitedir(os.path.join(os.path.dirname(__file__), '..', '..', '..', '..', 'utils'))
-import libcxx.test.newformat
-
-if not isinstance(config.test_format, libcxx.test.newformat.CxxStandardLibraryTest):
- config.unsupported = True
# Infer the test_exec_root from the libcxx_object root.
config.test_exec_root = os.path.join(config.libcxx_obj_root, 'test')
-import libcxx.test.newformat
-config.test_format = libcxx.test.newformat.CxxStandardLibraryTest()
+import libcxx.test.format
+config.test_format = libcxx.test.format.CxxStandardLibraryTest()
lit_config.note('Using configuration variant: {}'.format(config.configuration_variant))
import libcxx.test.config
#
#===----------------------------------------------------------------------===##
-import libcxx.test.newformat
+import libcxx.test.format
import lit
import lit.util
import os
TODO: This really should be easier to access from Lit itself
"""
- parsedCommands = libcxx.test.newformat.parseScript(test, preamble=commands)
+ parsedCommands = libcxx.test.format.parseScript(test, preamble=commands)
litConfig = lit.LitConfig.LitConfig(
progname='lit',
debug=False,
isWindows=platform.system() == 'Windows',
params={})
- _, tmpBase = libcxx.test.newformat._getTempPaths(test)
+ _, tmpBase = libcxx.test.format._getTempPaths(test)
execDir = os.path.dirname(test.getExecPath())
for d in (execDir, os.path.dirname(tmpBase)):
if not os.path.exists(d):
# Infer the test_exec_root from the build directory.
config.test_exec_root = os.path.join(config.libcxxabi_obj_root, 'test')
-import libcxx.test.newformat
-config.test_format = libcxx.test.newformat.CxxStandardLibraryTest()
+import libcxx.test.format
+config.test_format = libcxx.test.format.CxxStandardLibraryTest()
lit_config.note('Using configuration variant: libcxxabi')
import libcxxabi.test.config
# Infer the test_exec_root from the build directory.
config.test_exec_root = os.path.join(config.libunwind_obj_root, 'test')
-import libcxx.test.newformat
-config.test_format = libcxx.test.newformat.CxxStandardLibraryTest()
+import libcxx.test.format
+config.test_format = libcxx.test.format.CxxStandardLibraryTest()
lit_config.note('Using configuration variant: libunwind')
import libunwind.test.config