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:
committed by
Marge Bot
parent
a6e1926a8e
commit
ffe8a2e023
@@ -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
|
||||
|
||||
@@ -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,)
|
||||
|
||||
Reference in New Issue
Block a user