From a4cec5245a40639bfa316f62024c2304266b5343a9da35e260a459734bc5d0d6 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 29 Aug 2018 15:16:02 +0000 Subject: [PATCH] Update to version 1.1.2 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmocka?expand=0&rev=34 --- cmocka-1.1.1.tar.xz | 3 --- cmocka-1.1.2.tar.xz | 3 +++ cmocka-1.1.2.tar.xz.asc | 16 ++++++++++++++++ cmocka.changes | 10 ++++++++++ cmocka.keyring | Bin 0 -> 3432 bytes cmocka.spec | 21 +++++++++------------ 6 files changed, 38 insertions(+), 15 deletions(-) delete mode 100644 cmocka-1.1.1.tar.xz create mode 100644 cmocka-1.1.2.tar.xz create mode 100644 cmocka-1.1.2.tar.xz.asc create mode 100644 cmocka.keyring diff --git a/cmocka-1.1.1.tar.xz b/cmocka-1.1.1.tar.xz deleted file mode 100644 index c29b8b9..0000000 --- a/cmocka-1.1.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f02ef48a7039aa77191d525c5b1aee3f13286b77a13615d11bc1148753fc0389 -size 85648 diff --git a/cmocka-1.1.2.tar.xz b/cmocka-1.1.2.tar.xz new file mode 100644 index 0000000..a051489 --- /dev/null +++ b/cmocka-1.1.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d11cd1e129827ff240a501c1c43557e808de89e8fcd8ab9e963c8db419332bdd +size 82300 diff --git a/cmocka-1.1.2.tar.xz.asc b/cmocka-1.1.2.tar.xz.asc new file mode 100644 index 0000000..a8c8a66 --- /dev/null +++ b/cmocka-1.1.2.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEEjf9T4Y8qvI2PPJIjfuD8TcwBTj0FAluGtM8ACgkQfuD8TcwB +Tj0svQ/8D/vFldh9hD+jo2VQbIqBMJ5dAmVZjD1CakTI93aGzQCa1gysINKiRk2o +r+Dwk3sVQus27x8fKvTeOWKmpRmm3089OuZgyFEFmIE0W6V4D5o02bmnmcRzeA4A +31LivzEDBsSIQl3Ael8dZ+E5Nd0tOZ+YEqPUCsahD1kPeHBLXQMu5LJwFWgbgWzK +h11sZ7poeJrx2eROzIQCj4f2BjCOJ7LVqdcI/c/pihHU0aj2lr269xp0mNUhd5lT +GuNKK5m3YHFlQZi0sk4wesWdzrOv96Gy5tuqvvSwhd16pu5AFbCaVsUPq/G86wi4 +4JMixyAKBh8on4rIRWDoczZJhhklaSgWYSweVEIkDo6xR9wp0HmxCfNguGPc8mSX +1aBkYo9Nh6EpK2HRHVg1aDJHgd9zdY24iJtNG7njwn+Z0gO27Yi26LRnM6bmYLqh +44vWDJ6SKXUSnVtvwxgP5r4rD0Cbr4LNbIIywXjJm6OhWSGUPyenUiyCX/6tk+m7 +TA7Yuqhgd7rDZuqqOQYozomieZabUQ5b1byc6PF4emQ999KFVGPS4WR85V1DiheK +HuetTo67gICdZUz2KQeSMd34gf78Rnff87JRHo8SgCcNjSqzHWML/Um1N+3loe2n +iUclSFjebFf13KVVC1Fk7HhdXko8kfXKV4ksxJC81v0cO9gxVzk= +=H04h +-----END PGP SIGNATURE----- diff --git a/cmocka.changes b/cmocka.changes index afbfb71..d0b6f9f 100644 --- a/cmocka.changes +++ b/cmocka.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +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 + ------------------------------------------------------------------- Fri Apr 7 14:33:00 UTC 2017 - asn@cryptomilk.org diff --git a/cmocka.keyring b/cmocka.keyring new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..da7a828d183d177caf63eead37cdfcea0a46ea1f7a2f6a75b1c7d5bfed89bfaa GIT binary patch literal 3432 zcma*p_ct4i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)WA=zE!@?{A&?VL$KoO)~|}TvfS7+ zUXclP7$|wNZ6!TZU{elwB=Wp2$7HA(H6Xwl4^tcrnF>Le61(<)4BH5lK`(He^UGy* z%b`7!GiNz&5S>wD4`49*&E0Cr$t-DGPI5I&KYqekSA0EePKz{T#EXasY{9c6dv{yv zL%{XH@+be$s7xul(fTdfJuJ;uyp) z6t3uCz<)`528o7Nyd$l2l|Y5&XPoxUyIdGMRwuhk6WWJ9^{u<7yf3T#u|{}N_jm0p ziG*>B&4R**r*0}{4{oPZYS;#x*!+in_-dxU5>=M*(Q(>mhqs_R4`+9##H{rQDNmd$ z<3GL8m+A2c+HN0Em|MzNi4e zszZ^O3|CJCW&}y2kY0M)Q)(7n%-OHtW{!&MCPB`pRyAe6PtJ9^PT^+x5Ms?2lpEcg zxLE42T2Q;)-@I2rN3bZf`ZGVsESUm*azDxK)1S)?X1dOY6Fk110>vSA>xs@(83LvN zrqZ8RqPwhP2MbDS8dN(KLk<M0^X91Y&-2YtVD z7BEl8V*IU1za57kjLA}OZbyBE4RPh&y8`PFdQS*AN%(*I0Dhl5g_`w+fV-wDz^?%e-MC+^^F)pKXO*>8GLAobn_18oHSlg1D@CVQ@t^{77jP+?~bsVsupi zx!ysj!tWst*4B-=Dlp12NVbB|9bzI+YYMDxj^+?*_K=k1?_vXW+YMq5Fgxu;00GLv7ozi8D%0m6&DgGm$ag&vThM`$#;S->ro4Abem9=|F=4Q<)fXi_hC?5-{)I4qJ<*-gGX^b5V}^M4xQA-l?J3`= z+j%iAdqjf#6K6CNg}+~#7iki!4|J-=5~{hT*G;m(8i?A7`d1HoY>4HBTts484LyV# WZDm2tMA4T=UAs2at-!xR8~z2&g;JCN literal 0 HcmV?d00001 diff --git a/cmocka.spec b/cmocka.spec index 7ff5923..b14f098 100644 --- a/cmocka.spec +++ b/cmocka.spec @@ -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 @@ -17,14 +17,16 @@ 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 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 BuildRequires: cmake BuildRequires: glibc-devel BuildRequires: pkg-config @@ -91,7 +93,7 @@ Requires: libcmocka-devel = %{version} Static cmocka unit testing library. %prep -%setup -q +%autosetup -p1 %build %cmake \ @@ -107,10 +109,7 @@ make %{?_smp_mflags} %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 +117,11 @@ popd %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) %{_includedir}/cmocka.h %{_includedir}/cmocka_pbc.h %dir %{_includedir}/cmockery @@ -136,7 +134,6 @@ popd %{_libdir}/cmake/cmocka/cmocka-config.cmake %files -n libcmocka-devel-static -%defattr(-,root,root) %{_libdir}/libcmocka.a %changelog