[llvm-commits] [LNT] r167203 - /lnt/trunk/lnt/tests/compile.py

Michael Gottesman mgottesman at apple.com
Wed Oct 31 19:07:26 PDT 2012


Author: mgottesman
Date: Wed Oct 31 21:07:26 2012
New Revision: 167203

URL: http://llvm.org/viewvc/llvm-project?rev=167203&view=rev
Log:
[compile test] end_time variable for some reason was never defined.

Modified:
    lnt/trunk/lnt/tests/compile.py

Modified: lnt/trunk/lnt/tests/compile.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/tests/compile.py?rev=167203&r1=167202&r2=167203&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/compile.py (original)
+++ lnt/trunk/lnt/tests/compile.py Wed Oct 31 21:07:26 2012
@@ -852,8 +852,11 @@
             g_log.error(traceback.format_exc())
             g_log.error('--')
             run_info['had_errors'] = 1
-        g_log.info('run complete')
 
+        end_time = datetime.utcnow()
+        
+        g_log.info('run complete')
+        
         # Package up the report.
         machine = lnt.testing.Machine(opts.machine_name, machine_info)
         run = lnt.testing.Run(start_time, end_time, info = run_info)





More information about the llvm-commits mailing list