debian/0000755000000000000000000000000012161407642007171 5ustar debian/copyright0000644000000000000000000000326212161407454011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: http://sourceforge.net/projects/cpputest/files/ Upstream-Name: CppUTest Files: * Copyright: 2007-2011, Michael Feathers, James Grenning and Bas Vodde License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE EARLIER MENTIONED AUTHORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/patches/0000755000000000000000000000000012161407454010621 5ustar debian/patches/werror-in-maint-mode-only.patch0000644000000000000000000000114512161407454016576 0ustar diff --git a/configure.ac b/configure.ac index c55d789..80be739 100644 --- a/configure.ac +++ b/configure.ac @@ -67,11 +67,13 @@ saved_cflags="$CFLAGS" saved_cxxflags="$CXXFLAGS" saved_ldflags="$LDFLAGS" +if test "x$USE_MAINTAINER_MODE" = "xyes"; then # FLag -Werror. CFLAGS=-Werror AC_MSG_CHECKING([whether CC and CXX supports -Werror]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], [AC_MSG_RESULT([yes]); CPPUTEST_CWARNINGFLAGS+=" -Werror"; CPPUTEST_CXXWARNINGFLAGS+=" -Werror" ], [AC_MSG_RESULT([no])]) CFLAGS="$saved_cflags" +fi # FLag -Weverything. CFLAGS="-Werror -Weverything -Wno-unused-macros" debian/patches/series0000644000000000000000000000004012161407454012030 0ustar werror-in-maint-mode-only.patch debian/changelog0000644000000000000000000000377512161407454011060 0ustar cpputest (3.4-3) unstable; urgency=low * Use -Werror in maintainer mode only. Closes: #713636 * Use dh-autoreconf to regenerate the configure script. * Use --disable-silent-rules to have complete command lines in the log. -- Raphaël Hertzog Sat, 22 Jun 2013 22:54:59 +0200 cpputest (3.4-2) unstable; urgency=low * Fix homepage and watch file. * Update standards-version to 3.9.4. * Drop no longer needed dpkg-dev build dependency. -- Raphaël Hertzog Mon, 13 May 2013 09:23:41 +0200 cpputest (3.4-1) unstable; urgency=low * New upstream release. * Update packaging to cope with switch to autoconf. -- Raphaël Hertzog Sun, 12 May 2013 20:35:34 +0200 cpputest (3.3-2) unstable; urgency=low * Upload to unstable now that wheezy is released. -- Raphaël Hertzog Mon, 06 May 2013 10:20:24 +0200 cpputest (3.3-1) experimental; urgency=low * New upstream release. * Drop fix-ruby-shebangs.patch, merged upstream. -- Raphaël Hertzog Sun, 28 Apr 2013 16:40:51 +0200 cpputest (3.2-1) experimental; urgency=low * New upstream release. * Mark "build" as a PHONY target since it's a real directory in the upstream tarball. * Update watch file to point to the new GitHub location. * Drop fix-shebangs.patch, merged upstream. * Add fix-ruby-shebangs.patch to fix incorrect /bin/ruby in shebang lines of some scripts. * Drop workaround for #676462 and increase debhelper build-dep to ensure we have a fixed version. -- Raphaël Hertzog Fri, 10 Aug 2012 09:36:54 +0200 cpputest (3.1-2) unstable; urgency=low * Use override-*-indep targets in debian/rules when acting on files from an arch: all package. Closes: #676411 -- Raphaël Hertzog Thu, 07 Jun 2012 08:22:10 +0200 cpputest (3.1-1) unstable; urgency=low * Initial release. Closes: #676166 -- Raphaël Hertzog Tue, 05 Jun 2012 13:45:24 +0200 debian/rules0000755000000000000000000000116212161407454010252 0ustar #!/usr/bin/make -f %: dh $@ --with autoreconf override_dh_auto_configure: dh_auto_configure -- --disable-silent-rules override_dh_compress: dh_compress -X.cpp # Fixes for the cpputest (arch-all) package override_dh_installexamples-indep: dh_installexamples chmod 644 debian/cpputest/usr/share/doc/cpputest/examples/*.dsw override_dh_fixperms-indep: chmod 755 debian/cpputest/usr/share/cpputest/scripts/NewProject.sh \ debian/cpputest/usr/share/cpputest/scripts/convertToUnity/create_unity_test_runner.rb dh_fixperms # Be explicit about "build" being a virtual target since it's a real directory .PHONY: build debian/compat0000644000000000000000000000000212161407454010370 0ustar 9 debian/cpputest.examples0000644000000000000000000000001312161407454012573 0ustar examples/* debian/source/0000755000000000000000000000000012161407454010472 5ustar debian/source/format0000644000000000000000000000001412161407454011700 0ustar 3.0 (quilt) debian/libcpputest-dev.install0000644000000000000000000000015512161407454013675 0ustar include/CppUTest usr/include/ include/CppUTestExt usr/include/ usr/lib/*/*.a usr/lib/*/pkgconfig/cpputest.pc debian/cpputest.docs0000644000000000000000000000010112161407454011703 0ustar README README_CppUTest_for_C.txt README_UsersOfPriorVersions.txt debian/cpputest.install0000644000000000000000000000003412161407454012426 0ustar scripts usr/share/cpputest/ debian/control0000644000000000000000000000346312161407454010603 0ustar Source: cpputest Section: devel Priority: optional Maintainer: Raphaël Hertzog Homepage: http://cpputest.github.io/ Vcs-Git: git://anonscm.debian.org/collab-maint/cpputest.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/cpputest.git Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9.20120608~), dh-autoreconf Package: cpputest Architecture: all Multi-Arch: foreign Depends: libcpputest-dev, ${misc:Depends} Suggests: ruby | ruby-interpreter Description: C/C++ based unit test framework — main package CppUTest is a C/C++ based unit xUnit test framework for unit testing and for test-driving your code. It is written in C++ but is used in C and C++ projects and frequently used in embedded systems. . CppUTest has a couple design principles: * Simple to use and small * Portable to old and new platforms . CppUTest also has support for building mocks and can be used by practitioners of Test Driven Development. . This is the main package. It contains some examples, support scripts and depends on libcpputest-dev which provides the test framework itself. Package: libcpputest-dev Section: libdevel Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Description: C/C++ based unit test framework — headers and static libraries CppUTest is a C/C++ based unit xUnit test framework for unit testing and for test-driving your code. It is written in C++ but is used in C and C++ projects and frequently used in embedded systems. . CppUTest has a couple design principles: * Simple to use and small * Portable to old and new platforms . CppUTest also has support for building mocks and can be used by practitioners of Test Driven Development. . This is the package with the headers and the static libraries implementing the test framework. debian/watch0000644000000000000000000000025112161407454010221 0ustar version=3 opts=downloadurlmangle=s/$/?raw=true/ \ https://github.com/cpputest/cpputest.github.io/tree/master/releases \ .*/releases/[Cc]pp[Uu][Tt]est-v?(\d.*)\.tar\.gz