diff options
Diffstat (limited to 'lua/Makefile.am')
-rw-r--r-- | lua/Makefile.am | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lua/Makefile.am b/lua/Makefile.am index 11ebea71..be78c6a3 100644 --- a/lua/Makefile.am +++ b/lua/Makefile.am @@ -50,7 +50,7 @@ guestfs.so: libluaguestfs.la ln -sf .libs/libluaguestfs.so $@ # Tests. -TESTS_ENVIRONMENT = LC_ALL=C $(top_builddir)/run --test +TESTS_ENVIRONMENT = LC_ALL=C $(top_builddir)/run --test $(VG) TESTS = \ run-bindtests \ tests/010-load.lua \ @@ -84,6 +84,15 @@ EXTRA_DIST += \ tests/400-progress.lua \ tests/900-errors.lua +# Run the tests under valgrind. +# This doesn't work. Because Lua dlcloses the library on exit, the +# stack traces contain no useful information. The only way to make +# this work would be to patch Lua or fix valgrind. +# https://bugs.kde.org/show_bug.cgi?id=79362 +# http://valgrind.org/docs/manual/faq.html#faq.unhelpful +#check-valgrind: +# $(MAKE) VG="@VG@" check + # Custom install rule. install-data-hook: mkdir -p $(DESTDIR)$(lualibdir) |