X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=caution%2FMakefile.am;fp=caution%2FMakefile.am;h=f87884f4934f530e86b20fd46a33e8d03bb1d4b0;hb=f3ada2c7653866f2529c9f18aaa99f76cd984844;hp=0000000000000000000000000000000000000000;hpb=1acb82e9f70a81982c7c2ad8b7966bffc4fcfa8a;p=libguestfs.git diff --git a/caution/Makefile.am b/caution/Makefile.am new file mode 100644 index 0000000..f87884f --- /dev/null +++ b/caution/Makefile.am @@ -0,0 +1,36 @@ +# libguestfs +# Copyright (C) 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 +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +# Safety and liveness tests of components that libguestfs depends upon +# (not of libguestfs itself). Mainly this is for qemu and the kernel. +# +# See also capitests and regressions directories. + +include $(top_srcdir)/subdir-rules.mk + +TESTS = \ + qemu-snapshot-isolation.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 + +EXTRA_DIST = \ + $(TESTS)