X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=regressions%2FMakefile.am;h=c9156f99e4ec16ce22197f60f741427cf5114d90;hp=0896584b2b9e8d41940ae824bdf8b2d40e0246ae;hb=bf3b9e2e236b4dd2216200993ba39545ad5160bb;hpb=96b9d82e2f4f24cdd41040f54a7597202c04cf7e diff --git a/regressions/Makefile.am b/regressions/Makefile.am index 0896584..c9156f9 100644 --- a/regressions/Makefile.am +++ b/regressions/Makefile.am @@ -21,10 +21,64 @@ # # 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 \ + 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-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 + +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