Greetings,

this patch updates check (Unit Testing Framework for C) to version 0.15.2.
'portcheck', 'port-lib-depends-check' and 'update-plist' returns 0.
Updated and tested on aarch64 (SoftIron Overdrive 1000).

All tests are OK:

===>  Regression tests for check-0.15.2
Making check in lib
Making check in src
Making check in doc
Making check in .
Making check in checkmk
make  check-TESTS
PASS: test/check_checkmk
============================================================================
Testsuite summary for Check 0.15.2
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
Making check in tests
make  check-TESTS
PASS: check_check_export
PASS: check_check
PASS: test_output.sh
PASS: test_check_nofork.sh
PASS: test_check_nofork_teardown.sh
PASS: test_xml_output.sh
PASS: test_log_output.sh
PASS: test_set_max_msg_size.sh
PASS: test_tap_output.sh
============================================================================
Testsuite summary for Check 0.15.2
============================================================================
# TOTAL: 9
# PASS:  9
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================



Changelog 0.12.0 -> 0.15.2:

Fri Aug 7, 2020: Released Check 0.15.2
* Fix fail* APIs, regression from 0.15.1

Sun July 19, 2020: Released Check 0.15.1
* Fix warning in ptr macros with pointer to integer cast
* Fix various warnings in Check's unit tests
* Replace gnu_printf with printf in format __attribute__
* Fix warnings from Check's macros: "warning: too many arguments for format"
* Fix format specifiers that do not match the argument types

Sun June 21, 2020: Released Check 0.15.0
* Define CK_ATTRIBUTE_FORMAT for GCC >= 2.95.3, to make use of
  ‘gnu_printf’ format attribute
* Refactor tests to fix signed - unsigned conversions
* Refactor some Check internals to use proper interger types
* Implement missing mutual exclusion for Windows hosts

Sun Jan 26, 2020: Released Check 0.14.0
* Add support for FetchContent in CMake
* Rename CMake project from 'check' to 'Check'
* Fix for checking for wrong tool when building docs in Autotools
* Fix compiler warning with printf format

Sat Oct 20, 2019: Released Check 0.13.0
* configure: optional build documentation
* missing <unistd.h> in some files
* Various documentation improvements
* END_TEST is now optional, as how START_TEST works has been redone
* Various CMake related changes:
  - Support exporting Check to other projects with CMake 3
  - Shared library support for Visual Studio
  - Fix wrong library filename
  - Add support for CMake package registry
  - CMake build type can now be debug or release
  - Add checkmk to CMake build.


Cheers,
Alexander Naumov
? check-0.15.2.patch
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/check/Makefile,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 Makefile
--- Makefile	12 Jul 2019 20:44:05 -0000	1.16
+++ Makefile	12 Jan 2021 17:34:37 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =	unit test framework for C programs
 
-V =		0.12.0
+V =		0.15.2
 DISTNAME =	check-$V
 SHARED_LIBS +=  check                3.1      # unknown
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/check/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo	20 May 2019 21:36:54 -0000	1.10
+++ distinfo	12 Jan 2021 17:34:37 -0000
@@ -1,2 +1,2 @@
-SHA256 (check-0.12.0.tar.gz) = RkIBCYvuAOkPXEvfqUpdPq2NZB+QJbVgondVqDuCQjQ=
-SIZE (check-0.12.0.tar.gz) = 764043
+SHA256 (check-0.15.2.tar.gz) = qN5OC6z7TXbdHGGN7SY1I7U7hdkqFG2INesaUpMvogo=
+SIZE (check-0.15.2.tar.gz) = 774985
Index: patches/patch-Makefile_in
===================================================================
RCS file: patches/patch-Makefile_in
diff -N patches/patch-Makefile_in
--- patches/patch-Makefile_in	20 May 2019 21:36:54 -0000	1.6
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
-$OpenBSD: patch-Makefile_in,v 1.6 2019/05/20 21:36:54 sthen Exp $
---- Makefile.in.orig	Sun Aug  2 21:31:55 2015
-+++ Makefile.in	Mon Aug 24 08:23:07 2015
-@@ -386,7 +386,7 @@ top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- SUBDIRS = lib src doc . checkmk tests
--AM_MAKEINFOFLAGS = -I$(top_srcdir)/doc/example
-+AM_MAKEINFOFLAGS = -I$(top_srcdir)/doc/example/check
- CLEANFILES = *~\
- 	$(PACKAGE)-$(VERSION).tar.gz\
- 	ChangeLog.bak
-@@ -913,7 +913,7 @@ info: info-recursive
- 
- info-am:
- 
--install-data-am: install-docDATA install-includeHEADERS \
-+install-data-am: install-includeHEADERS \
- 	install-m4dataDATA install-pcdataDATA
- 
- install-dvi: install-dvi-recursive
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/check/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 PLIST
--- pkg/PLIST	29 Sep 2014 19:58:04 -0000	1.6
+++ pkg/PLIST	12 Jan 2021 17:34:37 -0000
@@ -3,7 +3,7 @@ bin/checkmk
 include/check.h
 include/check_stdint.h
 @info info/check.info
-lib/libcheck.a
+@static-lib lib/libcheck.a
 lib/libcheck.la
 @lib lib/libcheck.so.${LIBcheck_VERSION}
 lib/pkgconfig/check.pc

Reply via email to