X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=regressions%2FMakefile.am;h=ff0032144b9899a8761d8cbf08eecb57c109f749;hp=2e1cb415fe9c6aae59cd01bb3936076fbbcaf11f;hb=d2cf9a15a9f22623dbbed33fb66c5077f1275df2;hpb=b5e29ac706004ad29da2e0949beda41e8e27e398 diff --git a/regressions/Makefile.am b/regressions/Makefile.am index 2e1cb41..ff00321 100644 --- a/regressions/Makefile.am +++ b/regressions/Makefile.am @@ -21,14 +21,29 @@ # # 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-filtering.sh \ + test-lvm-mapping.pl \ + test-noexec-stack.pl \ test-qemudie-killsub.sh \ - test-qemudie-synch.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 @@ -36,11 +51,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