[libunwind] 649f042 - [libunwind] Support the new libc++ test format
Sergej Jaskiewicz via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 6 13:27:11 PDT 2020
Author: Sergej Jaskiewicz
Date: 2020-04-06T23:26:59+03:00
New Revision: 649f042802d3ed9648da4b1939ac387bc4fe9976
URL: https://github.com/llvm/llvm-project/commit/649f042802d3ed9648da4b1939ac387bc4fe9976
DIFF: https://github.com/llvm/llvm-project/commit/649f042802d3ed9648da4b1939ac387bc4fe9976.diff
LOG: [libunwind] Support the new libc++ test format
Reviewers: ldionne, #libunwind, mstorsjo
Reviewed By: ldionne, #libunwind, mstorsjo
Subscribers: mstorsjo, dexonsmith, llvm-commits, libcxx-commits
Tags: #llvm, #libunwind
Differential Revision: https://reviews.llvm.org/D77501
Added:
Modified:
libunwind/test/lit.cfg
Removed:
################################################################################
diff --git a/libunwind/test/lit.cfg b/libunwind/test/lit.cfg
index 1d284bdfd771..4ac749392737 100644
--- a/libunwind/test/lit.cfg
+++ b/libunwind/test/lit.cfg
@@ -67,4 +67,9 @@ config_module = __import__(config_module_name, fromlist=['Configuration'])
configuration = config_module.Configuration(lit_config, config)
configuration.configure()
configuration.print_config_info()
-config.test_format = configuration.get_test_format()
+if lit_config.params.get('use_new_format', False):
+ lit_config.note("Using the experimental libc++ testing format")
+ import libcxx.test.newformat
+ config.test_format = libcxx.test.newformat.CxxStandardLibraryTest()
+else:
+ config.test_format = configuration.get_test_format()
More information about the cfe-commits
mailing list