aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-06-21 21:29:00 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-06-21 21:29:25 +0000
commit936adf146e06b6284efcbff8e3866ccee1be47a9 (patch)
tree952331b4f380b772df54afacaed41af098724629
parente07cd0e5fd4211550db6ca7a7ec1e64d3f45731e (diff)
downloadports-936adf146e06b6284efcbff8e3866ccee1be47a9.tar.gz
ports-936adf146e06b6284efcbff8e3866ccee1be47a9.zip
misc/astc-encoder: Fix tests
-rw-r--r--misc/astc-encoder/Makefile7
-rw-r--r--misc/astc-encoder/distinfo6
2 files changed, 7 insertions, 6 deletions
diff --git a/misc/astc-encoder/Makefile b/misc/astc-encoder/Makefile
index 8b802a815ce6..cfbf85826875 100644
--- a/misc/astc-encoder/Makefile
+++ b/misc/astc-encoder/Makefile
@@ -9,14 +9,15 @@ COMMENT= Texture compressor for Adaptive Scalable Texture Compression format
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= cmake:testing compiler:c++14-lang
+USES= cmake:testing compiler:c++14-lang python:test
USE_GITHUB= yes
GH_ACCOUNT= ARM-software
-GH_TUPLE= google:googletest:703bd9c:googletest/Source/GoogleTest
+GH_TUPLE= google:googletest:e2239ee:googletest/Source/GoogleTest
+CMAKE_ARGS= -DPython_EXECUTABLE=${PYTHON_CMD} # only for tests
CMAKE_OFF= UNITTEST
-CMAKE_TESTING_ON= UNITTEST # tests fail to build, see https://github.com/ARM-software/astc-encoder/issues/349
+CMAKE_TESTING_ON= UNITTEST
LDFLAGS+= -pthread
diff --git a/misc/astc-encoder/distinfo b/misc/astc-encoder/distinfo
index 9a0c58be65e4..96339e7d70e4 100644
--- a/misc/astc-encoder/distinfo
+++ b/misc/astc-encoder/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1655841306
+TIMESTAMP = 1655846150
SHA256 (ARM-software-astc-encoder-3.7-92-g50f5f8f_GH0.tar.gz) = d8633cd0486b38b62a356ce5a383b0016349111dda73d535f49158aae5c59b70
SIZE (ARM-software-astc-encoder-3.7-92-g50f5f8f_GH0.tar.gz) = 36649917
-SHA256 (google-googletest-703bd9c_GH0.tar.gz) = 54bef85b53a02b21ed1e784848ea05cbfd78134f8976a7831a956cfebcef7204
-SIZE (google-googletest-703bd9c_GH0.tar.gz) = 904257
+SHA256 (google-googletest-e2239ee_GH0.tar.gz) = 47a8ca2e1be737588628cbc82726a7c4fed060ae0098709003845e3ef298da2f
+SIZE (google-googletest-e2239ee_GH0.tar.gz) = 886254