Skip to content

Commit 184905e

Browse files
authored
Merge pull request #264 from bhcopeland/fix/hardware-missing-filter-params
results/hardware: pass all filter options to cmd_tests and cmd_builds
2 parents f7d9aed + 00c3b7f commit 184905e

File tree

1 file changed

+106
-6
lines changed

1 file changed

+106
-6
lines changed

kcidev/subcommands/results/hardware.py

Lines changed: 106 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,24 +57,124 @@ def summary(name, origin, use_json):
5757
@hardware_common_opt
5858
@results_display_options
5959
@builds_and_tests_options
60-
def boots(name, origin, use_json, download_logs, status, filter, count):
60+
def boots(
61+
name,
62+
origin,
63+
use_json,
64+
download_logs,
65+
status,
66+
filter,
67+
start_date,
68+
end_date,
69+
compiler,
70+
config,
71+
hardware,
72+
test_path,
73+
git_branch,
74+
compatible,
75+
min_duration,
76+
max_duration,
77+
count,
78+
):
6179
data = dashboard_fetch_hardware_boots(name, origin, use_json)
62-
cmd_tests(data["boots"], name, download_logs, status, filter, count, use_json)
80+
cmd_tests(
81+
data["boots"],
82+
name,
83+
download_logs,
84+
status,
85+
filter,
86+
start_date,
87+
end_date,
88+
compiler,
89+
config,
90+
hardware,
91+
test_path,
92+
git_branch,
93+
compatible,
94+
min_duration,
95+
max_duration,
96+
count,
97+
use_json,
98+
)
6399

64100

65101
@hardware.command()
66102
@hardware_common_opt
67103
@results_display_options
68104
@builds_and_tests_options
69-
def builds(name, origin, use_json, download_logs, status, filter, count):
105+
def builds(
106+
name,
107+
origin,
108+
use_json,
109+
download_logs,
110+
status,
111+
filter,
112+
start_date,
113+
end_date,
114+
compiler,
115+
config,
116+
hardware,
117+
test_path,
118+
git_branch,
119+
compatible,
120+
min_duration,
121+
max_duration,
122+
count,
123+
):
70124
data = dashboard_fetch_hardware_builds(name, origin, use_json)
71-
cmd_builds(data, name, download_logs, status, count, use_json)
125+
cmd_builds(
126+
data,
127+
name,
128+
download_logs,
129+
status,
130+
compiler,
131+
config,
132+
git_branch,
133+
count,
134+
use_json,
135+
)
72136

73137

74138
@hardware.command()
75139
@hardware_common_opt
76140
@results_display_options
77141
@builds_and_tests_options
78-
def tests(name, origin, use_json, download_logs, status, filter, count):
142+
def tests(
143+
name,
144+
origin,
145+
use_json,
146+
download_logs,
147+
status,
148+
filter,
149+
start_date,
150+
end_date,
151+
compiler,
152+
config,
153+
hardware,
154+
test_path,
155+
git_branch,
156+
compatible,
157+
min_duration,
158+
max_duration,
159+
count,
160+
):
79161
data = dashboard_fetch_hardware_tests(name, origin, use_json)
80-
cmd_tests(data["tests"], name, download_logs, status, filter, count, use_json)
162+
cmd_tests(
163+
data["tests"],
164+
name,
165+
download_logs,
166+
status,
167+
filter,
168+
start_date,
169+
end_date,
170+
compiler,
171+
config,
172+
hardware,
173+
test_path,
174+
git_branch,
175+
compatible,
176+
min_duration,
177+
max_duration,
178+
count,
179+
use_json,
180+
)

0 commit comments

Comments
 (0)