[parted-devel] Running parted-2.2 tests
Gilles Espinasse
g.esp at free.fr
Tue Mar 2 07:38:03 UTC 2010
I was in a way to better document how to run tests when I find some oddities
Using make check -C tests run 31 tests.
Using make check like documented in readme-hacking run only 28 tests
difference is
./t1700-ext-probe.sh: skipping test: FS test with sector size != 512
./t2100-mkswap.sh: skipping test: FS test with sector size != 512
./t2300-dos-label-extended-bootcode.sh: skipping test: FS test with sector
size != 512
Then the results for me
make[1]: Entering directory `/usr/src/parted-2.2/tests'
make print-align print-max dup-clobber
make[2]: Entering directory `/usr/src/parted-2.2/tests'
CC print-align.o
CCLD print-align
CC print-max.o
CCLD print-max
CC dup-clobber.o
CCLD dup-clobber
make[2]: Leaving directory `/usr/src/parted-2.2/tests'
make check-TESTS
make[2]: Entering directory `/usr/src/parted-2.2/tests'
make[3]: Entering directory `/usr/src/parted-2.2/tests'
PASS: t0000-basic.sh
PASS: t0001-tiny.sh
PASS: t0010-script-no-ctrl-chars.sh
PASS: t0100-print.sh
PASS: t0200-gpt.sh
PASS: t0201-gpt.sh
PASS: t0202-gpt-pmbr.sh
PASS: t0205-gpt-list-clobbers-pmbr.sh
PASS: t0206-gpt-print-with-corrupt-primary-clobbers-pmbr.sh
PASS: t0220-gpt-msftres.sh
PASS: t0250-gpt.sh
FAIL: t0280-gpt-corrupt.sh
PASS: t0300-dos-on-gpt.sh
PASS: t0400-loop-clobber-infloop.sh
PASS: t0500-dup-clobber.sh
PASS: t1100-busy-label.sh
PASS: t1700-ext-probe.sh
PASS: t2100-mkswap.sh
PASS: t2200-dos-label-recog.sh
PASS: t2300-dos-label-extended-bootcode.sh
PASS: t2400-dos-hfs-partition-type.sh
./t3000-resize-fs.sh: skipping test: you lack the scsi_debug kernel module
SKIP: t3000-resize-fs.sh
PASS: t4000-sun-raid-type.sh
PASS: t4001-sun-vtoc.sh
PASS: t4100-msdos-partition-limits.sh
PASS: t4100-dvh-partition-limits.sh
PASS: t4100-msdos-starting-sector.sh
PASS: t4200-partprobe.sh
FAIL: t5000-tags.sh
./t6000-dm.sh: skipping test: no device-mapper support
SKIP: t6000-dm.sh
PASS: t7000-scripting.sh
PASS: t8000-loop.sh
./t9010-big-sector.sh: skipping test: you lack the scsi_debug kernel module
SKIP: t9010-big-sector.sh
./t9020-alignment.sh: skipping test: you lack the scsi_debug kernel module
SKIP: t9020-alignment.sh
PASS: t9021-maxima.sh
./t9030-align-check.sh: skipping test: you lack the scsi_debug kernel module
SKIP: t9030-align-check.sh
===================================
2 of 31 tests failed
(5 tests were not run)
See tests/test-suite.log
Please report to bug-parted at gnu.org
===================================
make[3]: *** [test-suite.log] Error 1
make[3]: Leaving directory `/usr/src/parted-2.2/tests'
make[2]: *** [check-TESTS] Error 2
make[2]: Leaving directory `/usr/src/parted-2.2/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/usr/src/parted-2.2/tests'
Compiled with
./configure --prefix=/usr \
--disable-device-mapper \
--without-readline \
--disable-static \
--disable-nls \
--disable-debug
If I try to disable the two tests that fail (t0280 and t5000) with
SKIP_TESTS="t0280 t5000", t0280 is still run and fail while t5000 indicate
pass, should not skip be displayed?
FAIL: t0280-gpt-corrupt.sh
...
PASS: t5000-tags.sh
Here is the log running those 2 tests using
make check -C tests VERBOSE=yes TESTS="t0280-gpt-corrupt.sh t5000-tags.sh"
>failed-tests
Gilles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: failed-tests
Type: application/octet-stream
Size: 5264 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20100302/ae0e3255/attachment-0001.obj>
More information about the parted-devel
mailing list