[LNT] r312365 - Possible fix for MySQL test names not matching issue
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 1 14:01:12 PDT 2017
Author: cmatthews
Date: Fri Sep 1 14:01:11 2017
New Revision: 312365
URL: http://llvm.org/viewvc/llvm-project?rev=312365&view=rev
Log:
Possible fix for MySQL test names not matching issue
Modified:
lnt/trunk/lnt/server/db/testsuitedb.py
Modified: lnt/trunk/lnt/server/db/testsuitedb.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/db/testsuitedb.py?rev=312365&r1=312364&r2=312365&view=diff
==============================================================================
--- lnt/trunk/lnt/server/db/testsuitedb.py (original)
+++ lnt/trunk/lnt/server/db/testsuitedb.py Fri Sep 1 14:01:11 2017
@@ -972,7 +972,7 @@ class TestSuiteDB(object):
for test in session.query(self.Test))
profiles = dict()
- field_dict = dict([(f.name, f) for f in self.sample_fields])
+ field_dict = dict([(str(f.name), f) for f in self.sample_fields])
for test_data in tests_data:
name = str(test_data['name'])
test = test_cache.get(name)
More information about the llvm-commits
mailing list