From 8f65fd88c2c9fbbd321914b9a004d2bf31a9a3a6 Mon Sep 17 00:00:00 2001 From: Wang Jun Date: Tue, 23 Apr 2019 10:39:50 +0800 Subject: [PATCH] * Update qa_run.pm and add the description of "QA_TESTSUITE" - extend the "QA_TESTSUITE" function, make it to trigger more testsuite once, like this: QA_TESTSUITE=cpio,bzip2,.. or QA_TESTSUITE=cpio;bzip2;.... - Update variables.md and add "QA_TESTSUITE" add "QA_TESTSUITE" item because of https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/7313#issuecomment-505258124. --- tests/qa_automation/qa_run.pm | 2 +- variables.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/qa_automation/qa_run.pm b/tests/qa_automation/qa_run.pm index 26a231592ec9..5097733ca490 100644 --- a/tests/qa_automation/qa_run.pm +++ b/tests/qa_automation/qa_run.pm @@ -22,7 +22,7 @@ use utils; use version_utils 'is_sle'; sub test_run_list { - return ('_reboot_off', get_var('QA_TESTSUITE', get_var('QA_TESTSET', '') =~ s/[^_]*_//r)); + return ('_reboot_off', @{get_var_array('QA_TESTSUITE', get_var('QA_TESTSET', '') =~ s/[^_]*_//r)}); } sub system_status { diff --git a/variables.md b/variables.md index ccf710764955..ec1dcdcc0e67 100644 --- a/variables.md +++ b/variables.md @@ -86,6 +86,7 @@ PERF_SETUP | boolean | false | Enables kernel performance testing deployment par PERF_RUNCASE | boolean | false | Enables kernel performance testing run case part. PKGMGR_ACTION_AT_EXIT | string | "" | Set the default behavior of the package manager when package installation has finished. Possible actions are: close, restart, summary. If PKGMGR_ACTION_AT_EXIT is not set in openQA, test module will read the default value from /etc/sysconfig/yast2. PXE_PRODUCT_NAME | string | false | Defines image name for PXE booting +QA_TESTSUITE | string | | Comma or semicolon separated a list of the automation cases' name, and these cases will be installed and triggered if you call "start_testrun" function from qa_run.pm RAIDLEVEL | integer | | Define raid level to be configured. Possible values: 0,1,5,6,10. REGRESSION | string | | Define scope of regression testing, including ibus, gnome, documentation and other. REMOTE_REPOINST | boolean | | Use linuxrc features to install OS from specified repository (install) while booting installer from DVD (instsys) @@ -93,7 +94,7 @@ REPO_* | string | | Url pointing to the mirrored repo. REPO_0 contains installat RESCUECD | boolean | false | Indicates rescue image to be used. RESCUESYSTEM | boolean | false | Indicates rescue system under test. ROOTONLY | boolean | false | Request installation to create only the root account, no user account. -SCC_ADDONS | string | | Coma separated list of modules to be enabled using SCC/RMT. +SCC_ADDONS | string | | Comma separated list of modules to be enabled using SCC/RMT. SELECT_FIRST_DISK | boolean | false | Enables test module to select first disk for the installation. Is used for baremetal machine tests with multiple disks available, including cases when server still has previous installation. SEPARATE_HOME | three-state | undef | Used for scheduling the test module where separate `/home` partition should be explicitly enabled (if `1` is set) or disabled (if `0` is set). If not specified, the test module is skipped. SKIP_CERT_VALIDATION | boolean | false | Enables linuxrc parameter to skip certificate validation of the remote source, e.g. when using self-signed https url.