mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
test-tool: add a documentation test
Add the podcheck.pl test, to make sure the documentation is in sync with the available options. Also fix the formats of options in the current POD, so it matches what used already in other documentations, and what podcheck.pl expects.
This commit is contained in:
@@ -17,7 +17,9 @@
|
||||
|
||||
include $(top_srcdir)/subdir-rules.mk
|
||||
|
||||
EXTRA_DIST = libguestfs-test-tool.pod
|
||||
EXTRA_DIST = \
|
||||
libguestfs-test-tool.pod \
|
||||
test-libguestfs-test-tool-docs.sh
|
||||
|
||||
bin_PROGRAMS = libguestfs-test-tool
|
||||
man_MANS = libguestfs-test-tool.1
|
||||
@@ -56,5 +58,13 @@ stamp-libguestfs-test-tool.pod: libguestfs-test-tool.pod
|
||||
$<
|
||||
touch $@
|
||||
|
||||
# Tests.
|
||||
|
||||
TESTS_ENVIRONMENT = \
|
||||
$(top_builddir)/run --test
|
||||
|
||||
TESTS = \
|
||||
test-libguestfs-test-tool-docs.sh
|
||||
|
||||
check-valgrind:
|
||||
$(top_builddir)/run --test @VG@ ./libguestfs-test-tool
|
||||
|
||||
Reference in New Issue
Block a user