[libcxxabi] r280484 - [lit] Replace print with lit_config.note().

Logan Chien via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 2 06:56:06 PDT 2016


Author: logan
Date: Fri Sep  2 08:56:05 2016
New Revision: 280484

URL: http://llvm.org/viewvc/llvm-project?rev=280484&view=rev
Log:
[lit] Replace print with lit_config.note().

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

Modified:
    libcxxabi/trunk/test/lit.cfg

Modified: libcxxabi/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/lit.cfg?rev=280484&r1=280483&r2=280484&view=diff
==============================================================================
--- libcxxabi/trunk/test/lit.cfg (original)
+++ libcxxabi/trunk/test/lit.cfg Fri Sep  2 08:56:05 2016
@@ -55,7 +55,7 @@ config.test_exec_root = os.path.join(obj
 
 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'])




More information about the cfe-commits mailing list