X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=regressions%2FMakefile.am;h=00c25f1ec681a4d3fc0e5537ac0be3e2bccaeeba;hp=78ecfaa4ee299f5d89e60e6cf883914970c44b10;hb=5d93d70b4d36b2337104b3dbca07722fa4d47ff5;hpb=ab81d09a710242ab61001ef5e8ffd321725b47a7 diff --git a/regressions/Makefile.am b/regressions/Makefile.am index 78ecfaa..00c25f1 100644 --- a/regressions/Makefile.am +++ b/regressions/Makefile.am @@ -1,5 +1,5 @@ # libguestfs -# Copyright (C) 2009 Red Hat Inc. +# Copyright (C) 2009-2011 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 @@ -13,19 +13,84 @@ # # 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. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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/ + +include $(top_srcdir)/subdir-rules.mk TESTS = \ - rhbz503169c10.sh \ + tell-user-to-ignore-errors.sh \ + rhbz501893 \ rhbz503169c13.sh \ + rhbz557655.sh \ + rhbz576879.sh \ + rhbz578407.sh \ + rhbz580246.sh \ + rhbz602997.sh \ + rhbz690819.sh \ + test-add-domain.sh \ + test-both-ends-cancel.sh \ + test-cancellation-download-librarycancels.sh \ + test-cancellation-upload-daemoncancels.sh \ + test-copy.sh \ + test-find0.sh \ + test-guestfish-a.sh \ + test-guestfish-d.sh \ + test-guestfish-escapes.sh \ + test-guestfish-events.sh \ + test-guestfish-tilde.sh \ + test-inspect-fstab.sh \ + test-inspect-fstab-md.sh \ + test-launch-race.pl \ + test-list-filesystems.sh \ + test-list-md-devices.sh \ + test-luks.sh \ + test-luks-list.sh \ + test-lvm-filtering.sh \ + test-lvm-mapping.pl \ + test-mdadm.sh \ + test-noexec-stack.pl \ + test-qemudie-killsub.sh \ + test-qemudie-midcommand.sh \ + test-qemudie-synch.sh \ + test-read_file.sh \ + test-remote.sh \ + test-reopen.sh \ + test-stringlist.sh \ + test-upload-to-dir.sh + +SKIPPED_TESTS = \ test-bootbootboot.sh +FAILING_TESTS = \ + test-qemudie-launchfail.sh + +random_val := $(shell awk 'BEGIN{srand(); print 1+int(255*rand())}' < /dev/null) + +TESTS_ENVIRONMENT = \ + MALLOC_PERTURB_=$(random_val) \ + LD_LIBRARY_PATH=$(top_builddir)/src/.libs \ + LIBGUESTFS_PATH=$(top_builddir)/appliance \ + TMPDIR=$(top_builddir) \ + PERL5LIB=$(top_builddir)/perl/blib/lib:$(top_builddir)/perl/blib/arch \ + NOEXEC_CHECK="$(top_builddir)/src/.libs/libguestfs.so $(top_builddir)/daemon/guestfsd" + +check_PROGRAMS = \ + rhbz501893 + +rhbz501893_SOURCES = rhbz501893.c +rhbz501893_CFLAGS = \ + -I$(top_srcdir)/src -I$(top_builddir)/src \ + $(WARN_CFLAGS) $(WERROR_CFLAGS) +rhbz501893_LDADD = \ + $(top_builddir)/src/libguestfs.la + EXTRA_DIST = \ - test-cleanup.sh \ - $(TESTS) + $(FAILING_TESTS) \ + $(SKIPPED_TESTS) \ + $(TESTS) \ + rhbz557655-expected.stdout \ + rhbz557655-expected.stderr