[runtimes] Rename newformat to just format, now that the old format has been removed
authorLouis Dionne <ldionne@apple.com>
Tue, 30 Jun 2020 14:10:30 +0000 (10:10 -0400)
committerLouis Dionne <ldionne@apple.com>
Tue, 30 Jun 2020 14:10:30 +0000 (10:10 -0400)
62 files changed:
libcxx/test/libcxx/selftest/additional_compile_flags/substitutes-in-compile-flags.sh.cpp [moved from libcxx/test/libcxx/selftest/newformat/additional_compile_flags/substitutes-in-compile-flags.sh.cpp with 100% similarity]
libcxx/test/libcxx/selftest/additional_compile_flags/substitutes-in-run.sh.cpp [moved from libcxx/test/libcxx/selftest/newformat/additional_compile_flags/substitutes-in-run.sh.cpp with 100% similarity]
libcxx/test/libcxx/selftest/compile.fail.cpp/compile-error.compile.fail.cpp [moved from libcxx/test/libcxx/selftest/newformat/compile.fail.cpp/compile-error.compile.fail.cpp with 100% similarity]
libcxx/test/libcxx/selftest/compile.fail.cpp/compile-success.compile.fail.cpp [moved from libcxx/test/libcxx/selftest/newformat/compile.fail.cpp/compile-success.compile.fail.cpp with 100% similarity]
libcxx/test/libcxx/selftest/compile.pass.cpp/compile-error.compile.pass.cpp [moved from libcxx/test/libcxx/selftest/newformat/compile.pass.cpp/compile-error.compile.pass.cpp with 100% similarity]
libcxx/test/libcxx/selftest/compile.pass.cpp/compile-success.compile.pass.cpp [moved from libcxx/test/libcxx/selftest/newformat/compile.pass.cpp/compile-success.compile.pass.cpp with 100% similarity]
libcxx/test/libcxx/selftest/compile.pass.cpp/link-error.compile.pass.cpp [moved from libcxx/test/libcxx/selftest/newformat/compile.pass.cpp/link-error.compile.pass.cpp with 100% similarity]
libcxx/test/libcxx/selftest/compile.pass.cpp/run-error.compile.pass.cpp [moved from libcxx/test/libcxx/selftest/newformat/compile.pass.cpp/run-error.compile.pass.cpp with 100% similarity]
libcxx/test/libcxx/selftest/convenience_substitutions/build_run.sh.cpp [moved from libcxx/test/libcxx/selftest/newformat/convenience_substitutions/build_run.sh.cpp with 100% similarity]
libcxx/test/libcxx/selftest/fail.cpp/compile-failure.fail.cpp [moved from libcxx/test/libcxx/selftest/newformat/fail.cpp/compile-failure.fail.cpp with 100% similarity]
libcxx/test/libcxx/selftest/fail.cpp/compile-success.fail.cpp [moved from libcxx/test/libcxx/selftest/newformat/fail.cpp/compile-success.fail.cpp with 100% similarity]
libcxx/test/libcxx/selftest/fail.cpp/lit.local.cfg [moved from libcxx/test/libcxx/selftest/newformat/fail.cpp/lit.local.cfg with 65% similarity]
libcxx/test/libcxx/selftest/fail.cpp/no-diagnostics-unmarked.fail.cpp [moved from libcxx/test/libcxx/selftest/newformat/fail.cpp/no-diagnostics-unmarked.fail.cpp with 100% similarity]
libcxx/test/libcxx/selftest/fail.cpp/no-diagnostics.fail.cpp [moved from libcxx/test/libcxx/selftest/newformat/fail.cpp/no-diagnostics.fail.cpp with 100% similarity]
libcxx/test/libcxx/selftest/fail.cpp/right-diagnostic.fail.cpp [moved from libcxx/test/libcxx/selftest/newformat/fail.cpp/right-diagnostic.fail.cpp with 100% similarity]
libcxx/test/libcxx/selftest/fail.cpp/wrong-diagnostic.fail.cpp [moved from libcxx/test/libcxx/selftest/newformat/fail.cpp/wrong-diagnostic.fail.cpp with 100% similarity]
libcxx/test/libcxx/selftest/file_dependencies/a.txt [moved from libcxx/test/libcxx/selftest/newformat/file_dependencies/a.txt with 100% similarity]
libcxx/test/libcxx/selftest/file_dependencies/absolute-and-relative-paths.sh.cpp [moved from libcxx/test/libcxx/selftest/newformat/file_dependencies/absolute-and-relative-paths.sh.cpp with 100% similarity]
libcxx/test/libcxx/selftest/file_dependencies/dir/b.txt [moved from libcxx/test/libcxx/selftest/newformat/file_dependencies/dir/b.txt with 100% similarity]
libcxx/test/libcxx/selftest/file_dependencies/substitute-in-dependencies.sh.cpp [moved from libcxx/test/libcxx/selftest/newformat/file_dependencies/substitute-in-dependencies.sh.cpp with 100% similarity]
libcxx/test/libcxx/selftest/link.fail.cpp/compile-error.link.fail.cpp [moved from libcxx/test/libcxx/selftest/newformat/link.fail.cpp/compile-error.link.fail.cpp with 100% similarity]
libcxx/test/libcxx/selftest/link.fail.cpp/link-error.link.fail.cpp [moved from libcxx/test/libcxx/selftest/newformat/link.fail.cpp/link-error.link.fail.cpp with 100% similarity]
libcxx/test/libcxx/selftest/link.fail.cpp/link-success.link.fail.cpp [moved from libcxx/test/libcxx/selftest/newformat/link.fail.cpp/link-success.link.fail.cpp with 100% similarity]
libcxx/test/libcxx/selftest/link.pass.cpp/compile-error.link.pass.cpp [moved from libcxx/test/libcxx/selftest/newformat/link.pass.cpp/compile-error.link.pass.cpp with 100% similarity]
libcxx/test/libcxx/selftest/link.pass.cpp/link-error.link.pass.cpp [moved from libcxx/test/libcxx/selftest/newformat/link.pass.cpp/link-error.link.pass.cpp with 100% similarity]
libcxx/test/libcxx/selftest/link.pass.cpp/link-success.link.pass.cpp [moved from libcxx/test/libcxx/selftest/newformat/link.pass.cpp/link-success.link.pass.cpp with 100% similarity]
libcxx/test/libcxx/selftest/link.pass.cpp/run-error.link.pass.cpp [moved from libcxx/test/libcxx/selftest/newformat/link.pass.cpp/run-error.link.pass.cpp with 100% similarity]
libcxx/test/libcxx/selftest/newformat/lit.local.cfg [deleted file]
libcxx/test/libcxx/selftest/pass.cpp/compile-error.pass.cpp [moved from libcxx/test/libcxx/selftest/newformat/pass.cpp/compile-error.pass.cpp with 100% similarity]
libcxx/test/libcxx/selftest/pass.cpp/link-error.pass.cpp [moved from libcxx/test/libcxx/selftest/newformat/pass.cpp/link-error.pass.cpp with 100% similarity]
libcxx/test/libcxx/selftest/pass.cpp/run-error.pass.cpp [moved from libcxx/test/libcxx/selftest/newformat/pass.cpp/run-error.pass.cpp with 100% similarity]
libcxx/test/libcxx/selftest/pass.cpp/run-success.pass.cpp [moved from libcxx/test/libcxx/selftest/newformat/pass.cpp/run-success.pass.cpp with 100% similarity]
libcxx/test/libcxx/selftest/pass.cpp/werror.pass.cpp [moved from libcxx/test/libcxx/selftest/newformat/pass.cpp/werror.pass.cpp with 100% similarity]
libcxx/test/libcxx/selftest/pass.mm/compile-error.pass.mm [moved from libcxx/test/libcxx/selftest/newformat/pass.mm/compile-error.pass.mm with 100% similarity]
libcxx/test/libcxx/selftest/pass.mm/link-error.pass.mm [moved from libcxx/test/libcxx/selftest/newformat/pass.mm/link-error.pass.mm with 100% similarity]
libcxx/test/libcxx/selftest/pass.mm/no-arc.pass.mm [moved from libcxx/test/libcxx/selftest/newformat/pass.mm/no-arc.pass.mm with 100% similarity]
libcxx/test/libcxx/selftest/pass.mm/run-error.pass.mm [moved from libcxx/test/libcxx/selftest/newformat/pass.mm/run-error.pass.mm with 100% similarity]
libcxx/test/libcxx/selftest/pass.mm/run-success.pass.mm [moved from libcxx/test/libcxx/selftest/newformat/pass.mm/run-success.pass.mm with 100% similarity]
libcxx/test/libcxx/selftest/pass.mm/use-objective-cxx.pass.mm [moved from libcxx/test/libcxx/selftest/newformat/pass.mm/use-objective-cxx.pass.mm with 100% similarity]
libcxx/test/libcxx/selftest/remote-substitutions.sh.cpp [moved from libcxx/test/libcxx/selftest/newformat/remote-substitutions.sh.cpp with 100% similarity]
libcxx/test/libcxx/selftest/run.fail.cpp/compile-error.run.fail.cpp [moved from libcxx/test/libcxx/selftest/newformat/run.fail.cpp/compile-error.run.fail.cpp with 100% similarity]
libcxx/test/libcxx/selftest/run.fail.cpp/link-error.run.fail.cpp [moved from libcxx/test/libcxx/selftest/newformat/run.fail.cpp/link-error.run.fail.cpp with 100% similarity]
libcxx/test/libcxx/selftest/run.fail.cpp/run-error.run.fail.cpp [moved from libcxx/test/libcxx/selftest/newformat/run.fail.cpp/run-error.run.fail.cpp with 100% similarity]
libcxx/test/libcxx/selftest/run.fail.cpp/run-success.run.fail.cpp [moved from libcxx/test/libcxx/selftest/newformat/run.fail.cpp/run-success.run.fail.cpp with 100% similarity]
libcxx/test/libcxx/selftest/sh.cpp/empty.sh.cpp [moved from libcxx/test/libcxx/selftest/newformat/sh.cpp/empty.sh.cpp with 100% similarity]
libcxx/test/libcxx/selftest/sh.cpp/run-error.sh.cpp [moved from libcxx/test/libcxx/selftest/newformat/sh.cpp/run-error.sh.cpp with 100% similarity]
libcxx/test/libcxx/selftest/sh.cpp/run-success.sh.cpp [moved from libcxx/test/libcxx/selftest/newformat/sh.cpp/run-success.sh.cpp with 100% similarity]
libcxx/test/libcxx/selftest/sh.cpp/substitutions.sh.cpp [moved from libcxx/test/libcxx/selftest/newformat/sh.cpp/substitutions.sh.cpp with 100% similarity]
libcxx/test/libcxx/selftest/sh.cpp/werror.sh.cpp [moved from libcxx/test/libcxx/selftest/newformat/sh.cpp/werror.sh.cpp with 100% similarity]
libcxx/test/libcxx/selftest/shell-escape-pipes.sh.cpp [moved from libcxx/test/libcxx/selftest/newformat/shell-escape-pipes.sh.cpp with 100% similarity]
libcxx/test/libcxx/selftest/shell-escape.sh.cpp [moved from libcxx/test/libcxx/selftest/newformat/shell-escape.sh.cpp with 100% similarity]
libcxx/test/libcxx/selftest/tmpdir-exists.sh.cpp [moved from libcxx/test/libcxx/selftest/newformat/tmpdir-exists.sh.cpp with 100% similarity]
libcxx/test/libcxx/selftest/verify.cpp/no-diagnostics-unmarked.verify.cpp [moved from libcxx/test/libcxx/selftest/newformat/verify.cpp/no-diagnostics-unmarked.verify.cpp with 100% similarity]
libcxx/test/libcxx/selftest/verify.cpp/no-diagnostics.verify.cpp [moved from libcxx/test/libcxx/selftest/newformat/verify.cpp/no-diagnostics.verify.cpp with 100% similarity]
libcxx/test/libcxx/selftest/verify.cpp/no-werror.verify.cpp [moved from libcxx/test/libcxx/selftest/newformat/verify.cpp/no-werror.verify.cpp with 100% similarity]
libcxx/test/libcxx/selftest/verify.cpp/right-diagnostic.verify.cpp [moved from libcxx/test/libcxx/selftest/newformat/verify.cpp/right-diagnostic.verify.cpp with 100% similarity]
libcxx/test/libcxx/selftest/verify.cpp/wrong-diagnostic.verify.cpp [moved from libcxx/test/libcxx/selftest/newformat/verify.cpp/wrong-diagnostic.verify.cpp with 100% similarity]
libcxx/test/lit.site.cfg.in
libcxx/utils/libcxx/test/dsl.py
libcxx/utils/libcxx/test/format.py [moved from libcxx/utils/libcxx/test/newformat.py with 100% similarity]
libcxxabi/test/lit.site.cfg.in
libunwind/test/lit.site.cfg.in

@@ -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')
diff --git a/libcxx/test/libcxx/selftest/newformat/lit.local.cfg b/libcxx/test/libcxx/selftest/newformat/lit.local.cfg
deleted file mode 100644 (file)
index 0f75e02..0000000
+++ /dev/null
@@ -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
index 4d3c493..939776f 100644 (file)
@@ -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
index 9f5152d..e0e09e6 100644 (file)
@@ -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):
index 3d1c546..75fde7e 100644 (file)
@@ -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
index 64d945d..d0f0e08 100644 (file)
@@ -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