[LNT] r307327 - Fix another bug when upgrading custom schemas from old format versions
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 6 15:22:45 PDT 2017
Author: matze
Date: Thu Jul 6 15:22:45 2017
New Revision: 307327
URL: http://llvm.org/viewvc/llvm-project?rev=307327&view=rev
Log:
Fix another bug when upgrading custom schemas from old format versions
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=307327&r1=307326&r2=307327&view=diff
==============================================================================
--- lnt/trunk/lnt/testing/__init__.py (original)
+++ lnt/trunk/lnt/testing/__init__.py Thu Jul 6 15:22:45 2017
@@ -377,7 +377,7 @@ def upgrade_1_to_2(data, ts_name):
raise ValueError("Tests/%s: test name does not end in .metric" %
test_Name)
logging.warning("Found unknown metric '%s'" % metric)
- upgrade.metric_rename['.'+metric] = '.'+metric
+ upgrade.metric_rename['.'+metric] = metric
result_test = result_tests_dict.get(name)
if result_test is None:
More information about the llvm-commits
mailing list