commit cmocka for openSUSE:Factory
Hello community, here is the log from the commit of package cmocka for openSUSE:Factory checked in at 2019-04-28 19:57:12 Comparing /work/SRC/openSUSE:Factory/cmocka (Old) and /work/SRC/openSUSE:Factory/.cmocka.new.5536 (New) Package is "cmocka" Sun Apr 28 19:57:12 2019 rev:18 rq:697461 version:1.1.5 Changes: --- /work/SRC/openSUSE:Factory/cmocka/cmocka.changes2019-04-03 09:23:05.435677018 +0200 +++ /work/SRC/openSUSE:Factory/.cmocka.new.5536/cmocka.changes 2019-04-28 19:57:13.571015552 +0200 @@ -1,0 +2,5 @@ +Wed Apr 24 09:43:30 UTC 2019 - Martin Liška + +- Disable LTO (boo#1133122). + +--- Other differences: -- ++ cmocka.spec ++ --- /var/tmp/diff_new_pack.d1a9Zb/_old 2019-04-28 19:57:14.011015287 +0200 +++ /var/tmp/diff_new_pack.d1a9Zb/_new 2019-04-28 19:57:14.015015285 +0200 @@ -106,6 +106,7 @@ %autosetup -p1 %build +%define _lto_cflags %{nil} %cmake \ -DCMAKE_SKIP_RPATH=OFF \ -DWITH_STATIC_LIB=ON \
commit cmocka for openSUSE:Factory
Hello community, here is the log from the commit of package cmocka for openSUSE:Factory checked in at 2019-04-03 09:22:59 Comparing /work/SRC/openSUSE:Factory/cmocka (Old) and /work/SRC/openSUSE:Factory/.cmocka.new.25356 (New) Package is "cmocka" Wed Apr 3 09:22:59 2019 rev:17 rq:689374 version:1.1.5 Changes: --- /work/SRC/openSUSE:Factory/cmocka/cmocka.changes2018-10-02 19:42:45.290116912 +0200 +++ /work/SRC/openSUSE:Factory/.cmocka.new.25356/cmocka.changes 2019-04-03 09:23:05.435677018 +0200 @@ -1,0 +2,10 @@ +Thu Mar 28 13:54:53 UTC 2019 - Andreas Schneider + +- Update to version 1.1.5 + * Added cmocka_set_skip_filter() + * cmocka version 1.1.4 + * Added assert_float(_not)_equal() + * Added expect_any_always() + * Small bug fixes + +--- Old: cmocka-1.1.3.tar.xz cmocka-1.1.3.tar.xz.asc New: cmocka-1.1.5.tar.xz cmocka-1.1.5.tar.xz.asc Other differences: -- ++ cmocka.spec ++ --- /var/tmp/diff_new_pack.itkxpd/_old 2019-04-03 09:23:07.547677978 +0200 +++ /var/tmp/diff_new_pack.itkxpd/_new 2019-04-03 09:23:07.571677989 +0200 @@ -1,7 +1,7 @@ # # spec file for package cmocka # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ %endif Name: cmocka -Version:1.1.3 +Version:1.1.5 Release:0 Summary:Lightweight library to simplify and generalize unit tests for C License:Apache-2.0 ++ cmocka-1.1.3.tar.xz -> cmocka-1.1.5.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmocka-1.1.3/.gitlab-ci.yml new/cmocka-1.1.5/.gitlab-ci.yml --- old/cmocka-1.1.3/.gitlab-ci.yml 2018-09-27 14:45:25.0 +0200 +++ new/cmocka-1.1.5/.gitlab-ci.yml 2019-02-19 16:13:00.0 +0100 @@ -60,6 +60,24 @@ paths: - obj/ +fedora/memory-sanitizer: + image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD + script: + - mkdir -p obj && cd obj && cmake +-DCMAKE_BUILD_TYPE=MemorySanitizer +-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ +-DUNIT_TESTING=ON .. +&& make -j$(nproc) && ctest --output-on-failure + tags: + - shared + except: + - tags + artifacts: +expire_in: 1 week +when: on_failure +paths: + - obj/ + fedora/undefined-sanitizer: image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD script: @@ -77,6 +95,37 @@ paths: - obj/ +fedora/csbuild: + image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD + script: + - | +if [[ -z "$CI_COMMIT_BEFORE_SHA" ]]; then +export CI_COMMIT_BEFORE_SHA=$(git rev-parse "${CI_COMMIT_SHA}~20") +fi + +# Check if the commit exists in this branch +# This is not the case for a force push +git branch --contains $CI_COMMIT_BEFORE_SHA 2>/dev/null || export CI_COMMIT_BEFORE_SHA=$(git rev-parse "${CI_COMMIT_SHA}~20") + +export CI_COMMIT_RANGE="$CI_COMMIT_BEFORE_SHA..$CI_COMMIT_SHA" + + - csbuild +--build-dir=obj-csbuild +--prep-cmd="cmake -DCMAKE_BUILD_TYPE=Debug -DPICKY_DEVELOPER=ON -DUNIT_TESTING=ON @SRCDIR@" +--build-cmd "make clean && make -j$(nproc)" +--git-commit-range $CI_COMMIT_RANGE +--color +--print-current --print-fixed + tags: + - shared + except: + - tags + artifacts: +expire_in: 1 week +when: on_failure +paths: + - obj-csbuild/ + freebsd/x86_64: image: script: @@ -148,11 +197,11 @@ - build=$(dpkg-architecture -qDEB_HOST_GNU_TYPE) - host="${CI_JOB_NAME#*.cross.}" - mkdir -p obj && cd obj && cmake --DCMAKE_C_COMPILER="$(which $host-gcc)" --DCMAKE_CXX_COMPILER="$(which $host-g++)" +-DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-Debian-mips.cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo --DUNIT_TESTING=ON .. && make -j$(nproc) - - ctest --output-on-failure -j$(nproc) +-DUNIT_TESTING=ON .. && +make -j$(nproc) && +ctest --output-on-failure -j$(nproc) tags: - shared except: @@ -295,3 +344,57 @@ when: on_failure paths: - obj/scan + +visualstudio/x86_64: + script: + - $env:VCPKG_DEFAULT_TRIPLET="x64-windows" + - mkdir obj + - cd obj + - cmake +-A x64 +-DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_TOOLCHAIN_FILE" +-DPICKY_DEVELOPER=ON +-DUNIT_TESTING=ON .. + - cmake --build . + - ctest --output-on-failure + tags: + - vs2017 + - windows + except: + - tags + only: + - branches@cmocka/cmocka + - branches@ansasaki/cmocka + - branches@cryptomilk/cmo
commit cmocka for openSUSE:Factory
Hello community, here is the log from the commit of package cmocka for openSUSE:Factory checked in at 2018-10-02 19:42:43 Comparing /work/SRC/openSUSE:Factory/cmocka (Old) and /work/SRC/openSUSE:Factory/.cmocka.new (New) Package is "cmocka" Tue Oct 2 19:42:43 2018 rev:16 rq:638974 version:1.1.3 Changes: --- /work/SRC/openSUSE:Factory/cmocka/cmocka.changes2018-09-04 22:48:59.699525569 +0200 +++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes 2018-10-02 19:42:45.290116912 +0200 @@ -1,0 +2,9 @@ +Thu Sep 27 13:58:03 UTC 2018 - Andreas Schneider + +- Update to version 1.1.3 + * Fixed subunit output on failures + * Do not abort if a test is skipped + * Switched to Modern CMake +- Removed 0001-cmake-Only-support-building-docs-the-on-cmake-3.9.patch + +--- Old: 0001-cmake-Only-support-building-docs-the-on-cmake-3.9.patch cmocka-1.1.2.tar.xz cmocka-1.1.2.tar.xz.asc New: cmocka-1.1.3.tar.xz cmocka-1.1.3.tar.xz.asc Other differences: -- ++ cmocka.spec ++ --- /var/tmp/diff_new_pack.lzepdx/_old 2018-10-02 19:42:45.758116440 +0200 +++ /var/tmp/diff_new_pack.lzepdx/_new 2018-10-02 19:42:45.762116435 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ %endif Name: cmocka -Version:1.1.2 +Version:1.1.3 Release:0 Summary:Lightweight library to simplify and generalize unit tests for C License:Apache-2.0 @@ -36,8 +36,6 @@ Source2:%{name}.keyring Source3:baselibs.conf -Patch0: 0001-cmake-Only-support-building-docs-the-on-cmake-3.9.patch - BuildRequires: cmake BuildRequires: doxygen BuildRequires: glibc-devel @@ -152,6 +150,6 @@ %{_libdir}/cmake/cmocka/cmocka-config.cmake %files -n libcmocka-devel-static -%{_libdir}/libcmocka.a +%{_libdir}/libcmocka-static.a %changelog ++ cmocka-1.1.2.tar.xz -> cmocka-1.1.3.tar.xz ++ 5613 lines of diff (skipped)
commit cmocka for openSUSE:Factory
Hello community, here is the log from the commit of package cmocka for openSUSE:Factory checked in at 2018-09-04 22:48:57 Comparing /work/SRC/openSUSE:Factory/cmocka (Old) and /work/SRC/openSUSE:Factory/.cmocka.new (New) Package is "cmocka" Tue Sep 4 22:48:57 2018 rev:15 rq:632444 version:1.1.2 Changes: --- /work/SRC/openSUSE:Factory/cmocka/cmocka.changes2017-04-17 10:22:56.354866875 +0200 +++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes 2018-09-04 22:48:59.699525569 +0200 @@ -1,0 +2,17 @@ +Thu Aug 30 08:04:05 UTC 2018 - Andreas Schneider + +- Fix packaging the documentation +- Added 0001-cmake-Only-support-building-docs-the-on-cmake-3.9.patch + +--- +Wed Aug 29 15:15:03 UTC 2018 - Andreas Schneider + +- Update to version 1.1.2 + * Added function to filter tests (cmocka_set_test_filter) + * Added new mocking example (uptime) + * Fixed fixture error reporting + * Fixed compiler flags detection + * Some improvement for API documentation +- Added HTML documentation + +--- Old: cmocka-1.1.1.tar.xz New: 0001-cmake-Only-support-building-docs-the-on-cmake-3.9.patch cmocka-1.1.2.tar.xz cmocka-1.1.2.tar.xz.asc cmocka.keyring Other differences: -- ++ cmocka.spec ++ --- /var/tmp/diff_new_pack.GUQTJz/_old 2018-09-04 22:49:00.311527673 +0200 +++ /var/tmp/diff_new_pack.GUQTJz/_new 2018-09-04 22:49:00.315527687 +0200 @@ -1,7 +1,7 @@ # # spec file for package cmocka # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,30 @@ # +%if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 15 +%bcond_without docs +%else +# We need cmake >= 3.9 to build docs +%bcond_with docs +%endif + Name: cmocka -Version:1.1.1 +Version:1.1.2 Release:0 Summary:Lightweight library to simplify and generalize unit tests for C License:Apache-2.0 Group: Productivity/Networking/Other -Url:http://cmocka.org +URL:https://cmocka.org + Source0:https://cmocka.org/files/1.1/%{name}-%{version}.tar.xz -Source1:baselibs.conf +Source1:https://cmocka.org/files/1.1/%{name}-%{version}.tar.xz.asc +Source2:%{name}.keyring +Source3:baselibs.conf + +Patch0: 0001-cmake-Only-support-building-docs-the-on-cmake-3.9.patch + BuildRequires: cmake +BuildRequires: doxygen BuildRequires: glibc-devel BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -91,7 +105,7 @@ Static cmocka unit testing library. %prep -%setup -q +%autosetup -p1 %build %cmake \ @@ -101,16 +115,16 @@ -DUNIT_TESTING=ON make %{?_smp_mflags} +%if %{with docs} +make docs +%endif # with docs %install %cmake_install %check pushd build -make %{?_smp_mflags} test || { -cat Testing/Temporary/LastTest.log; -exit 1; -} +ctest --output-on-failure popd %post -n libcmocka0 -p /sbin/ldconfig @@ -118,12 +132,14 @@ %postun -n libcmocka0 -p /sbin/ldconfig %files -n libcmocka0 -%defattr(-,root,root) -%doc AUTHORS README ChangeLog COPYING +%doc AUTHORS README.md ChangeLog +%license COPYING %{_libdir}/libcmocka.so.* %files -n libcmocka-devel -%defattr(-,root,root) +%if %{with docs} +%doc build/doc/html +%endif # with docs %{_includedir}/cmocka.h %{_includedir}/cmocka_pbc.h %dir %{_includedir}/cmockery @@ -136,7 +152,6 @@ %{_libdir}/cmake/cmocka/cmocka-config.cmake %files -n libcmocka-devel-static -%defattr(-,root,root) %{_libdir}/libcmocka.a %changelog ++ 0001-cmake-Only-support-building-docs-the-on-cmake-3.9.patch ++ >From 3f6e116314e13c0a7126ab234fe32dd8a5e31658 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 29 Aug 2018 21:49:08 +0200 Subject: [PATCH 1/2] cmake: Only support building docs the on cmake >= 3.9 Fixes #2 --- doc/CMakeLists.txt | 4 1 file changed, 4 insertions(+) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 4e3dc23..24ed569 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,6 +1,8 @@ # # Build the documentation # +if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.9.0") + find_package(Doxygen) if (DOXYGEN_FOUND) @@ -39,3 +41,5 @@ if (DOXYGEN_FOUND) ${cmocka-headers_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) endif(DOXYGEN_FOUND) + +endif() # CMAKE_VERSION -- 2.18.0 >From 4114b15f01953cbe01c4cbc2018cb982815cb56
commit cmocka for openSUSE:Factory
Hello community, here is the log from the commit of package cmocka for openSUSE:Factory checked in at 2017-04-17 10:22:55 Comparing /work/SRC/openSUSE:Factory/cmocka (Old) and /work/SRC/openSUSE:Factory/.cmocka.new (New) Package is "cmocka" Mon Apr 17 10:22:55 2017 rev:14 rq:486462 version:1.1.1 Changes: --- /work/SRC/openSUSE:Factory/cmocka/cmocka.changes2016-10-31 09:53:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes 2017-04-17 10:22:56.354866875 +0200 @@ -1,0 +2,8 @@ +Fri Apr 7 14:33:00 UTC 2017 - a...@cryptomilk.org + +- Update to version 1.1.1 + * Fixed TAP output + * Fixed cmocka on Windows x64 + * Fixed xUnit output durations + +--- Old: cmocka-1.1.0.tar.xz New: cmocka-1.1.1.tar.xz Other differences: -- ++ cmocka.spec ++ --- /var/tmp/diff_new_pack.HIcQXD/_old 2017-04-17 10:22:57.218744531 +0200 +++ /var/tmp/diff_new_pack.HIcQXD/_new 2017-04-17 10:22:57.222743965 +0200 @@ -1,7 +1,7 @@ # # spec file for package cmocka # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: cmocka -Version:1.1.0 +Version:1.1.1 Release:0 Summary:Lightweight library to simplify and generalize unit tests for C License:Apache-2.0 ++ cmocka-1.1.0.tar.xz -> cmocka-1.1.1.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmocka-1.1.0/CMakeLists.txt new/cmocka-1.1.1/CMakeLists.txt --- old/cmocka-1.1.0/CMakeLists.txt 2016-09-21 15:51:15.0 +0200 +++ new/cmocka-1.1.1/CMakeLists.txt 2017-04-07 16:15:58.0 +0200 @@ -8,7 +8,7 @@ set(APPLICATION_VERSION_MAJOR "1") set(APPLICATION_VERSION_MINOR "1") -set(APPLICATION_VERSION_PATCH "0") +set(APPLICATION_VERSION_PATCH "1") set(APPLICATION_VERSION "${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINOR}.${APPLICATION_VERSION_PATCH}") @@ -19,7 +19,7 @@ # Increment AGE. Set REVISION to 0 # If the source code was changed, but there were no interface changes: # Increment REVISION. -set(LIBRARY_VERSION "0.4.0") +set(LIBRARY_VERSION "0.4.1") set(LIBRARY_SOVERSION "0") # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmocka-1.1.0/ChangeLog new/cmocka-1.1.1/ChangeLog --- old/cmocka-1.1.0/ChangeLog 2016-09-21 16:24:44.0 +0200 +++ new/cmocka-1.1.1/ChangeLog 2017-04-07 16:15:44.0 +0200 @@ -1,3 +1,9 @@ +Fri Apr 07 2016 Andreas Schneider +* cmocka: version 1.1.1 +* Fixed TAP output +* Fixed cmocka on Windows x64 +* Fixed xUnit output durations + Wed Sep 21 2016 Andreas Schneider * cmocka: version 1.1.0 * Added support to catch multiple exceptions diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmocka-1.1.0/ConfigureChecks.cmake new/cmocka-1.1.1/ConfigureChecks.cmake --- old/cmocka-1.1.0/ConfigureChecks.cmake 2016-09-21 15:31:28.0 +0200 +++ new/cmocka-1.1.1/ConfigureChecks.cmake 2017-04-07 16:08:50.0 +0200 @@ -135,7 +135,7 @@ clock_gettime(CLOCK_REALTIME, &ts); return 0; -}" HAVE_CLOCK_GETTIME_REALTIME) +}" HAVE_CLOCK_REALTIME) # reset cmake requirements set(CMAKE_REQUIRED_INCLUDES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmocka-1.1.0/cmake/Modules/DefineCompilerFlags.cmake new/cmocka-1.1.1/cmake/Modules/DefineCompilerFlags.cmake --- old/cmocka-1.1.0/cmake/Modules/DefineCompilerFlags.cmake2015-02-11 07:57:11.0 +0100 +++ new/cmocka-1.1.1/cmake/Modules/DefineCompilerFlags.cmake2016-11-12 12:14:13.0 +0100 @@ -13,7 +13,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -pedantic -pedantic-errors") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security") -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-format-attribute -Wundef") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-format-attribute -Wundef -Wstrict-prototypes") # with -fPIC check_c_compiler_flag("-fPIC" WITH_FPIC) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn
commit cmocka for openSUSE:Factory
Hello community, here is the log from the commit of package cmocka for openSUSE:Factory checked in at 2016-10-31 09:53:55 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.changes2015-07-23 15:22:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes 2016-10-31 09:53:56.0 +0100 @@ -1,0 +2,19 @@ +Tue Oct 25 14:05:35 UTC 2016 - a...@cryptomilk.org + +- Fix url for Source0 + +--- +Wed Sep 21 15:01:34 UTC 2016 - a...@cryptomilk.org + +- Update to version 1.1.0 + * Added support to catch multiple exceptions + * Added support to verify call ordering + * Added support to pass initial data to test cases + * Added will_return_maybe() for ignoring mock returns + * Added subtests for groups using TAP output + * Added support to write multiple XML files for groups + * Improved documentation + * Fixed XML output generataion + * Fixed Windows builds with VS2015 + +--- Old: cmocka-1.0.1.tar.xz New: cmocka-1.1.0.tar.xz Other differences: -- ++ cmocka.spec ++ --- /var/tmp/diff_new_pack.ci0nUu/_old 2016-10-31 09:53:57.0 +0100 +++ /var/tmp/diff_new_pack.ci0nUu/_new 2016-10-31 09:53:57.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package cmocka # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: cmocka -Version:1.0.1 +Version:1.1.0 Release:0 Summary:Lightweight library to simplify and generalize unit tests for C License:Apache-2.0 Group: Productivity/Networking/Other Url:http://cmocka.org -Source0:https://cmocka.org/files/1.0/%{name}-%{version}.tar.xz +Source0:https://cmocka.org/files/1.1/%{name}-%{version}.tar.xz Source1:baselibs.conf BuildRequires: cmake BuildRequires: glibc-devel ++ cmocka-1.0.1.tar.xz -> cmocka-1.1.0.tar.xz ++ 2478 lines of diff (skipped)
commit cmocka for openSUSE:Factory
Hello community, here is the log from the commit of package cmocka for openSUSE:Factory checked in at 2015-07-23 15:22:14 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.changes2015-03-18 13:06:01.0 +0100 +++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes 2015-07-23 15:22:16.0 +0200 @@ -1,0 +2,13 @@ +Wed Jul 15 08:37:06 UTC 2015 - a...@cryptomilk.org + +- Do not turn of rpath support + +--- +Tue Jul 14 14:07:14 UTC 2015 - tchva...@suse.com + +- Use properly %cmake macro to build nicely with all the linker/cflags +- Use proper Url and Source +- Properly fails on crashing tests instead of finishing build +- Enable cmockery support + +--- Other differences: -- ++ cmocka.spec ++ --- /var/tmp/diff_new_pack.lt2VLa/_old 2015-07-23 15:22:16.0 +0200 +++ /var/tmp/diff_new_pack.lt2VLa/_new 2015-07-23 15:22:16.0 +0200 @@ -16,21 +16,18 @@ # -BuildRequires: cmake -BuildRequires: glibc-devel -BuildRequires: pkg-config - Name: cmocka Version:1.0.1 Release:0 -# Summary:Lightweight library to simplify and generalize unit tests for C License:Apache-2.0 Group: Productivity/Networking/Other -Url:http://open.cryptomilk.org/cmocka -# -Source0:%{name}-%{version}.tar.xz +Url:http://cmocka.org +Source0:https://cmocka.org/files/1.0/%{name}-%{version}.tar.xz Source1:baselibs.conf +BuildRequires: cmake +BuildRequires: glibc-devel +BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -75,7 +72,6 @@ Also, CMocka tries to avoid the use of some of the newer features of C compilers. - %package -n libcmocka-devel Summary:Development headers for the cmocka library Group: Development/Libraries/C and C++ @@ -98,42 +94,28 @@ %setup -q %build -if test ! -e "obj"; then - mkdir obj -fi -pushd obj -cmake \ - -DCMAKE_C_FLAGS:STRING="%{optflags}" \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_INSTALL_PREFIX=%{_prefix} \ +%cmake \ +-DCMAKE_SKIP_RPATH=OFF \ -DWITH_STATIC_LIB=ON \ -%if %{_lib} == lib64 - -DLIB_SUFFIX=64 \ -%endif - -DUNIT_TESTING=ON \ - %{_builddir}/%{name}-%{version} +-DWITH_CMOCKERY_SUPPORT=ON \ +-DUNIT_TESTING=ON -%__make %{?_smp_mflags} VERBOSE=1 -popd +make %{?_smp_mflags} %install -pushd obj -%makeinstall -popd +%cmake_install %check -pushd obj -%__make test || cat Testing/Temporary/LastTest.log +pushd build +make %{?_smp_mflags} test || { +cat Testing/Temporary/LastTest.log; +exit 1; +} popd -%post -n libcmocka0 -/sbin/ldconfig - -%postun -n libcmocka0 -/sbin/ldconfig +%post -n libcmocka0 -p /sbin/ldconfig -%clean -%{__rm} -rf %{buildroot} +%postun -n libcmocka0 -p /sbin/ldconfig %files -n libcmocka0 %defattr(-,root,root) @@ -144,6 +126,9 @@ %defattr(-,root,root) %{_includedir}/cmocka.h %{_includedir}/cmocka_pbc.h +%dir %{_includedir}/cmockery +%{_includedir}/cmockery/cmockery.h +%{_includedir}/cmockery/pbc.h %{_libdir}/libcmocka.so %{_libdir}/pkgconfig/cmocka.pc %dir %{_libdir}/cmake/cmocka
commit cmocka for openSUSE:Factory
Hello community, here is the log from the commit of package cmocka for openSUSE:Factory checked in at 2015-03-18 13:06:00 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.changes2015-02-18 12:08:49.0 +0100 +++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes 2015-03-18 13:06:01.0 +0100 @@ -1,0 +2,9 @@ +Thu Mar 12 14:57:24 UTC 2015 - a...@cryptomilk.org + +- Update to version 1.0.1 + * Added a macro for assert_ptr_equal(). + * Fixed test_realloc() if 0 size is passed. + * Fixed objects packaging bug. + * Fixed building with newer gcc versions. + +--- Old: cmocka-1.0.0.tar.xz New: cmocka-1.0.1.tar.xz Other differences: -- ++ cmocka.spec ++ --- /var/tmp/diff_new_pack.ZAbidp/_old 2015-03-18 13:06:02.0 +0100 +++ /var/tmp/diff_new_pack.ZAbidp/_new 2015-03-18 13:06:02.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package cmocka # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX 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:1.0.0 +Version:1.0.1 Release:0 # Summary:Lightweight library to simplify and generalize unit tests for C @@ -114,7 +114,7 @@ %{_builddir}/%{name}-%{version} %__make %{?_smp_mflags} VERBOSE=1 -popd obj +popd %install pushd obj ++ cmocka-1.0.0.tar.xz -> cmocka-1.0.1.tar.xz ++ 20948 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cmocka for openSUSE:Factory
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.changes2014-09-12 10:04:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes 2015-02-18 12:08:49.0 +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.0 +0100 +++ /var/tmp/diff_new_pack.sgxtED/_new 2015-02-18 12:08:49.0 +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 o
commit cmocka for openSUSE:Factory
Hello community, here is the log from the commit of package cmocka for openSUSE:Factory checked in at 2014-09-12 10:03:36 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.changes2014-09-03 19:37:50.0 +0200 +++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes 2014-09-12 10:04:03.0 +0200 @@ -1,0 +2,9 @@ +Thu Sep 11 15:03:12 UTC 2014 - a...@cryptomilk.org + +- Update to version 0.4.1 + * Added CMOCKA_TEST_ABORT env variable to leave threading apps. + * Fixed count parameter of expect_check() macro. + * Fixed reporting the number of tests. + * Fixed cmake config files. + +--- @@ -4,0 +14,5 @@ + +--- +Tue Aug 26 13:23:43 UTC 2014 - a...@cryptomilk.org + +- Add BuildRequire for pkg-config. Old: cmocka-0.4.0.tar.xz New: cmocka-0.4.1.tar.xz Other differences: -- ++ cmocka.spec ++ --- /var/tmp/diff_new_pack.mG1bE0/_old 2014-09-12 10:04:04.0 +0200 +++ /var/tmp/diff_new_pack.mG1bE0/_new 2014-09-12 10:04:04.0 +0200 @@ -21,7 +21,7 @@ BuildRequires: pkg-config Name: cmocka -Version:0.4.0 +Version:0.4.1 Release:0 # Summary:Lightweight library to simplify and generalize unit tests for C @@ -143,8 +143,9 @@ %{_includedir}/cmocka.h %{_libdir}/libcmocka.so %{_libdir}/pkgconfig/cmocka.pc -%{_libdir}/cmake/cmocka-config-version.cmake -%{_libdir}/cmake/cmocka-config.cmake +%dir %{_libdir}/cmake/cmocka +%{_libdir}/cmake/cmocka/cmocka-config-version.cmake +%{_libdir}/cmake/cmocka/cmocka-config.cmake %files -n libcmocka-devel-static %defattr(-,root,root) ++ cmocka-0.4.0.tar.xz -> cmocka-0.4.1.tar.xz ++ Files old/cmocka-0.4.0/.ycm_extra_conf.pyc and new/cmocka-0.4.1/.ycm_extra_conf.pyc differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmocka-0.4.0/CMakeLists.txt new/cmocka-0.4.1/CMakeLists.txt --- old/cmocka-0.4.0/CMakeLists.txt 2014-04-11 15:43:46.0 +0200 +++ new/cmocka-0.4.1/CMakeLists.txt 2014-05-22 14:40:29.0 +0200 @@ -8,7 +8,7 @@ set(APPLICATION_VERSION_MAJOR "0") set(APPLICATION_VERSION_MINOR "4") -set(APPLICATION_VERSION_PATCH "0") +set(APPLICATION_VERSION_PATCH "1") set(APPLICATION_VERSION "${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINOR}.${APPLICATION_VERSION_PATCH}") @@ -19,7 +19,7 @@ # Increment AGE. Set REVISION to 0 # If the source code was changed, but there were no interface changes: # Increment REVISION. -set(LIBRARY_VERSION "0.2.0") +set(LIBRARY_VERSION "0.2.1") set(LIBRARY_SOVERSION "0") # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked @@ -67,14 +67,16 @@ ) # cmake config files -configure_file(cmocka-config.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/cmocka-config.cmake @ONLY) -configure_file(cmocka-config-version.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/cmocka-config-version.cmake @ONLY) +set(CMOCKA_LIBRARY_NAME @CMAKE_SHARED_LIBRARY_PREFIX@${PROJECT_NAME}@CMAKE_SHARED_LIBRARY_SUFFIX@) + +configure_file(${PROJECT_NAME}-config.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake @ONLY) +configure_file(${PROJECT_NAME}-config-version.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake @ONLY) install( FILES -${CMAKE_CURRENT_BINARY_DIR}/cmocka-config.cmake -${CMAKE_CURRENT_BINARY_DIR}/cmocka-config-version.cmake +${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake +${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake DESTINATION -${CMAKE_INSTALL_DIR} +${CMAKE_INSTALL_DIR}/${PROJECT_NAME} COMPONENT devel ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmocka-0.4.0/CPackConfig.cmake new/cmocka-0.4.1/CPackConfig.cmake --- old/cmocka-0.4.0/CPackConfig.cmake 2013-11-06 08:12:58.0 +0100 +++ new/cmocka-0.4.1/CPackConfig.cmake 2014-04-14 09:23:21.0 +0200 @@ -19,7 +19,7 @@ ### source generator set(CPACK_SOURCE_GENERATOR "TGZ") -set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/build/;/obj/;tags;cscope.*") +set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/build/;/obj/;tags;cscope.*;.ycm_extra_conf.pyc") set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}") if (WIN32) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmocka-0.4.
commit cmocka for openSUSE:Factory
Hello community, here is the log from the commit of package cmocka for openSUSE:Factory checked in at 2014-09-03 18:22:45 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.changes2014-04-25 11:33:52.0 +0200 +++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes 2014-09-03 19:37:50.0 +0200 @@ -1,0 +2,10 @@ +Mon Sep 1 13:57:34 UTC 2014 - a...@cryptomilk.org + +- Add baselibs.conf as Source. + +--- +Tue Aug 26 13:23:43 UTC 2014 - a...@cryptomilk.org + +- Add BuildRequire for pkg-config. + +--- Other differences: -- ++ cmocka.spec ++ --- /var/tmp/diff_new_pack.k4JikN/_old 2014-09-03 19:37:51.0 +0200 +++ /var/tmp/diff_new_pack.k4JikN/_new 2014-09-03 19:37:51.0 +0200 @@ -18,6 +18,7 @@ BuildRequires: cmake BuildRequires: glibc-devel +BuildRequires: pkg-config Name: cmocka Version:0.4.0 @@ -29,6 +30,7 @@ Url:http://open.cryptomilk.org/cmocka # Source0:%{name}-%{version}.tar.xz +Source1:baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cmocka for openSUSE:Factory
Hello community, here is the log from the commit of package cmocka for openSUSE:Factory checked in at 2014-04-25 11:33:51 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.changes2013-11-19 10:44:58.0 +0100 +++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes 2014-04-25 11:33:52.0 +0200 @@ -1,0 +2,11 @@ +Fri Apr 11 14:16:07 UTC 2014 - a...@cryptomilk.org + +- Update to version 0.4.0 + * Added support for group testing. + * Added assert_return_code(). + * Added better messages for errors. + * Added cmake config mode support. + * Fixed bug with unit_test_setup and unit_test_teardown. + * Fixed a lot of small bugs. + +--- Old: cmocka-0.3.2.tar.xz New: cmocka-0.4.0.tar.xz Other differences: -- ++ cmocka.spec ++ --- /var/tmp/diff_new_pack.CZmLRS/_old 2014-04-25 11:33:53.0 +0200 +++ /var/tmp/diff_new_pack.CZmLRS/_new 2014-04-25 11:33:53.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package cmocka # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -20,7 +20,7 @@ BuildRequires: glibc-devel Name: cmocka -Version:0.3.2 +Version:0.4.0 Release:0 # Summary:Lightweight library to simplify and generalize unit tests for C @@ -99,10 +99,10 @@ %setup -q %build -if test ! -e "build"; then - mkdir build +if test ! -e "obj"; then + mkdir obj fi -pushd build +pushd obj cmake \ -DCMAKE_C_FLAGS:STRING="%{optflags}" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ @@ -115,10 +115,10 @@ %{_builddir}/%{name}-%{version} make %{?_smp_mflags} VERBOSE=1 -popd build +popd obj %install -pushd build +pushd obj %makeinstall popd @@ -141,6 +141,8 @@ %{_includedir}/cmocka.h %{_libdir}/libcmocka.so %{_libdir}/pkgconfig/cmocka.pc +%{_libdir}/cmake/cmocka-config-version.cmake +%{_libdir}/cmake/cmocka-config.cmake %files -n libcmocka-devel-static %defattr(-,root,root) ++ cmocka-0.3.2.tar.xz -> cmocka-0.4.0.tar.xz ++ 5779 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cmocka for openSUSE:Factory
Hello community, here is the log from the commit of package cmocka for openSUSE:Factory checked in at 2013-11-19 10:44:57 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.changes2013-07-12 20:42:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes 2013-11-19 10:44:58.0 +0100 @@ -1,0 +2,9 @@ +Mon Nov 11 13:17:27 UTC 2013 - a...@cryptomilk.org + +- Update to version 0.3.2 + * Fixed FindNSIS detection. + * Fixed unit_test_setup() and unit_test_teardown(). + * Fixed GTest and GCC message style conformance + * Fixed stringification in will_return_always(). + +--- Old: cmocka-0.3.1.tar.gz New: cmocka-0.3.2.tar.xz Other differences: -- ++ cmocka.spec ++ --- /var/tmp/diff_new_pack.gWPP0C/_old 2013-11-19 10:44:58.0 +0100 +++ /var/tmp/diff_new_pack.gWPP0C/_new 2013-11-19 10:44:58.0 +0100 @@ -20,7 +20,7 @@ BuildRequires: glibc-devel Name: cmocka -Version:0.3.1 +Version:0.3.2 Release:0 # Summary:Lightweight library to simplify and generalize unit tests for C @@ -28,7 +28,7 @@ Group: Productivity/Networking/Other Url:http://open.cryptomilk.org/cmocka # -Source0:%{name}-%{version}.tar.gz +Source0:%{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cmocka for openSUSE:Factory
Hello community, here is the log from the commit of package cmocka for openSUSE:Factory checked in at 2013-07-12 20:42:31 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.changes2013-06-05 11:43:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes 2013-07-12 20:42:33.0 +0200 @@ -1,0 +2,7 @@ +Wed Jul 10 13:38:42 UTC 2013 - a...@cryptomilk.org + +- Update to version 0.3.1 + * Fixed pointer conversion on s390 and ppc (32bit big endian). + * Fixed the customer_database test on big endian. + +--- Old: cmocka-0.3.0.tar.gz New: cmocka-0.3.1.tar.gz Other differences: -- ++ cmocka.spec ++ --- /var/tmp/diff_new_pack.Y8zlkJ/_old 2013-07-12 20:42:34.0 +0200 +++ /var/tmp/diff_new_pack.Y8zlkJ/_new 2013-07-12 20:42:34.0 +0200 @@ -20,7 +20,7 @@ BuildRequires: glibc-devel Name: cmocka -Version:0.3.0 +Version:0.3.1 Release:0 # Summary:Lightweight library to simplify and generalize unit tests for C ++ cmocka-0.3.0.tar.gz -> cmocka-0.3.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmocka-0.3.0/AUTHORS new/cmocka-0.3.1/AUTHORS --- old/cmocka-0.3.0/AUTHORS2012-06-14 12:58:52.0 +0200 +++ new/cmocka-0.3.1/AUTHORS2013-06-05 12:07:21.0 +0200 @@ -1,2 +1,3 @@ opensou...@google.com - +Andreas Schneider +Jakub Hrozek diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmocka-0.3.0/CMakeLists.txt new/cmocka-0.3.1/CMakeLists.txt --- old/cmocka-0.3.0/CMakeLists.txt 2013-06-04 13:46:13.0 +0200 +++ new/cmocka-0.3.1/CMakeLists.txt 2013-07-10 15:26:47.0 +0200 @@ -8,7 +8,7 @@ set(APPLICATION_VERSION_MAJOR "0") set(APPLICATION_VERSION_MINOR "3") -set(APPLICATION_VERSION_PATCH "0") +set(APPLICATION_VERSION_PATCH "1") set(APPLICATION_VERSION "${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINOR}.${APPLICATION_VERSION_PATCH}") @@ -19,7 +19,7 @@ # Increment AGE. Set REVISION to 0 # If the source code was changed, but there were no interface changes: # Increment REVISION. -set(LIBRARY_VERSION "0.1.0") +set(LIBRARY_VERSION "0.1.1") set(LIBRARY_SOVERSION "0") # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmocka-0.3.0/CPackConfig.cmake new/cmocka-0.3.1/CPackConfig.cmake --- old/cmocka-0.3.0/CPackConfig.cmake 2013-06-05 08:29:19.0 +0200 +++ new/cmocka-0.3.1/CPackConfig.cmake 2013-07-10 15:27:16.0 +0200 @@ -11,9 +11,9 @@ ### versions -set(CPACK_PACKAGE_VERSION_MAJOR "0") -set(CPACK_PACKAGE_VERSION_MINOR "3") -set(CPACK_PACKAGE_VERSION_PATCH "0") +set(CPACK_PACKAGE_VERSION_MAJOR "${APPLICATION_VERSION_MAJOR}") +set(CPACK_PACKAGE_VERSION_MINOR "${APPLICATION_VERSION_MINOR}") +set(CPACK_PACKAGE_VERSION_PATCH "${APPLICATION_VERSION_PATCH}") set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmocka-0.3.0/ChangeLog new/cmocka-0.3.1/ChangeLog --- old/cmocka-0.3.0/ChangeLog 2013-06-05 08:16:12.0 +0200 +++ new/cmocka-0.3.1/ChangeLog 2013-07-10 15:26:19.0 +0200 @@ -1,3 +1,8 @@ +Wed Jul 10 15:24 2013 Andreas Schneider +* cmocka: version 0.3.1 +* Fixed pointer conversion on s390 and ppc (32bit big endian). +* Fixed the customer_database test on big endian. + Wed Jun 05 08:14 2013 Andreas Schneider * cmocka: version 0.3.0 * Added a better mock object example. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmocka-0.3.0/ConfigureChecks.cmake new/cmocka-0.3.1/ConfigureChecks.cmake --- old/cmocka-0.3.0/ConfigureChecks.cmake 2012-10-15 19:45:44.0 +0200 +++ new/cmocka-0.3.1/ConfigureChecks.cmake 2013-07-10 15:16:00.0 +0200 @@ -94,5 +94,6 @@ # ENDIAN if (NOT WIN32) +set(WORDS_SIZEOF_VOID_P ${CMAKE_SIZEOF_VOID_P}) test_big_endian(WORDS_BIGENDIAN) endif (NOT WIN32) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmocka-0.3.0/config.h.cmake new/cmocka-0.3.1/config.h.cmake --- old/cmocka-0.3.0/config.h.cmake 2012-06-14 12:58:52.0 +0200 +++ new/cmocka-0.3.1/config.h.cmake 2013-07-10 15:16:04.0 +020
commit cmocka for openSUSE:Factory
Hello community, here is the log from the commit of package cmocka for openSUSE:Factory checked in at 2013-06-05 11:43:21 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.changes2013-02-05 15:41:24.0 +0100 +++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes 2013-06-05 11:43:23.0 +0200 @@ -1,0 +2,10 @@ +Wed Jun 5 06:38:33 UTC 2013 - a...@cryptomilk.org + +- Update to version 0.3.0 + * Added a better mock object example. + * Added pkgconfig file. + * Added new macros mock_type() and mock_ptr_type(). + * Added more documentation. + * Fixed installation problems on some platforms. + +--- Old: cmocka-0.2.0.tar.gz New: cmocka-0.3.0.tar.gz Other differences: -- ++ cmocka.spec ++ --- /var/tmp/diff_new_pack.LmPeZn/_old 2013-06-05 11:43:23.0 +0200 +++ /var/tmp/diff_new_pack.LmPeZn/_new 2013-06-05 11:43:23.0 +0200 @@ -20,7 +20,7 @@ BuildRequires: glibc-devel Name: cmocka -Version:0.2.0 +Version:0.3.0 Release:0 # Summary:Lightweight library to simplify and generalize unit tests for C @@ -140,6 +140,7 @@ %defattr(-,root,root) %{_includedir}/cmocka.h %{_libdir}/libcmocka.so +%{_libdir}/pkgconfig/cmocka.pc %files -n libcmocka-devel-static %defattr(-,root,root) ++ cmocka-0.2.0.tar.gz -> cmocka-0.3.0.tar.gz ++ 3899 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cmocka for openSUSE:Factory
Hello community, here is the log from the commit of package cmocka for openSUSE:Factory checked in at 2013-02-05 15:41:24 Comparing /work/SRC/openSUSE:Factory/cmocka (Old) and /work/SRC/openSUSE:Factory/.cmocka.new (New) Package is "cmocka", Maintainer is "" Changes: New Changes file: --- /dev/null 2013-01-09 19:40:42.352580873 +0100 +++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes 2013-02-05 15:41:24.0 +0100 @@ -0,0 +1,19 @@ +--- +Tue Feb 5 10:16:53 UTC 2013 - a...@cryptomilk.org + +- Add a libcmocka-devel-static package for the static library. + +--- +Mon Jan 14 10:29:40 UTC 2013 - a...@cryptomilk.org + +- Uploaded release tarball. + +--- +Wed Oct 10 08:56:04 UTC 2012 - a...@cryptomilk.org + +- Fix building i686 on a x86_64 platform. + +--- +Tue Jun 26 13:40:20 UTC 2012 - a...@cryptomilk.org + +- Initial version 0.2.0 New: baselibs.conf cmocka-0.2.0.tar.gz cmocka.changes cmocka.spec Other differences: -- ++ cmocka.spec ++ # # spec file for package cmocka # # Copyright (c) 2013 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # BuildRequires: cmake BuildRequires: glibc-devel Name: cmocka Version:0.2.0 Release:0 # Summary:Lightweight library to simplify and generalize unit tests for C License:Apache-2.0 Group: Productivity/Networking/Other Url:http://open.cryptomilk.org/cmocka # Source0:%{name}-%{version}.tar.gz 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. This is the successor of Google's Cmockery. %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. I