summaryrefslogtreecommitdiffstats
path: root/capitests/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* appliance: Change to using febootstrap 3.x supermin appliance.Richard W.M. Jones2010-12-051-1/+2
| | | | | | | | | This removes all support for building the ordinary / old style appliance using febootstrap 2.x, debootstrap, debirf, fakeroot and fakechroot. Instead this uses febootstrap 3.x to build the supermin appliance in a simpler cross-distro manner.
* capitests: Remove warning about dead definitions.Richard W.M. Jones2010-11-111-10/+10
| | | | This updates commit cb7ec8be4ce6068b6cbc6522a67826cdbd161024.
* Check that just including <guestfs.h> on its own works.Richard W.M. Jones2010-11-111-0/+9
|
* capitests: Add the code to test (proposed) add-libvirt-dom C API.Richard W.M. Jones2010-11-111-0/+18
| | | | | This API was dropped as there are some problems with it. This commit adds the original test code, but commented out.
* capitests: Add whitespace in Makefile.Richard W.M. Jones2010-11-101-0/+1
|
* capitests: Test guestfs_last_errno call.Richard W.M. Jones2010-11-031-2/+11
|
* capitests: Test guestfs_add_drive_opts with optional args from C.Richard W.M. Jones2010-11-031-2/+11
|
* capitests: Test some basic aspects of the C API.Richard W.M. Jones2010-11-031-15/+35
|
* capitests: Set path in TESTS_ENVIRONMENT instead of in tests.cRichard W.M. Jones2010-11-031-0/+1
| | | | | By exporting LIBGUESTFS_PATH with the right path to the appliance, we no longer need to hard code the path in tests.c
* availability: Skip tests when functions are not available.Richard Jones2009-11-201-15/+0
|
* build: Fix inter-directory dependenciesMatthew Booth2009-11-191-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds an explicit dependency on generator.ml for every file it generates, except java files. Java is left for another time because it's considerably trickier. It also adds a build rule for src/libguestfs.la so it can be rebuilt as required from other directories. It does this by creating a top level make file, subdir-rules.mk, which can be included from sub-directories. sub-directories need to define 'generator_built' to include local files which are built by generator.ml, and they will be updated automatically. This fixes parallel make, and will automatically re-create generated files when make is run from any directory. It also fixes the problem which efad4f53 was targetting. Specifically, src/guestfs_protocol.(c|h) had an erroneous dependency on stamp-generator, and therefore generator.ml, despite not being directly created by it. This caused them to be recreated every time generator.ml ran rather than only when src/guestfs_protocol.x was updated, which cascaded into a daemon and therefore appliance update. This patch also changes the contents of the distribution tarball by including files created by rpcgen.
* build: enable gcc warnings in capitests/ and ocaml/Jim Meyering2009-08-271-1/+2
| | | | | * capitests/Makefile.am: Use $(WARN_CFLAGS) and $(WERROR_CFLAGS). * ocaml/Makefile.am:: Likewise.
* tests: Conditionally skip UUID tests.Richard W.M. Jones2009-08-191-2/+11
| | | | | | | | More tests introduced which break with old e2fsprogs that didn't support UUIDs. Skip those tests when the old platform is detected. Also tidy up this code a little.
* New commands: swapon-*, swapoff-*, mkswap-file.Richard W.M. Jones2009-07-311-0/+1
| | | | | | | | | | | | swapon-device swapoff-device swapon-file swapoff-file swapon-label swapoff-label swapon-uuid swapoff-uuid mkswap-file
* RHEL 5: Skip 'scrub' test if command is not in the initramfs.Richard Jones2009-07-071-0/+2
|
* RHEL 5: 'mkswap -U' not supported, check before testing it.Richard Jones2009-07-071-0/+1
|
* Merge branch 'master' of git://git.et.redhat.com/libguestfsRichard Jones2009-07-071-2/+1
|\
| * Make it possible to build in a separate directoryMatthew Booth2009-07-031-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch allows you to do: mkdir build cd build ../configure ... make This will output all generated files to the build directory. Given that autogen automatically runs configure, you can also do: BUILDDIR=./build ./autogen.sh which will do the right thing. Also: * Fix a dependency bug which means that guestfs_protocol.h isn't automatically rebuilt. * Re-running autogen.sh with no arguments won't blow away your previous configure arguments.
* | CentOS fix: Skip checksum test if no squashfs module.Richard Jones2009-06-101-0/+1
|/
* CentOS fix: skip ntfs-3g.probe tests if no binary.Richard Jones2009-06-101-0/+1
|
* Move pure regression tests to their own subdirectory.Richard Jones2009-06-041-4/+2
|
* Move C API tests out of root build dir into 'capitests' subdir.Richard W.M. Jones2009-05-281-0/+49