summaryrefslogtreecommitdiffstats
path: root/run_test_suite
diff options
context:
space:
mode:
Diffstat (limited to 'run_test_suite')
-rwxr-xr-xrun_test_suite8
1 files changed, 7 insertions, 1 deletions
diff --git a/run_test_suite b/run_test_suite
index fc808f3..76b2f80 100755
--- a/run_test_suite
+++ b/run_test_suite
@@ -58,6 +58,8 @@ Options for '@product' features:
--pause-on-fail On failure, pause test suite until pressing Enter. This is
useful for investigating the state of the VM guest to see
exactly why a test failed.
+ --keep-snapshots Don't ever delete the background snapshots. This can a big
+ time saver when debugging new features.
--retry-find Print a warning whenever Sikuli fails to find an image
and allow *one* retry after pressing ENTER. This is useful
for updating outdated images.
@@ -193,11 +195,12 @@ VNC_VIEWER=
VNC_SERVER=
DEBUG=
PAUSE_ON_FAIL=
+KEEP_SNAPSHOTS=
SIKULI_RETRY_FINDFAILED=
TAILS_ISO=
OLD_TAILS_ISO=
-LONGOPTS="view,vnc-server-only,capture:,help,tmpdir:,retry-find,iso:,old-iso:,debug,pause-on-fail,log-to-file:"
+LONGOPTS="view,vnc-server-only,capture:,help,tmpdir:,keep-snapshots,retry-find,iso:,old-iso:,debug,pause-on-fail,log-to-file:"
OPTS=$(getopt -o "" --longoptions $LONGOPTS -n "${NAME}" -- "$@")
eval set -- "$OPTS"
while [ $# -gt 0 ]; do
@@ -224,6 +227,9 @@ while [ $# -gt 0 ]; do
--pause-on-fail)
export PAUSE_ON_FAIL="yes"
;;
+ --keep-snapshots)
+ export KEEP_SNAPSHOTS="yes"
+ ;;
--retry-find)
export SIKULI_RETRY_FINDFAILED="yes"
;;