[osmium-tool] 87/97: Only run test that needs man pages if man pages are built.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Tue Jul 21 20:15:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to tag v1.0.0
in repository osmium-tool.

commit 3fa8ae405c5ba9a5f7ef893de563e30503b74b2d
Author: Jochen Topf <jochen at topf.org>
Date:   Tue Feb 10 14:11:36 2015 +0100

    Only run test that needs man pages if man pages are built.
---
 CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f1850c5..d8b0cdc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -208,7 +208,10 @@ endfunction()
 do_test(version  "osmium --version" "^osmium version ${OSMIUM_VERSION}\n")
 do_test(help     "osmium help"      "^Usage: .*Commands are:")
 do_test(help2    "osmium --help"    "^Usage: .*Commands are:")
-do_test(help_cat "osmium help cat"  "^OSMIUM-CAT\\(1\\)")
+
+if(PANDOC)
+    do_test(help_cat "osmium help cat" "^OSMIUM-CAT\\(1\\)")
+endif()
 
 
 if(BUILD_WITH_CRYPTOPP AND CRYPTOPP_FOUND)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmium-tool.git



More information about the Pkg-grass-devel mailing list