summaryrefslogtreecommitdiff
path: root/tcwg-lnt/tcwg-lnt-02
diff options
context:
space:
mode:
authorLaurent Alfonsi <laurent.alfonsi@linaro.org>2024-04-04 10:36:14 +0200
committerLaurent Alfonsi <laurent.alfonsi@linaro.org>2024-04-05 06:57:51 +0000
commit4e349c6c6551a800707ff0deda5a0b038d6cf7c4 (patch)
tree97d55798436290046718ae69c4a944ed4b4a45b4 /tcwg-lnt/tcwg-lnt-02
parent4207a6fbbd9ca98556c582f98c4bcb7781f2ce4c (diff)
tcwg-lnt: Filter the json inputs for each server
Change-Id: I8748e1d0a5440c09827c223379690fabc5dae0b9
Diffstat (limited to 'tcwg-lnt/tcwg-lnt-02')
-rw-r--r--tcwg-lnt/tcwg-lnt-02/tcwg_bmk.jq19
-rw-r--r--tcwg-lnt/tcwg-lnt-02/tcwg_check.jq12
-rw-r--r--tcwg-lnt/tcwg-lnt-02/tcwg_check.yaml.in33
3 files changed, 31 insertions, 33 deletions
diff --git a/tcwg-lnt/tcwg-lnt-02/tcwg_bmk.jq b/tcwg-lnt/tcwg-lnt-02/tcwg_bmk.jq
new file mode 100644
index 00000000..9897cd73
--- /dev/null
+++ b/tcwg-lnt/tcwg-lnt-02/tcwg_bmk.jq
@@ -0,0 +1,19 @@
+{
+ "Machine",
+ "Run",
+ "Tests":
+ [
+ .Tests[] | select(
+ .Name | endswith(".compile_status")
+ or endswith(".compile")
+ or endswith(".execution_status")
+ or endswith(".execution")
+ or endswith(".hash_status")
+ or endswith(".hash")
+ or endswith(".code_size")
+ or endswith(".mem_bytes")
+ or endswith(".score")
+ or endswith(".execution_variation")
+ )
+ ]
+}
diff --git a/tcwg-lnt/tcwg-lnt-02/tcwg_check.jq b/tcwg-lnt/tcwg-lnt-02/tcwg_check.jq
new file mode 100644
index 00000000..9da9d305
--- /dev/null
+++ b/tcwg-lnt/tcwg-lnt-02/tcwg_check.jq
@@ -0,0 +1,12 @@
+{
+ "Machine",
+ "Run",
+ "Tests":
+ [
+ .Tests[] | select(
+ .Name | endswith(".nb_FLAKY")
+ or endswith(".nb_good")
+ or endswith(".nb_bad")
+ )
+ ]
+}
diff --git a/tcwg-lnt/tcwg-lnt-02/tcwg_check.yaml.in b/tcwg-lnt/tcwg-lnt-02/tcwg_check.yaml.in
index 5bbd2978..922fa8dd 100644
--- a/tcwg-lnt/tcwg-lnt-02/tcwg_check.yaml.in
+++ b/tcwg-lnt/tcwg-lnt-02/tcwg_check.yaml.in
@@ -3,39 +3,6 @@ format_version: '2'
name: TSNAME
metrics:
-- name: nb_PASS
- type: Real
- bigger_is_better: true
- display_name: PASS
-- name: nb_XPASS
- type: Real
- display_name: XPASS
-- name: nb_FAIL
- type: Real
- display_name: FAIL
-- name: nb_XFAIL
- type: Real
- display_name: XFAIL
-- name: nb_KFAIL
- type: Real
- display_name: KFAIL
-- name: nb_UNSUPPORTED
- type: Real
- display_name: UNSUPPORTED
-- name: nb_UNRESOLVED
- type: Real
- display_name: UNRESOLVED
-- name: nb_UNTESTED
- type: Real
- display_name: UNTESTED
-- name: nb_ERROR
- type: Real
- display_name: ERROR
-
-- name: nb_OTHER
- type: Real
- display_name: OTHER
-
- name: nb_FLAKY
type: Real
display_name: FLAKY