From 2b38147bd3bb04ac1e6fa5b5b337119e847b8be0 Mon Sep 17 00:00:00 2001 From: Muhammad Usama Anjum Date: Tue, 10 Sep 2024 13:56:17 +0500 Subject: [PATCH] config: tast: Extract tast data directory at correct location The data directory has files which are required by some tests. Copy the go.chromium.org directory to /usr/share/tast/data location so that tast can find these files. Signed-off-by: Muhammad Usama Anjum --- config/runtime/tests/tast.jinja2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/runtime/tests/tast.jinja2 b/config/runtime/tests/tast.jinja2 index 70dec64307..3b2de24f82 100644 --- a/config/runtime/tests/tast.jinja2 +++ b/config/runtime/tests/tast.jinja2 @@ -35,6 +35,8 @@ && cp remote_test_runner /usr/bin/remote_test_runner && mkdir -p /usr/libexec/tast/bundles/remote/ && cp cros /usr/libexec/tast/bundles/remote/ + && mkdir -p /usr/share/tast/data + && cp -r go.chromium.org /usr/share/tast/data - for i in $(seq 1 60); do ping -c 1 -w 1 $(lava-target-ip) && break || sleep 1; done - ping -c 1 -w 1 $(lava-target-ip) || lava-test-raise "cros-device-unreachable" - >-