[libcxx] [test] Remove a leftover unused function in config.py. NFC.
authorMartin Storsjö <martin@martin.st>
Wed, 8 Dec 2021 22:04:35 +0000 (00:04 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 22 Dec 2021 13:16:14 +0000 (15:16 +0200)
While there's little value in polishing the old config system,
I ran into this function and was confused for a while, while grepping
around and trying to wrap my head around things.

Differential Revision: https://reviews.llvm.org/D116131

libcxx/utils/libcxx/test/config.py

index a28590e..d61743e 100644 (file)
@@ -160,14 +160,6 @@ class Configuration(object):
         self.lit_config.note("Linking against the ABI Library at {}".format(self.abi_library_root))
         self.lit_config.note("Running against the ABI Library at {}".format(self.abi_runtime_root))
 
-    def get_test_format(self):
-        from libcxx.test.format import LibcxxTestFormat
-        return LibcxxTestFormat(
-            self.cxx,
-            self.use_clang_verify,
-            self.executor,
-            exec_env=self.exec_env)
-
     def configure_cxx(self):
         # Gather various compiler parameters.
         cxx = self.get_lit_conf('cxx_under_test')