Skip to content

Commit

Permalink
Merge pull request #136 from shirishaganta/fix_avocado-setup
Browse files Browse the repository at this point in the history
avocado-setup.py:Modified minor and minor_env variable
  • Loading branch information
Satheesh Rajendran authored Jul 16, 2019
2 parents f12b2cc + 46b26ec commit 795e8cf
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
5 changes: 3 additions & 2 deletions avocado-setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,9 @@ def parse_test_config(test_config_file, avocado_bin, enable_kvm):
# Get common set of not needed tests
dist = 'norun_%s' % helper.get_dist()[0]
major = 'norun_%s' % env_ver.split('.')[0]
minor = 'norun_%s_%s' % (env_ver, env_type)
for section in [dist, major, minor]:
minor = 'norun_%s' % env_ver
minor_env = 'norun_%s_%s' % (env_ver, env_type)
for section in [dist, major, minor, minor_env]:
if NORUNTESTFILE.has_section(section):
norun_tests.extend(NORUNTESTFILE.get(section, 'tests').split(','))

Expand Down
34 changes: 34 additions & 0 deletions config/wrapper/no_run_tests.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ tests =
tests =
[norun_rhel7]
tests =
[norun_rhel7.6]
tests =
[norun_rhel7.6_NV]
tests =
[norun_rhel7.6_pHyp]
tests =
[norun_rhel7.6_kvm]
tests =
[norun_rhel7.7]
tests =
[norun_rhel7.7_NV]
tests =
[norun_rhel7.7_pHyp]
Expand All @@ -35,12 +45,16 @@ tests =
tests =
[norun_rhel8]
tests =
[norun_rhel8.0]
tests =
[norun_rhel8.0_NV]
tests =
[norun_rhel8.0_pHyp]
tests =
[norun_rhel8.0_kvm]
tests =
[norun_rhel8.1]
tests =
[norun_rhel8.1_NV]
tests =
[norun_rhel8.1_pHyp]
Expand All @@ -65,14 +79,34 @@ tests =
tests =
[norun_sles12]
tests =
[norun_sles12.sp3]
tests =
[norun_sles12.sp3_NV]
tests =
[norun_sles12.sp3_pHyp]
tests =
[norun_sles12.sp3_kvm]
tests =
[norun_sles12.sp4]
tests =
[norun_sles12.sp4_NV]
tests =
[norun_sles12.sp4_pHyp]
tests =
[norun_sles12.sp4_kvm]
tests =
[norun_sles12.sp5]
tests =
[norun_sles12.sp5_NV]
tests =
[norun_sles12.sp5_pHyp]
tests =
[norun_sles12.sp5_kvm]
tests =
[norun_sles15]
tests =
[norun_sles15.sp1]
tests =
[norun_sles15.sp1_NV]
tests =
[norun_sles15.sp1_pHyp]
Expand Down

0 comments on commit 795e8cf

Please sign in to comment.