Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP -- Draft idea for openQA wrapper helper to disable test timeout on call, WDYT? #5723

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions script/openqa-test-timeout-disable
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash -e

usage() {
cat << EOF
Usage: openqa-test-timeout-disable
Disable the openQA test timeout while calling another command.

Options:
-h, --help display this help
EOF
exit "$1"
}

opts=$(getopt -o h -l help -n "$0" -- "$@") || usage 1
eval set -- "$opts"
while true; do
case "$1" in
-h | --help) usage 0 ;;
--)
shift
break
;;
*) break ;;
esac
done

env OPENQA_TEST_TIMEOUT_DISABLE=1 $@
Loading