From 3b69efa2af0cbdbee46f5257a8ce0263fbffbcfe Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 13 Jun 2014 14:37:25 -0500 Subject: [PATCH] Organize arguments into logical sections Signed-off-by: Zack Cerza --- scripts/suite.py | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/scripts/suite.py b/scripts/suite.py index 75da13b87f145..58baf03c2d203 100644 --- a/scripts/suite.py +++ b/scripts/suite.py @@ -14,33 +14,35 @@ taking one config snippet from each facet. Any config files passed on the command line will be used for every combination, and will override anything in the suite. -positional arguments: - Optional extra job yaml to include - -optional arguments: +Miscellaneous arguments: -h, --help Show this help message and exit -v, --verbose Be more verbose --dry-run Do a dry run; do not schedule anything + +Standard arguments: + Optional extra job yaml to include -n, --name Name for this suite --base Base directory for the suite e.g. ~/src/ceph-qa-suite/suites -s , --suite - The suite to run + The suite to schedule + -m , --machine-type + Machine type [default: plana] + +Scheduler arguments: --owner Job owner - -e , --email When tests finish or time out, send an email here - --timeout How long, in seconds, to wait for jobs to finish - before sending email. This does not kill jobs. - [default: 21600] - -p , --priority - Job priority (lower is sooner) - [default: 1000] + -e , --email + When tests finish or time out, send an email here -N , --num Number of times to run/queue the job [default: 1] -l , --limit Queue at most this many jobs [default: 0] - -m , --machine-type - Machine type - [default: plana] + -p , --priority + Job priority (lower is sooner) + [default: 1000] + --timeout How long, in seconds, to wait for jobs to finish + before sending email. This does not kill jobs. + [default: 21600] """ -- 2.39.5