diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-06-04 14:09:00 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-06-04 15:06:28 +0100 |
commit | dcd8742578a57e0871d6db4797014bbfd854a57b (patch) | |
tree | 279a45b941e9c7fe531954101b78a978be6f094f | |
parent | b6adf09c4d2cc3f1d0285950c151b1fd7688ec67 (diff) | |
download | libguestfs-dcd8742578a57e0871d6db4797014bbfd854a57b.tar.gz libguestfs-dcd8742578a57e0871d6db4797014bbfd854a57b.tar.xz libguestfs-dcd8742578a57e0871d6db4797014bbfd854a57b.zip |
Move pure regression tests to their own subdirectory.
-rw-r--r-- | HACKING | 3 | ||||
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | capitests/Makefile.am | 6 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | regressions/Makefile.am | 28 | ||||
-rwxr-xr-x | regressions/test-bootbootboot.sh (renamed from capitests/test-bootbootboot.sh) | 0 | ||||
-rwxr-xr-x | regressions/test-cleanup.sh (renamed from capitests/test-cleanup.sh) | 0 |
7 files changed, 36 insertions, 5 deletions
@@ -79,6 +79,9 @@ perl/ python/ Python bindings. +regressions/ + Regression tests. + ruby/ Ruby bindings. diff --git a/Makefile.am b/Makefile.am index 9e448139..53e09108 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,7 +17,8 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = src daemon appliance fish po examples images capitests +SUBDIRS = src daemon appliance fish po examples images \ + capitests regressions if HAVE_OCAML SUBDIRS += ocaml diff --git a/capitests/Makefile.am b/capitests/Makefile.am index f061243b..18e49a3f 100644 --- a/capitests/Makefile.am +++ b/capitests/Makefile.am @@ -16,9 +16,7 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. EXTRA_DIST = \ - tests.c \ - test-cleanup.sh \ - test-bootbootboot.sh + tests.c # Tests. These are auto-generated from the test descriptions # in the generator. @@ -30,7 +28,7 @@ tests_CFLAGS = \ -I$(top_builddir)/src -Wall tests_LDADD = $(top_builddir)/src/libguestfs.la -TESTS = tests test-bootbootboot.sh +TESTS = tests TESTS_ENVIRONMENT = \ SKIP_TEST_COMMAND=$(shell ldd test-command | grep -sq 'not a dynamic executable' || echo 1) \ SKIP_TEST_COMMAND_LINES=$(shell ldd test-command | grep -sq 'not a dynamic executable' || echo 1) \ diff --git a/configure.ac b/configure.ac index 67f05aae..1b09eb9e 100644 --- a/configure.ac +++ b/configure.ac @@ -455,6 +455,7 @@ AC_CONFIG_FILES([Makefile appliance/make-initramfs.sh appliance/update-initramfs.sh images/Makefile capitests/Makefile + regressions/Makefile ocaml/Makefile ocaml/examples/Makefile perl/Makefile python/Makefile diff --git a/regressions/Makefile.am b/regressions/Makefile.am new file mode 100644 index 00000000..fd56a6d0 --- /dev/null +++ b/regressions/Makefile.am @@ -0,0 +1,28 @@ +# libguestfs +# Copyright (C) 2009 Red Hat Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +# Regression tests and other important tests which are not +# specific to the C API. We can write these more easily in +# higher level languages than C. +# +# See also capitests/ + +EXTRA_DIST = \ + test-cleanup.sh \ + test-bootbootboot.sh + +TESTS = test-bootbootboot.sh diff --git a/capitests/test-bootbootboot.sh b/regressions/test-bootbootboot.sh index 05ff6dfe..05ff6dfe 100755 --- a/capitests/test-bootbootboot.sh +++ b/regressions/test-bootbootboot.sh diff --git a/capitests/test-cleanup.sh b/regressions/test-cleanup.sh index 33194ab2..33194ab2 100755 --- a/capitests/test-cleanup.sh +++ b/regressions/test-cleanup.sh |