Add new autopkgtest which checks if various Find modules are wokring,
This commit is contained in:
parent
37d857fb9e
commit
397fc3f087
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -6,6 +6,7 @@ cmake (3.6.0-1) UNRELEASED; urgency=medium
|
||||
- file_Sort_GLOB_results_to_make_it_deterministic.patch
|
||||
* Fix detection of ImageMagick.
|
||||
- Add FindImageMagick_find_program.patch
|
||||
* Add new autopkgtest which checks if various Find modules are wokring,
|
||||
|
||||
-- Felix Geyer <fgeyer@debian.org> Sat, 09 Jul 2016 11:23:12 +0200
|
||||
|
||||
|
50
debian/tests/control
vendored
50
debian/tests/control
vendored
@ -1,7 +1,45 @@
|
||||
Tests: testsuite
|
||||
Tests: testsuite testsuite-ninja findmodules
|
||||
Restrictions: allow-stderr
|
||||
Depends: cmake, cvs, @builddeps@
|
||||
|
||||
Tests: testsuite-ninja
|
||||
Restrictions: allow-stderr
|
||||
Depends: cmake, cvs, ninja-build, @builddeps@
|
||||
Depends: cmake,
|
||||
ninja-build,
|
||||
@builddeps@,
|
||||
libasound2-dev,
|
||||
libarmadillo-dev,
|
||||
bison,
|
||||
libboost-dev,
|
||||
libbz2-dev,
|
||||
libcups2-dev,
|
||||
libcurl4-openssl-dev,
|
||||
cvs,
|
||||
doxygen,
|
||||
libexpat1-dev,
|
||||
flex,
|
||||
libfreetype6-dev,
|
||||
gettext,
|
||||
libgif-dev,
|
||||
git,
|
||||
imagemagick,
|
||||
libmagickcore-dev,
|
||||
libmagick++-dev,
|
||||
libmagickwand-dev,
|
||||
libgnutls28-dev,
|
||||
libgtk2.0-dev,
|
||||
mercurial,
|
||||
hspell,
|
||||
icoutils,
|
||||
libjasper-dev,
|
||||
libarchive-dev,
|
||||
liblzma-dev,
|
||||
libxml2-dev,
|
||||
libxslt1-dev,
|
||||
libopenscenegraph-dev,
|
||||
perl,
|
||||
libphysfs-dev,
|
||||
pkg-config,
|
||||
ruby-dev,
|
||||
libprotobuf-dev,
|
||||
protobuf-compiler,
|
||||
subversion,
|
||||
swig,
|
||||
libtiff5-dev,
|
||||
zlib1g-dev
|
||||
|
9
debian/tests/findmodules
vendored
Executable file
9
debian/tests/findmodules
vendored
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -ev
|
||||
|
||||
SRCDIR="$(pwd)"
|
||||
|
||||
cd "$ADTTMP"
|
||||
|
||||
cmake "$SRCDIR/debian/tests/findmodules_data"
|
10
debian/tests/findmodules_data/CMakeLists.txt
vendored
Normal file
10
debian/tests/findmodules_data/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
|
||||
foreach(VTEST ALSA Armadillo BISON Boost BZip2 Cups CURL CVS Doxygen EXPAT FLEX
|
||||
Freetype Gettext GIF Git GnuTLS GTK2 Hg HSPELL Icotool Jasper
|
||||
LibArchive LibLZMA LibXml2 LibXslt OpenSceneGraph Perl PhysFS
|
||||
PkgConfig Ruby Protobuf Subversion SWIG TIFF ZLIB)
|
||||
find_package(${VTEST} REQUIRED)
|
||||
endforeach()
|
||||
|
||||
find_package(ImageMagick COMPONENTS convert MagickCore Magick++ MagickWand REQUIRED)
|
Loading…
x
Reference in New Issue
Block a user