mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
lua: Add test files to EXTRA_DIST even if --disable-lua
Ensure that 'make dist' adds the Lua test files to the tarball even if Lua support was configured out.
This commit is contained in:
@@ -21,11 +21,25 @@ lualibdir = $(libdir)/lua/$(LUA_VERSION)
|
||||
|
||||
generator_built = \
|
||||
bindtests.lua \
|
||||
lua-guestfs.c
|
||||
lua-guestfs.c \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(generator_built) \
|
||||
run-bindtests
|
||||
run-bindtests \
|
||||
tests/010-load.lua \
|
||||
tests/015-globals.lua \
|
||||
tests/020-create.lua \
|
||||
tests/025-create-flags.lua \
|
||||
tests/027-create-multiple.lua \
|
||||
tests/030-config.lua \
|
||||
tests/050-lvcreate.lua \
|
||||
tests/060-readdir.lua \
|
||||
tests/070-optargs.lua \
|
||||
tests/400-events.lua \
|
||||
tests/400-progress.lua \
|
||||
tests/900-errors.lua \
|
||||
$(NULL)
|
||||
|
||||
CLEANFILES += \
|
||||
guestfs.so
|
||||
@@ -85,20 +99,6 @@ TESTS += \
|
||||
tests/400-progress.lua
|
||||
endif
|
||||
|
||||
EXTRA_DIST += \
|
||||
tests/010-load.lua \
|
||||
tests/015-globals.lua \
|
||||
tests/020-create.lua \
|
||||
tests/025-create-flags.lua \
|
||||
tests/027-create-multiple.lua \
|
||||
tests/030-config.lua \
|
||||
tests/050-lvcreate.lua \
|
||||
tests/060-readdir.lua \
|
||||
tests/070-optargs.lua \
|
||||
tests/400-events.lua \
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user