Hello community,

here is the log from the commit of package cmocka for openSUSE:Factory checked 
in at 2015-02-18 11:39:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cmocka (Old)
 and      /work/SRC/openSUSE:Factory/.cmocka.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cmocka"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cmocka/cmocka.changes    2014-09-12 
10:04:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes       2015-02-18 
12:08:49.000000000 +0100
@@ -1,0 +2,24 @@
+Tue Feb 17 08:13:09 UTC 2015 - a...@cryptomilk.org
+
+- Add missing requires for cmake and pkg-config
+
+-------------------------------------------------------------------
+Tue Feb 17 08:10:18 UTC 2015 - a...@cryptomilk.org
+
+- Turn on unit tests
+
+-------------------------------------------------------------------
+Mon Feb 16 18:14:15 UTC 2015 - a...@cryptomilk.org
+
+- Update to version 1.0.0
+  * Added new test runner with group fixtures. The old runner is deprecated
+  * Added an extensible message output formatter
+  * Added jUnit XML message output
+  * Added subunit message output
+  * Added Test Anything Protocol message output
+  * Added skip() command
+  * Added test_realloc()
+  * Added a cmockery compat header
+  * Fixed a lot of bugs on Windows
+
+-------------------------------------------------------------------

Old:
----
  cmocka-0.4.1.tar.xz

New:
----
  cmocka-1.0.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cmocka.spec ++++++
--- /var/tmp/diff_new_pack.sgxtED/_old  2015-02-18 12:08:49.000000000 +0100
+++ /var/tmp/diff_new_pack.sgxtED/_new  2015-02-18 12:08:49.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cmocka
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 BuildRequires:  pkg-config
 
 Name:           cmocka
-Version:        0.4.1
+Version:        1.0.0
 Release:        0
 #
 Summary:        Lightweight library to simplify and generalize unit tests for C
@@ -34,57 +34,54 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
-There are a variety of C unit testing frameworks available however many of them
-are fairly complex and require the latest compiler technology. Some development
-requires the use of old compilers which makes it difficult to use some unit
-testing frameworks. In addition many unit testing frameworks assume the code
-being tested is an application or module that is targeted to the same platform
-that will ultimately execute the test. Because of this assumption many
-frameworks require the inclusion of standard C library headers in the code
-module being tested which may collide with the custom or incomplete
-implementation of the C library utilized by the code under test.
-
-Cmocka only requires a test application is linked with the standard C library
-which minimizes conflicts with standard C library headers. Also, CMocka tries
-to avoid the use of some of the newer features of C compilers.
-
-This results in CMocka being a relatively small library that can be used to
-test a variety of exotic code. If a developer wishes to simply test an
-application with the latest compiler then other unit testing frameworks may be
-preferable.
+cmocka is an elegant unit testing framework for C with support for mock
+objects. It only requires the standard C library, works on a range of computing
+platforms (including embedded) and with different compilers.
+
+Features:
+  * Support for mock objects
+  * Only requires the C library
+  * Several supported output formats (Subunit, TAP, jUnit XML)
+  * Fully documented API
+  * Test fixtures
+  * Exception handling for signals (SIGSEGV, SIGILL, ...)
+  * No fork() used
+  * Very well tested
+  * Testing of memory leaks, buffer overflows and underflows.
 
-This is the successor of Google's Cmockery.
+Also, CMocka tries to avoid the use of some of the newer features of C
+compilers.
 
 %package -n libcmocka0
 Summary:        Lightweight library to simplify and generalize unit tests for C
 Group:          System/Libraries
 
 %description -n libcmocka0
-There are a variety of C unit testing frameworks available however many of them
-are fairly complex and require the latest compiler technology. Some development
-requires the use of old compilers which makes it difficult to use some unit
-testing frameworks. In addition many unit testing frameworks assume the code
-being tested is an application or module that is targeted to the same platform
-that will ultimately execute the test. Because of this assumption many
-frameworks require the inclusion of standard C library headers in the code
-module being tested which may collide with the custom or incomplete
-implementation of the C library utilized by the code under test.
-
-CMocka only requires a test application is linked with the standard C library
-which minimizes conflicts with standard C library headers. Also, CMocka tries
-to avoid the use of some of the newer features of C compilers.
-
-This results in CMocka being a relatively small library that can be used to
-test a variety of exotic code. If a developer wishes to simply test an
-application with the latest compiler then other unit testing frameworks may be
-preferable.
+cmocka is an elegant unit testing framework for C with support for mock
+objects. It only requires the standard C library, works on a range of computing
+platforms (including embedded) and with different compilers.
+
+Features:
+  * Support for mock objects
+  * Only requires the C library
+  * Several supported output formats (Subunit, TAP, jUnit XML)
+  * Fully documented API
+  * Test fixtures
+  * Exception handling for signals (SIGSEGV, SIGILL, ...)
+  * No fork() used
+  * Very well tested
+  * Testing of memory leaks, buffer overflows and underflows.
+
+Also, CMocka tries to avoid the use of some of the newer features of C
+compilers.
 
-This is the successor of Google's Cmockery.
 
 %package -n libcmocka-devel
 Summary:        Development headers for the cmocka library
 Group:          Development/Libraries/C and C++
+Requires:       cmake
 Requires:       libcmocka0 = %{version}
+Requires:       pkg-config
 
 %description -n libcmocka-devel
 Development headers for the cmocka unit testing library.
@@ -108,15 +105,15 @@
 cmake \
   -DCMAKE_C_FLAGS:STRING="%{optflags}" \
   -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-  -DCMAKE_SKIP_RPATH=ON \
   -DCMAKE_INSTALL_PREFIX=%{_prefix} \
   -DWITH_STATIC_LIB=ON \
 %if %{_lib} == lib64
   -DLIB_SUFFIX=64 \
 %endif
+  -DUNIT_TESTING=ON \
   %{_builddir}/%{name}-%{version}
 
-make %{?_smp_mflags} VERBOSE=1
+%__make %{?_smp_mflags} VERBOSE=1
 popd obj
 
 %install
@@ -124,6 +121,11 @@
 %makeinstall
 popd
 
+%check
+pushd obj
+%__make test || cat Testing/Temporary/LastTest.log
+popd
+
 %post -n libcmocka0
 /sbin/ldconfig
 
@@ -141,6 +143,7 @@
 %files -n libcmocka-devel
 %defattr(-,root,root)
 %{_includedir}/cmocka.h
+%{_includedir}/cmocka_pbc.h
 %{_libdir}/libcmocka.so
 %{_libdir}/pkgconfig/cmocka.pc
 %dir %{_libdir}/cmake/cmocka

++++++ cmocka-0.4.1.tar.xz -> cmocka-1.0.0.tar.xz ++++++
++++ 28164 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to