From a7ed9061afe084648969a669f0c38bf567583a08 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Wed, 19 Apr 2023 11:15:53 +0200 Subject: C-Dash: Add regexp filtering to comparison tables Signed-off-by: Tibor Frank Change-Id: Ibe2b951859c9d775dd386dadd1bb141d74f53652 --- csit.infra.dash/app/cdash/utils/constants.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'csit.infra.dash/app/cdash/utils/constants.py') diff --git a/csit.infra.dash/app/cdash/utils/constants.py b/csit.infra.dash/app/cdash/utils/constants.py index 6ab80d0b5c..94008f9bc7 100644 --- a/csit.infra.dash/app/cdash/utils/constants.py +++ b/csit.infra.dash/app/cdash/utils/constants.py @@ -174,7 +174,7 @@ class Constants: } ############################################################################ - # General, plots constants. + # General, plots and tables constants. PLOT_COLORS = ( "#1A1110", "#DA2647", "#214FC6", "#01786F", "#BD8260", "#FFD12A", @@ -273,6 +273,18 @@ class Constants: "result_latency_reverse_pdr_90_hdrh": "High-load, 90% PDR." } + # Operators used to filter data in comparison tables. + OPERATORS = ( + ("contains ", ), + ("lt ", "<"), + ("gt ", ">"), + ("eq ", "="), + ("ge ", ">="), + ("le ", "<="), + ("ne ", "!="), + ("datestartswith ", ) + ) + ############################################################################ # News. -- cgit 1.2.3-korg