X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=regressions%2FMakefile.am;h=385de4582fc2a0ee040133b2c574dde5e4655cb5;hp=12c4e80c9f4b5511266c68cb599a06d7819925aa;hb=f323479760ab23755d6b4f27c236befb5a4d6111;hpb=e315e0723ec8c2f84809f06d7f2ede4955dd6c67 diff --git a/regressions/Makefile.am b/regressions/Makefile.am index 12c4e80..385de45 100644 --- a/regressions/Makefile.am +++ b/regressions/Makefile.am @@ -21,17 +21,28 @@ # # See also capitests/ +include $(top_srcdir)/subdir-rules.mk + TESTS = \ + rhbz501893 \ rhbz503169c10.sh \ rhbz503169c13.sh \ - test-cancellation-upload-daemoncancels.sh \ + rhbz557655.sh \ + rhbz576879.sh \ + rhbz578407.sh \ + rhbz580246.sh \ test-cancellation-download-librarycancels.sh \ - test-qemudie-midcommand.sh \ + test-cancellation-upload-daemoncancels.sh \ + test-find0.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-reopen.sh \ + test-stringlist.sh SKIPPED_TESTS = \ test-bootbootboot.sh @@ -39,11 +50,28 @@ SKIPPED_TESTS = \ 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 + 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 = \ $(FAILING_TESTS) \ $(SKIPPED_TESTS) \ - $(TESTS) + $(TESTS) \ + rhbz557655-expected.stdout \ + rhbz557655-expected.stderr