1
0
Fork 0

CI: Set a cache directory for mesa

If a shader cache directory is not specified, mesa attempts to make a
cache directory at root. But since cuttlefish root is read-only, this
creates errors which fail the CI jobs.

Specify a shader cache directory for mesa to use that is writable and
will not cause spurious errors in CI.

Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
This commit is contained in:
Deborah Brouwer 2025-09-29 16:37:50 -07:00
parent ea1515b7cf
commit 75ca83c730

View file

@ -201,7 +201,7 @@ function run_vts() {
adb shell stop surfaceflinger
adb logcat -c
ADB_TEST_CMD="(/data/local/tmp/VtsHalGraphicsComposer3_TargetTest 2>&1 \
ADB_TEST_CMD="(MESA_SHADER_CACHE_DIR=/data/local/tmp/ /data/local/tmp/VtsHalGraphicsComposer3_TargetTest 2>&1 \
| tee /data/local/tmp/${results_log})"
set +e