diff --git a/doc/lisa_shell/man/man.rst b/doc/lisa_shell/man/man.rst index 4a03975a2bb7b34e12034dc6d2a596153ab7336e..5d79a7b5e5608191c861f92589a3cefc0b55eec7 100644 --- a/doc/lisa_shell/man/man.rst +++ b/doc/lisa_shell/man/man.rst @@ -79,7 +79,9 @@ Test commands This is just a wrapper around ``exekall`` that selects all tests modules and use positional arguments as ``--select`` patterns. The default configuration file (``$LISA_CONF``) will be used if available. This can be extended with - user-supplied ``--conf``. + user-supplied ``--conf``. If multiple iterations are requested using ``-n``, + the :class:`lisa.target.Target` instance will be reused across iterations, + to avoid the overhead of setting up the target environment. Usage: ``lisa-test TEST_PATTERN ... [EXEKALL_OPTIONS ...]`` diff --git a/doc/man1/lisa.1 b/doc/man1/lisa.1 index ef6e63957adbb889afc133be030756de5b1573f3..e304165e4b0cb2647a7572b6123c1928b0c7f1e9 100644 --- a/doc/man1/lisa.1 +++ b/doc/man1/lisa.1 @@ -133,7 +133,9 @@ _ This is just a wrapper around \fBexekall\fP that selects all tests modules and use positional arguments as \fB\-\-select\fP patterns. The default configuration file (\fB$LISA_CONF\fP) will be used if available. This can be extended with -user\-supplied \fB\-\-conf\fP\&. +user\-supplied \fB\-\-conf\fP\&. If multiple iterations are requested using \fB\-n\fP, +the \fBlisa.target.Target\fP instance will be reused across iterations, +to avoid the overhead of setting up the target environment. .sp Usage: \fBlisa\-test TEST_PATTERN ... [EXEKALL_OPTIONS ...]\fP .sp diff --git a/tools/lisa-test b/tools/lisa-test index 823c1849fc45a187bf16a7fc83b7c11019bb11b2..dd5949961899ed0a12be88028743bea6f8a17f3c 100755 --- a/tools/lisa-test +++ b/tools/lisa-test @@ -29,6 +29,7 @@ cmd=( exekall run "$LISA_HOME/lisa/tests/" \ "${conf_opt[@]}" \ --symlink-artifact-dir-to "$latest_link" \ + --share '*.Target' \ --select-multiple \ "$@" )