[LNT] r237784 - add missing assert in --exclude-stat-from-submission implementation

Kristof Beyls kristof.beyls at arm.com
Wed May 20 04:02:11 PDT 2015


Author: kbeyls
Date: Wed May 20 06:02:10 2015
New Revision: 237784

URL: http://llvm.org/viewvc/llvm-project?rev=237784&view=rev
Log:
add missing assert in --exclude-stat-from-submission implementation

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

Modified: lnt/trunk/lnt/tests/nt.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/tests/nt.py?rev=237784&r1=237783&r2=237784&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/nt.py (original)
+++ lnt/trunk/lnt/tests/nt.py Wed May 20 06:02:10 2015
@@ -666,6 +666,7 @@ def load_nt_report_file(report_path, con
     sample_keys = []
     def append_to_sample_keys(tup):
         stat = tup[0]
+        assert stat in KNOWN_SAMPLE_KEYS
         if not tup[0] in config.exclude_stat_from_submission:
             sample_keys.append(tup)
     if config.test_style == "simple":





More information about the llvm-commits mailing list