Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: UPDATE: devel/libbgcode-20241024
To:
Renato Aguiar <renato@renatoaguiar.net>
Cc:
ports <ports@openbsd.org>, Ian Darwin <ian@darwinsys.com>
Date:
Sun, 9 Mar 2025 22:23:01 +0000

Download raw body.

Thread
On 2025/03/09 13:08, Renato Aguiar wrote:
> Diff updating libbgcode to match version used in prusaslicer-2.9.0.
> 
> diff /usr/ports
> path + /usr/ports
> commit - 937543c66f11e20c450ad06ea4247b86a4636545
> blob - 7348e2e7414f4426cbdbeb10485f6735020c4c28
> file + devel/libbgcode/Makefile
> --- devel/libbgcode/Makefile
> +++ devel/libbgcode/Makefile
> @@ -1,9 +1,8 @@
>  COMMENT =	Prusa Block & Binary G-code reader / writer / converter
>  
> -COMMIT =	8ae75bd0eea622f0e34cae311b3bd065b55eae9b
> +COMMIT =	d33a277a3ce2c0a7f9ba325caac6d730e0f7a412
>  DISTNAME =	libbgcode-${COMMIT}

DISTNAME isn't doing anything here, DIST_TUPLE overrides it, so
probably best to remove it

> -PKGNAME =	libbgcode-20240328
> -REVISION =	0
> +PKGNAME =	libbgcode-20241024
>  
>  DIST_TUPLE =	github prusa3d libbgcode ${COMMIT} .
>  
> @@ -30,4 +29,6 @@ LIB_DEPENDS =		devel/boost
>  CONFIGURE_ARGS +=	-DBUILD_SHARED_LIBS=ON \
>  			-DLibBGCode_BUILD_TESTS=OFF
>  
> +TEST_ENV +=		LD_LIBRARY_PATH=${WRKBUILD}/src/LibBGCode/core:${WRKBUILD}/src/LibBGCode/binarize:${WRKBUILD}/src/LibBGCode/convert

this suggests that tests are running for you; none are picked up for me.
any idea what's up?

<symphytum:/usr/ports/devel/libbgcode>$ make test
===>  Regression tests for libbgcode-20241024
UpdateCTestConfiguration  from :/usr/obj/ports/libbgcode-20241024/build-amd64/DartConfiguration.tcl
UpdateCTestConfiguration  from :/usr/obj/ports/libbgcode-20241024/build-amd64/DartConfiguration.tcl
Test project /usr/obj/ports/libbgcode-20241024/build-amd64
Constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
No tests were found!!!