Skip to content

Commit 6d2f367

Browse files
committed
MiminalVM tests add openSUSE:Leap:16.0:Images
openSUSE:Leap:16.0:Images.xml updated
1 parent 576b300 commit 6d2f367

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

script/scriptgen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,7 @@ def parse_dir(root, d, files):
12061206
continue
12071207

12081208
rootXml = ElementTree.parse(root + "/" + f).getroot()
1209-
if not rootXml:
1209+
if not len(rootXml):
12101210
print("Ignoring [" + f + "]: Cannot parse xml", file=sys.stderr)
12111211
continue
12121212

xml/obs/openSUSE:Leap:16.0:Images.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,13 @@
33
dist_path="images"
44
distri="opensuse"
55
archs="aarch64 x86_64">
6-
<flavor name="agama-installer-openSUSE" folder="*/*agama-installer-openSUSE*" iso="1" media1="0"/>
6+
<flavor name="Minimal-VM-for-kvm-and-xen" folder="*/kiwi-templates-Minimal:kvm-and-xen">
7+
<hdd filemask=".*kvm-and-xen.*\.qcow2$"/>
8+
</flavor>
9+
<flavor name="Minimal-VM-for-kvm-and-xen-encrypt" folder="*/kiwi-templates-Minimal:kvm-and-xen-encrypt">
10+
<hdd filemask=".*kvm-and-xen-encrypt.*\.qcow2$"/>
11+
</flavor>
12+
<flavor name="Minimal-VM-Cloud" folder="*/kiwi-templates-Minimal:Cloud">
13+
<hdd filemask=".*Minimal-VM.*-Cloud-.*\.qcow2$"/>
14+
</flavor>
715
</openQA>

0 commit comments

Comments
 (0)