Re: [PATCH] Add new testing framework and the first test to use it.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 19, 2008 at 03:27:30PM +0100, Jim Meyering wrote:
> A week or so ago, I read a bug report on this list with a simple
> reproducer + fix that was just begging for a test suite addition.
> 
> This change adds framework to make that easy, and adds the first test.
> I uncovered problems in tests/Makefile.am along the way and just
> posted a patch for that.
> 
> This adds most of a portable (bourne-shell-based) test framework that also
> provides for convenient isolation of individual tests (so we can easily
> parallelize them without worrying one will tromp on files of another).
> In a couple years when running "make check" runs hundreds of tests,
> you'll definitely want them to run in parallel.  The mktempd script is
> not new.  I first used it in coreutils and parted, but removed it from
> coreutils after that package acquired its own C-based implementation.
> 
> test-lib.sh is from coreutils, but was inspired by the file by the
> same name in git.git's own t/ (tests) directory.

All seems reasonable to me.

Dan.
-- 
|: Red Hat, Engineering, Boston   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]