aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQiu Tingting <qiutt@fujitsu.com>2022-05-21 11:46:49 +0800
committerQiu Tingting <qiutt@fujitsu.com>2022-05-21 11:46:49 +0800
commit3956e11df8cff8bc2e8feb4564b63c13daf27f49 (patch)
treec14116086cd59625c2e34dbfbd6e3f46d20e4fbc
parent761c64f22b8a6c1202a2c9caafda36e154e81d41 (diff)
qa-test-misc: change order of parameter for write_date_to_json
Because order of parameter in write_date_to_json is changed, fix it in rpm and glib2 tests code. Bug-AGL: SPEC-4345 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: Ib1b588cef17b62c967327abf4766e04e4b2be072
-rw-r--r--glib2/rootfs-scripts/report.py2
-rw-r--r--rpm/rootfs-scripts/report.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/glib2/rootfs-scripts/report.py b/glib2/rootfs-scripts/report.py
index 28f2ac5..8540e69 100644
--- a/glib2/rootfs-scripts/report.py
+++ b/glib2/rootfs-scripts/report.py
@@ -17,7 +17,7 @@ def log_report(test_cases_values_and_status,THIS_TEST):
else:
test_set_status = "failed"
- agl_test_report.write_date_to_json(test_set_status,THIS_TEST,summary,case_status)
+ agl_test_report.write_date_to_json(THIS_TEST,test_set_status,summary,case_status)
#Package log file
agl_test_report.log_compress(THIS_TEST)
diff --git a/rpm/rootfs-scripts/report.py b/rpm/rootfs-scripts/report.py
index 28f2ac5..8540e69 100644
--- a/rpm/rootfs-scripts/report.py
+++ b/rpm/rootfs-scripts/report.py
@@ -17,7 +17,7 @@ def log_report(test_cases_values_and_status,THIS_TEST):
else:
test_set_status = "failed"
- agl_test_report.write_date_to_json(test_set_status,THIS_TEST,summary,case_status)
+ agl_test_report.write_date_to_json(THIS_TEST,test_set_status,summary,case_status)
#Package log file
agl_test_report.log_compress(THIS_TEST)