Skip to content

Commit

Permalink
runtest: add --maxtime option
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhong Yin <[email protected]>
  • Loading branch information
tcler committed Jul 28, 2023
1 parent 18b33fc commit a0b34f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bkr-runtest/gen_job_xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ if [info exist Opt(fetch-url)] { lappend GlobalParam "REPO_URLS=$Opt(fetch-url)"
if [regexp -- {cat .*/usr/share/restraint/plugins/task_run.d/27_task_require} ${ksfContent}] {
lappend GlobalParam "OVER_WRITE_RPM=yes"
}
if [info exist Opt(maxtime)] { lappend GlobalParam "KILLTIMEOVERRIDE=$Opt(maxtime)" }

# process --distro= option
set DISTRO_L {}
Expand Down
1 change: 1 addition & 0 deletions share/common-options.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ set CommonOptionList {
reboot {arg y help {add reboot after each task}}
{param taskparam} {arg m help {Set task params, can use multiple times.
Use "mh-" prefix to set different value for multihost, example: --param=mh-key=val1,val2}}
maxtime {arg y help {alias of --param=KILLTIMEOVERRIDE=<maxtime>}}
noavc {arg n help {alias of --param=AVC_ERROR=+no_avc_check}}
nvr {arg m help {Specify the kernel(Name-Version-Release) to be installed}}
install {arg m help {Install PACKAGE using /distribution/pkginstall, can use multiple times}}
Expand Down

0 comments on commit a0b34f8

Please sign in to comment.