[LNT] r266684 - Nicer fake results printing

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 18 14:49:28 PDT 2016


Author: cmatthews
Date: Mon Apr 18 16:49:28 2016
New Revision: 266684

URL: http://llvm.org/viewvc/llvm-project?rev=266684&view=rev
Log:
Nicer fake results printing

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

Modified: lnt/trunk/lnt/tests/test_suite.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/tests/test_suite.py?rev=266684&r1=266683&r2=266684&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/test_suite.py (original)
+++ lnt/trunk/lnt/tests/test_suite.py Mon Apr 18 16:49:28 2016
@@ -781,8 +781,12 @@ class TestSuiteTest(BuiltinTest):
         # Run through the rest of LNT, but don't allow this to be submitted
         # because there is no data.
         class DontSubmitResults(object):
+            
             def get(self, url):
-                return None
+                return report_path
+
+            def __getitem__(self, key):
+                return report_path
 
         return DontSubmitResults()
 




More information about the llvm-commits mailing list