diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-11-20 18:31:45 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-11-20 18:31:45 +0000 |
commit | 12905a9bbbfc5a39401bfd3b629ac96b9ce93f3e (patch) | |
tree | 101d2ca13faf8ad0f597e274e1170b2e6115bddc /lua/Makefile.am | |
parent | 1e321b883b8c7f5b7c072e869db26f5a1a0a152e (diff) | |
download | libguestfs-12905a9bbbfc5a39401bfd3b629ac96b9ce93f3e.tar.gz libguestfs-12905a9bbbfc5a39401bfd3b629ac96b9ce93f3e.tar.xz libguestfs-12905a9bbbfc5a39401bfd3b629ac96b9ce93f3e.zip |
lua: valgrinding Lua code doesn't work.
See comment.
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) |