Move pure regression tests to their own subdirectory.

This commit is contained in:
Richard Jones
2009-06-04 14:09:00 +01:00
parent b6adf09c4d
commit dcd8742578
7 changed files with 36 additions and 5 deletions

View File

@@ -79,6 +79,9 @@ perl/
python/
Python bindings.
regressions/
Regression tests.
ruby/
Ruby bindings.

View File

@@ -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

View File

@@ -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) \

View File

@@ -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

28
regressions/Makefile.am Normal file
View File

@@ -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