[LNT] r311203 - If a server error has happened, don't try and print the server report
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 18 14:43:48 PDT 2017
Author: cmatthews
Date: Fri Aug 18 14:43:48 2017
New Revision: 311203
URL: http://llvm.org/viewvc/llvm-project?rev=311203&view=rev
Log:
If a server error has happened, don't try and print the server report
Modified:
lnt/trunk/lnt/tests/builtintest.py
Modified: lnt/trunk/lnt/tests/builtintest.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/tests/builtintest.py?rev=311203&r1=311202&r2=311203&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/builtintest.py (original)
+++ lnt/trunk/lnt/tests/builtintest.py Fri Aug 18 14:43:48 2017
@@ -79,9 +79,9 @@ class BuiltinTest(object):
updateMachine=config.update_machine, mergeRun=config.merge)
else:
server_report = lnt.util.ImportData.no_submit()
-
- ImportData.print_report_result(server_report, sys.stdout, sys.stderr,
- config.verbose)
+ if server_report:
+ ImportData.print_report_result(server_report, sys.stdout, sys.stderr,
+ config.verbose)
return server_report
@staticmethod
More information about the llvm-commits
mailing list