X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=regressions%2FMakefile.am;h=9c181bd9d36b628401cddcb527b6185cc2b74799;hb=39d5c63be6037d1cb8bdf6e5a7fd9e3620c6ba6b;hp=78ecfaa4ee299f5d89e60e6cf883914970c44b10;hpb=ab81d09a710242ab61001ef5e8ffd321725b47a7;p=libguestfs.git diff --git a/regressions/Makefile.am b/regressions/Makefile.am index 78ecfaa..9c181bd 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 @@ -21,11 +21,70 @@ # # See also capitests/ +include $(top_srcdir)/subdir-rules.mk + TESTS = \ + tell-user-to-ignore-errors.sh \ + rhbz501893 \ rhbz503169c10.sh \ rhbz503169c13.sh \ + rhbz557655.sh \ + rhbz576879.sh \ + rhbz578407.sh \ + rhbz580246.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-tilde.sh \ + test-inspect-fstab.sh \ + test-launch-race.pl \ + test-luks.sh \ + test-lvm-filtering.sh \ + test-lvm-mapping.pl \ + 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 \ + 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