summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEric Engestrom <eric@igalia.com>2024-01-24 23:19:33 +0000
committerMarge Bot <emma+marge@anholt.net>2024-01-25 21:16:13 +0000
commiteeba409c54761d48bb5cd26233324e7a0ad9f8ac (patch)
treedf7ee87f015716f4d6f08b12277c3b12c26b3b70 /bin
parent8e6643fee5d1159a49f6d5a6a20cf7ff2ded1cf6 (diff)
ci_run_n_monitor: drop always-true condition
`--target` is mandatory. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27252>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ci/ci_run_n_monitor.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/bin/ci/ci_run_n_monitor.py b/bin/ci/ci_run_n_monitor.py
index 236d7dff537..5cd08a468b4 100755
--- a/bin/ci/ci_run_n_monitor.py
+++ b/bin/ci/ci_run_n_monitor.py
@@ -384,11 +384,10 @@ if __name__ == "__main__":
target_jobs_regex = re.compile(args.target.strip())
deps = set()
- if args.target:
- print("🞋 job: " + Fore.BLUE + args.target + Style.RESET_ALL)
- deps = find_dependencies(
- target_jobs_regex=target_jobs_regex, iid=pipe.iid, project_path=cur_project
- )
+ print("🞋 job: " + Fore.BLUE + args.target + Style.RESET_ALL)
+ deps = find_dependencies(
+ target_jobs_regex=target_jobs_regex, iid=pipe.iid, project_path=cur_project
+ )
target_job_id, ret = monitor_pipeline(
cur_project, pipe, target_jobs_regex, deps, args.force_manual, args.stress
)