[mq]: dump_config_log.patch
authorChris Manchester <cmanchester@mozilla.com>
Mon, 20 Jun 2016 17:22:13 -0700
changeset 785085 aa10d54cc54671b280cadbef5c7a8d60501d4453
parent 785084 2d8de0661c2c0d3ea7d6b8e8318a3736d7777575
child 785086 7f3d4e5d592198aeaa83e8c2aa47f4be369969a2
push id130477
push usercmanchester@mozilla.com
push dateTue, 21 Jun 2016 00:22:51 +0000
treeherdertry@7060cdc803c9 [default view] [failures only]
milestone50.0a1
[mq]: dump_config_log.patch
configure.py
--- a/configure.py
+++ b/configure.py
@@ -50,18 +50,22 @@ def config_status(config):
     sanitized_config['non_global_defines'] = config['non_global_defines']
     sanitized_config['topsrcdir'] = config['TOPSRCDIR']
     sanitized_config['topobjdir'] = config['TOPOBJDIR']
 
     import pprint
     print("Dumping config:\n~~~~")
     pprint.pprint(sanitized_config)
     print("\n~~~~")
+
+    print("Dumping config.log:\n!!!!")
+    with open('config.log', 'r') as fh:
+        print(fh.read())
+    print("\n!!!!")
     sys.stdout.flush()
-
     # Create config.status. Eventually, we'll want to just do the work it does
     # here, when we're able to skip configure tests/use cached results/not rely
     # on autoconf.
     print("Creating config.status", file=sys.stderr)
     encoding = 'mbcs' if sys.platform == 'win32' else 'utf-8'
     with codecs.open('config.status', 'w', encoding) as fh:
         fh.write('#!%s\n' % config['PYTHON'])
         fh.write('# coding=%s\n' % encoding)