[llvm-commits] [zorg] r150749 - /zorg/trunk/lnt/lnt/lnttool/main.py
Daniel Dunbar
daniel at zuster.org
Thu Feb 16 14:54:38 PST 2012
Author: ddunbar
Date: Thu Feb 16 16:54:38 2012
New Revision: 150749
URL: http://llvm.org/viewvc/llvm-project?rev=150749&view=rev
Log:
[lnt] lnt runtest: Switch temporary database instance (for local reporting) to
be a V4DB instance.
Modified:
zorg/trunk/lnt/lnt/lnttool/main.py
Modified: zorg/trunk/lnt/lnt/lnttool/main.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/lnttool/main.py?rev=150749&r1=150748&r2=150749&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/lnttool/main.py (original)
+++ zorg/trunk/lnt/lnt/lnttool/main.py Thu Feb 16 16:54:38 2012
@@ -145,10 +145,11 @@
tmp.flush()
# Construct a temporary database and import the result.
- db = lnt.db.perfdb.PerfDB("sqlite:///:memory:")
+ db = lnt.server.db.v4db.V4DB("sqlite:///:memory:")
result = ImportData.import_and_report(
None, None, db, tmp.name, 'json', commit = True)
- ImportData.print_report_result(result, sys.stdout, opts.verbose)
+ ImportData.print_report_result(result, sys.stdout, sys.stderr,
+ opts.verbose)
tmp.close()
More information about the llvm-commits
mailing list