diff options
author | Matus Fabian <matfabia@cisco.com> | 2024-12-21 17:04:16 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-12-21 22:35:06 +0000 |
commit | b91f595f7a082e9ecd16aa14de87b0d7990b33a8 (patch) | |
tree | 7470f856406a178772f779e6e4b43f81d0557cd9 /extras/hs-test/README.rst | |
parent | 75b66fd129d6c5f07bef74e2fde321764cc33ed3 (diff) |
hs-test: rebuild images when switching build type
Rebuild hst docker images when the previous test run had different vpp
build type, e.g.
1) make test
2) make tes-debug
Type: test
Change-Id: If3a6f11f4f50bbfa88ef3808f98dcba3ab61d348
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'extras/hs-test/README.rst')
-rw-r--r-- | extras/hs-test/README.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/hs-test/README.rst b/extras/hs-test/README.rst index 4b6fbd3de8f..8deebe39832 100644 --- a/extras/hs-test/README.rst +++ b/extras/hs-test/README.rst @@ -20,9 +20,9 @@ Anatomy of a test case **Prerequisites**: * Install hs-test dependencies with ``make install-deps`` -* Tests use *hs-test*'s own docker image, so building it before starting tests is a prerequisite. Run ``make build[-debug]`` to do so -* Docker has to be installed and Go has to be in path of both the running user and root +* `Install Go <https://go.dev/doc/install>`_, it has to be in path of both the running user (follow instructions on Go installation page) and root (run ``sudo visudo`` and edit ``secure_path`` line, run ``sudo go version`` to verify) * Root privileges are required to run tests as it uses Linux ``ip`` command for configuring topology +* Tests use *hs-test*'s own docker image, they are rebuild automatically when needed, you can run ``make build[-debug]`` to do so or use ``FORCE_BUILD=true`` make parameter **Action flow when running a test case**: |