From d3c366cb2e71754c66049f3ddb48d5889adedbf8 Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Sat, 21 Aug 2021 19:55:51 -0600 Subject: [PATCH] lf_qa.py : update path for meta.txt when reading test-tag for Test Suite and Suite summary Signed-off-by: Chuck SmileyRekiere --- py-scripts/tools/lf_qa.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/py-scripts/tools/lf_qa.py b/py-scripts/tools/lf_qa.py index 16d5cca2..49c706a6 100755 --- a/py-scripts/tools/lf_qa.py +++ b/py-scripts/tools/lf_qa.py @@ -117,11 +117,12 @@ class csv_sqlite_dash(): #if test_tag still NA then try meta file try: if test_tag == "NA": - use_meta_test_tag, test_tag = self.get_test_tag_from_meta(_kpi_path) + _meta_path = _kpi_path.replace('kpi.csv','meta.txt') + use_meta_test_tag, test_tag = self.get_test_tag_from_meta(_meta_path) except: - print("exception reading meta.txt _kpi_path: {kpi_path}".format(kpi_path=_kpi_path)) + print("exception reading meta.txt _meta_path: {meta_path}".format(meta_path=_meta_path)) if use_meta_test_tag: - print("test_tag from meta.txt _kpi_path: {kpi_path}".format(kpi_path=_kpi_path)) + print("test_tag from meta.txt _meta_path: {meta_path}".format(meta_path=_meta_path)) return test_id , test_tag # could enter on the command line, except there may be other exceptions