summary refs log tree commit diff stats
path: root/docs/devel/testing/functional.rst
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-08-29 15:26:14 +0100
committerThomas Huth <thuth@redhat.com>2025-09-09 09:57:51 +0200
commit9f80f3695d305015f5271d946304e5cffee607c2 (patch)
treedd8eeac2d4844b9156979dc2270f766c12afd2d0 /docs/devel/testing/functional.rst
parent5f81033e5b3e55eda2a1d06f959c05b61e719d68 (diff)
downloadfocaccia-qemu-9f80f3695d305015f5271d946304e5cffee607c2.tar.gz
focaccia-qemu-9f80f3695d305015f5271d946304e5cffee607c2.zip
tests/functional: enable force refresh of cached assets
If the 'QEMU_TEST_REFRESH_CACHE' environment variable is set, then
ignore any existing cached asset and download a fresh copy.

This can be used to selectively refresh assets if set before running
a single test script.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250829142616.2633254-2-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'docs/devel/testing/functional.rst')
-rw-r--r--docs/devel/testing/functional.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/devel/testing/functional.rst b/docs/devel/testing/functional.rst
index 3728bab6c0..fdeaebaadc 100644
--- a/docs/devel/testing/functional.rst
+++ b/docs/devel/testing/functional.rst
@@ -312,6 +312,9 @@ The cache is populated in the ``~/.cache/qemu/download`` directory by
 default, but the location can be changed by setting the
 ``QEMU_TEST_CACHE_DIR`` environment variable.
 
+To force the test suite to re-download the cache, even if still valid,
+set the ``QEMU_TEST_REFRESH_CACHE`` environment variable.
+
 Skipping tests
 --------------