X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=regressions%2FMakefile.am;h=c00a615f76ab8e2eb0c8e0f5f5cef1bb89669c7d;hp=fd56a6d0a49b98ee537ae9d4c2daee7626009608;hb=f7d18c84dde596699ffc5100fec2cf7b0d582450;hpb=dcd8742578a57e0871d6db4797014bbfd854a57b;ds=sidebyside diff --git a/regressions/Makefile.am b/regressions/Makefile.am index fd56a6d..c00a615 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,8 +21,74 @@ # # See also capitests/ -EXTRA_DIST = \ - test-cleanup.sh \ +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 \ + 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-tilde.sh \ + test-inspect-fstab.sh \ + test-launch-race.pl \ + test-luks.sh \ + test-luks-list.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 -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 = \ + $(FAILING_TESTS) \ + $(SKIPPED_TESTS) \ + $(TESTS) \ + rhbz557655-expected.stdout \ + rhbz557655-expected.stderr