[LNT] r199270 - Allow a Report check to be called after Report creation.
Chris Matthews
cmatthews5 at apple.com
Tue Jan 14 15:19:31 PST 2014
Author: cmatthews
Date: Tue Jan 14 17:19:31 2014
New Revision: 199270
URL: http://llvm.org/viewvc/llvm-project?rev=199270&view=rev
Log:
Allow a Report check to be called after Report creation.
This will allow for future validation of modified Report objects.
Modified:
lnt/trunk/lnt/testing/__init__.py
Modified: lnt/trunk/lnt/testing/__init__.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/testing/__init__.py?rev=199270&r1=199269&r2=199270&view=diff
==============================================================================
--- lnt/trunk/lnt/testing/__init__.py (original)
+++ lnt/trunk/lnt/testing/__init__.py Tue Jan 14 17:19:31 2014
@@ -38,7 +38,9 @@ class Report:
self.run = run
self.tests = list(tests)
self.report_version = current_version
+ self.check()
+ def check(self):
assert isinstance(self.machine, Machine)
assert isinstance(self.run, Run)
for t in self.tests:
More information about the llvm-commits
mailing list