[Debian-med-packaging] Any chance to only partly disable tests for camitk (Re: r16503 - in trunk/packages/camitk/trunk/debian: . patches)

Andreas Tille andreas at an3as.eu
Sun Mar 23 19:46:11 UTC 2014


Hi Emmanuel,

since we are trying to get tests working as good as possible this step
seems to be a bit backwards.  Could you please give reasons why you are
disabling the tests or is there any chance to run tests only partially?
In any case you should document the problem in README.source and perhaps
also explain in README.test how the package could be testet.  Moreover
providing an autopkgtest control file would be really great.

Kind regards

         Andreas.

On Sun, Mar 23, 2014 at 06:57:45PM +0000, Emmanuel Promayon wrote:
> Author: promayon-guest
> Date: 2014-03-23 18:57:45 +0000 (Sun, 23 Mar 2014)
> New Revision: 16503
> 
> Added:
>    trunk/packages/camitk/trunk/debian/libcamitk3-data.lintian-overrides
>    trunk/packages/camitk/trunk/debian/patches/applications-man-pixmap-desktop.diff
>    trunk/packages/camitk/trunk/debian/patches/config-console-redirection.diff
> Modified:
>    trunk/packages/camitk/trunk/debian/changelog
>    trunk/packages/camitk/trunk/debian/control
>    trunk/packages/camitk/trunk/debian/copyright
>    trunk/packages/camitk/trunk/debian/libcamitk3.lintian-overrides
>    trunk/packages/camitk/trunk/debian/patches/series
>    trunk/packages/camitk/trunk/debian/rules
> Log:
> New upstream release (automatic testing disabled from now as it is not completely relevant)
> 
> 
> Modified: trunk/packages/camitk/trunk/debian/changelog
> ===================================================================
> --- trunk/packages/camitk/trunk/debian/changelog	2014-03-22 22:11:19 UTC (rev 16502)
> +++ trunk/packages/camitk/trunk/debian/changelog	2014-03-23 18:57:45 UTC (rev 16503)
> @@ -1,3 +1,12 @@
> +camitk (3.3.0-1) UNRELEASED; urgency=low
> +
> +  * New upstream release. 
> +  * Patches:
> +    - avoid console redirection (config-console-redirection.diff)
> +    - missing manpages, desktop and icon (applications-man-pixmap-desktop.diff)
> +
> + -- Emmanuel Promayon <Emmanuel.Promayon at imag.fr>  Tue, 18 Mar 2014 11:43:34 +0100
> +
>  camitk (3.2.2-2) unstable; urgency=medium
>  
>    * debian/control:
> 
> Modified: trunk/packages/camitk/trunk/debian/control
> ===================================================================
> --- trunk/packages/camitk/trunk/debian/control	2014-03-22 22:11:19 UTC (rev 16502)
> +++ trunk/packages/camitk/trunk/debian/control	2014-03-23 18:57:45 UTC (rev 16503)
> @@ -16,7 +16,8 @@
>                 libgdcm2-dev,
>                 libfftw3-dev,
>                 libqtwebkit-dev | libqt4-dev (<< 4.7),
> -               libvtkgdcm2-dev
> +               libvtkgdcm2-dev,
> +               libqt4-opengl-dev
>  Build-Depends-Indep: doxygen,
>                       graphviz
>  Standards-Version: 3.9.5
> 
> ...
> Modified: trunk/packages/camitk/trunk/debian/rules
> ===================================================================
> --- trunk/packages/camitk/trunk/debian/rules	2014-03-22 22:11:19 UTC (rev 16502)
> +++ trunk/packages/camitk/trunk/debian/rules	2014-03-23 18:57:45 UTC (rev 16503)
> @@ -4,9 +4,12 @@
>  
>  export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
>  
> +#skip all tests
> +DEB_BUILD_OPTIONS += nocheck
> +
>  # CamiTK version
>  VER_MAJOR=3
> -VER_MINOR=2
> +VER_MINOR=3
>  VER_SHORT=$(VER_MAJOR).$(VER_MINOR)
>  
>  # package aliases (see d/control)
> @@ -70,10 +73,11 @@
>  	dh_install -p$(pkg_lib) --autodest debian/tmp/usr/share/pixmaps/camitk-config.xpm
>  	dh_installman -p$(pkg_lib) debian/tmp/usr/share/man/man1/camitk-config.1  
>  
> -	# separate tools qtpropertybrowser
> +	# separate packaging for qtpropertybrowser (can be used independently from camitk)
>  	dh_install -p$(pkg_qpb) debian/tmp/usr/lib/libqtpropertybrowser.so.* usr/lib
>  
> -	# camitk so and headers and static libs + wizard
> +	# camitk developer package
> +	# camitk so and headers and static libs 
>  	dh_install -p$(pkg_dev) debian/tmp/usr/lib/libcamitkcore.so usr/lib 
>  	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/lib/camitk-$(VER_SHORT)/lib*.so
>  	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/lib/camitk-$(VER_SHORT)/actions/lib*.so
> @@ -91,10 +95,19 @@
>  	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/share/camitk-$(VER_SHORT)/cmake/*.cmake 
>  	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/share/camitk-$(VER_SHORT)/cmake/macros/*.cmake 
>  	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/share/camitk-$(VER_SHORT)/cmake/launcher-templates/*.in
> +	# wizard
>  	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/bin/camitk-wizard
> +	dh_installman -p$(pkg_dev) debian/tmp/usr/share/man/man1/camitk-wizard.1
>  	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/share/applications/camitk-wizard.desktop
>  	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/share/pixmaps/camitk-wizard.xpm
> -	dh_installman -p$(pkg_dev) debian/tmp/usr/share/man/man1/camitk-wizard.1
> +	# cepgenerator
> +	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/bin/camitk-cepgenerator
> +	dh_installman -p$(pkg_dev) debian/tmp/usr/share/man/man1/camitk-cepgenerator.1
> +	# test programs
> +	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/bin/camitk-testactions
> +	dh_installman -p$(pkg_dev) debian/tmp/usr/share/man/man1/camitk-testactions.1
> +	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/bin/camitk-testcomponents
> +	dh_installman -p$(pkg_dev) debian/tmp/usr/share/man/man1/camitk-testcomponents.1
>  
>          # qtpropertybrowser so and headers (includes are put directly in usr/include as package should be generic/independant from CamiTK)
>  	dh_install -p$(pkg_qpb_dev) debian/tmp/usr/lib/libqtpropertybrowser.so usr/lib

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list