ci/lava: Use init-stage2 and setup-test-env.sh from Mesa install

init-stage2.sh and setup-test-env.sh are already downloaded on the DUT as
part of the mesa-build overlay, which downloads the Mesa artifacts from
S3.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35051>
This commit is contained in:
Valentine Burley
2025-05-16 09:20:14 +02:00
committed by Marge Bot
parent a6e1926a8e
commit ffe8a2e023
9 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ def generate_docker_test(
# maintainers with monitoring
f"lava_ssh_test_case '{args.project_name}_{args.mesa_job_name}' "
# Changing directory to /, as the HWCI_SCRIPT expects that
"'cd / && /init-stage2.sh'",
f"'cd / && {args.project_dir}/install/common/init-stage2.sh'",
]
return init_stages_test
+1 -1
View File
@@ -137,7 +137,7 @@ def uart_test_actions(
"sleep 1",
# Putting CI_JOB name as the testcase name, it may help LAVA farm
# maintainers with monitoring
f"lava-test-case '{args.project_name}_{args.mesa_job_name}' --shell /init-stage2.sh",
f"lava-test-case '{args.project_name}_{args.mesa_job_name}' --shell {args.project_dir}/install/common/init-stage2.sh",
]
return (test,)