[PATCH] D24080: [lit] Replace print with lit_config.note().

Logan Chien via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 31 08:37:37 PDT 2016


logan created this revision.
logan added reviewers: mclow.lists, rengolin, EricWF.
logan added a subscriber: cfe-commits.

This commit replaces print statement with lit_config.note().  This fixes
python3 support for check-libcxxabi.

https://reviews.llvm.org/D24080

Files:
  test/lit.cfg

Index: test/lit.cfg
===================================================================
--- test/lit.cfg
+++ test/lit.cfg
@@ -55,7 +55,7 @@
 
 cfg_variant = getattr(config, 'configuration_variant', 'libcxxabi')
 if cfg_variant:
-    print 'Using configuration variant: %s' % cfg_variant
+    lit_config.note('Using configuration variant: %s' % cfg_variant)
 
 # Load the Configuration class from the module name <cfg_variant>.test.config.
 config_module_name = '.'.join([cfg_variant, 'test', 'config'])


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24080.69858.patch
Type: text/x-patch
Size: 503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160831/3e6a03ff/attachment.bin>


More information about the cfe-commits mailing list