eclair: Add custom selection function to filter out B.REPORT for diff reports
When producing diff reports, we're interested in entries for B.REPORT
service, which is otherwise useful for non-delta reports. So, we don't
want to disable it altogether (on analysis phase), but want to filter
out specifically when producing delta reports. This solution is based
on the information from Bugseng in ticket
https://support.bugseng.com/mantis/view.php?id=5485
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: Ib991945a9fc5ac6bdfe9c9149a60134c0cd2f81d
diff --git a/eclair/utils.sh b/eclair/utils.sh
index b5142cb..1b5641f 100644
--- a/eclair/utils.sh
+++ b/eclair/utils.sh
@@ -91,10 +91,10 @@
${ECLAIR_BIN_DIR}/eclair_report -diff_criteria=fingerprint -diff_full_txt=${base_dir}/out/PROJECT.ecd,${target_dir}/out/PROJECT.ecd
ls -l diff_output
- ${ECLAIR_BIN_DIR}/eclair_report -db=${base_dir}/out/PROJECT.ecd -sel_tag_glob=new,diff,missing -full_html=resolved_issues_html
+ ${ECLAIR_BIN_DIR}/eclair_report -db=${base_dir}/out/PROJECT.ecd -eval_file=${_ECLAIR_UTILS_DIR}/sel_tag_and_not_glob.ecl -full_html=resolved_issues_html
eclair_make_report_self_contained resolved_issues_html
- ${ECLAIR_BIN_DIR}/eclair_report -db=${target_dir}/out/PROJECT.ecd -sel_tag_glob=new,diff,missing -full_html=new_issues_html
+ ${ECLAIR_BIN_DIR}/eclair_report -db=${target_dir}/out/PROJECT.ecd -eval_file=${_ECLAIR_UTILS_DIR}/sel_tag_and_not_glob.ecl -full_html=new_issues_html
eclair_make_report_self_contained new_issues_html
xz ${base_dir}/out/PROJECT.ecd ${target_dir}/out/PROJECT.ecd