forked from OSchip/llvm-project
[runtimes] Rename newformat to just format, now that the old format has been removed
This commit is contained in:
parent
b58b61c4b7
commit
70f6389257
|
@ -1,6 +1,6 @@
|
|||
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')
|
|
@ -1,7 +0,0 @@
|
|||
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
|
|
@ -60,8 +60,8 @@ config.recursiveExpansionLimit = 10
|
|||
# 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
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
#===----------------------------------------------------------------------===##
|
||||
|
||||
import libcxx.test.newformat
|
||||
import libcxx.test.format
|
||||
import lit
|
||||
import lit.util
|
||||
import os
|
||||
|
@ -29,7 +29,7 @@ def _executeScriptInternal(test, commands):
|
|||
|
||||
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',
|
||||
|
@ -42,7 +42,7 @@ def _executeScriptInternal(test, commands):
|
|||
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):
|
||||
|
|
|
@ -54,8 +54,8 @@ config.recursiveExpansionLimit = 10
|
|||
# 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
|
||||
|
|
|
@ -48,8 +48,8 @@ config.recursiveExpansionLimit = 10
|
|||
# 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
|
||||
|
|
Loading…
Reference in New Issue