Skip to content

Commit

Permalink
score_card: pyadi-iio test results formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kimpaller committed May 24, 2022
1 parent 3df3532 commit 5c4a121
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/models/score.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def get_test_results(self): # noqa: C901
"pytest_skipped"
]:
if not ar.payload_param == "NA":
details = ar.target_board + '(' + ar.payload_param + ')'
entry += '(' + ar.payload_param + ')'
if entry in report[bn][test]["data"]:
report[bn][test]["data"][entry].append(
details
Expand Down
15 changes: 12 additions & 3 deletions app/score_card/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,9 +512,18 @@ def generate_pytest_results(data):
label="Trends",
className="active",
),
dbc.Tab(generate_dash_table(data, "pytest_failures"), label="PyADI IIO Failures"),
dbc.Tab(generate_dash_table(data, "pytest_errors"), label="PyADI IIO Errors"),
dbc.Tab(generate_dash_table(data, "pytest_skipped"), label="PyADI IIO Skipped")
dbc.Tab(
generate_dash_table(data, "pytest_failures" ,"board"),
label="PyADI IIO Failures"
),
dbc.Tab(
generate_dash_table(data, "pytest_errors", "board"),
label="PyADI IIO Errors"
),
dbc.Tab(
generate_dash_table(data, "pytest_skipped", "board"),
label="PyADI IIO Skipped"
)
]
)
],
Expand Down

0 comments on commit 5c4a121

Please sign in to comment.