Note BZ numbers which are causing tests to fail.

This commit is contained in:
Richard W.M. Jones 2009-05-18 17:35:15 +00:00
parent ded8c044a3
commit 490d04e249

View File

@ -4,7 +4,7 @@
Summary: Access and modify virtual machine disk images Summary: Access and modify virtual machine disk images
Name: libguestfs Name: libguestfs
Version: 1.0.26 Version: 1.0.26
Release: 4%{?dist} Release: 5%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: Development/Libraries Group: Development/Libraries
URL: http://et.redhat.com/~rjones/libguestfs/ URL: http://et.redhat.com/~rjones/libguestfs/
@ -268,21 +268,33 @@ make INSTALLDIRS=vendor %{?_smp_mflags}
%check %check
#make check # Uncomment one of these, depending on whether you want to
./fish/guestfish -v <<EOT # do a very long and thorough test ('make check') or just
alloc test.img 100M # a quick test to see if things generally work.
run
sfdisk /dev/sda 0 0 0 , # Currently tests are disabled on some architectures because of:
pvcreate /dev/sda1 # BZ 494075 (ppc, ppc64).
vgcreate VG /dev/sda1 # BZ 500564 (x86-64)
lvcreate LV1 VG 10M
lvcreate LV2 VG 10M %ifarch %{ix86}
mkfs ext2 /dev/VG/LV1 make check
mount /dev/VG/LV1 / %endif
ll /
lvs # Quick test:
sync #./fish/guestfish -v <<EOT
EOT #alloc test.img 100M
#run
#sfdisk /dev/sda 0 0 0 ,
#pvcreate /dev/sda1
#vgcreate VG /dev/sda1
#lvcreate LV1 VG 10M
#lvcreate LV2 VG 10M
#mkfs ext2 /dev/VG/LV1
#mount /dev/VG/LV1 /
#ll /
#lvs
#sync
#EOT
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -441,9 +453,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon May 18 2009 Richard Jones <rjones@redhat.com> - 1.0.26-4 * Mon May 18 2009 Richard Jones <rjones@redhat.com> - 1.0.26-5
- Experimentally try to reenable ppc and ppc64 builds. - Experimentally try to reenable ppc and ppc64 builds.
- Tests take a very long time to run, so include a simple quick check. - Note BZ numbers which are causing tests to fail.
* Mon May 18 2009 Richard Jones <rjones@redhat.com> - 1.0.26-1 * Mon May 18 2009 Richard Jones <rjones@redhat.com> - 1.0.26-1
- New upstream version 1.0.26. - New upstream version 1.0.26.