[PATCH] D115702: [LNT] Fix profile assigning to tests

Dmitry Vassiliev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 18 07:52:26 PST 2022


slydiman added inline comments.


================
Comment at: lnt/server/db/testsuitedb.py:1044
         for test_data in tests_data:
+            if len(test_data) == 2 and 'profile' in test_data:
+                # Ignore for now profile data without other metrics
----------------
thopre wrote:
> If a profile is determined by having the name ends in .profile I'd prefer to check that explicitely (i.e. `test_data['name'].endswith('profie')`)
It will not work because __init__.py (line 593) removes '.profile' from the name during preprocessing.


Repository:
  rLNT LNT

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115702/new/

https://reviews.llvm.org/D115702



More information about the llvm-commits mailing list