diff options
author | Tibor Frank <tifrank@cisco.com> | 2023-04-19 11:15:53 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2023-04-19 14:05:10 +0000 |
commit | a7ed9061afe084648969a669f0c38bf567583a08 (patch) | |
tree | e2a2423c9c847aeee1bceb68a6fdbe52d90ca341 /csit.infra.dash/app/cdash/utils | |
parent | f85a6f4c807c40dcdc958f75363af6fd36e4023b (diff) |
C-Dash: Add regexp filtering to comparison tables
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Change-Id: Ibe2b951859c9d775dd386dadd1bb141d74f53652
Diffstat (limited to 'csit.infra.dash/app/cdash/utils')
-rw-r--r-- | csit.infra.dash/app/cdash/utils/constants.py | 14 |
1 files changed, 13 insertions, 1 deletions
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. |