Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79089 - [wolfssl] check() does nothing

Attached to Project: Arch Linux
Opened by Iyan (iyanmv) - Thursday, 13 July 2023, 09:57 GMT
Last edited by David Runge (dvzrv) - Friday, 14 July 2023, 08:28 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

wolfSSL doesn't include any tests in cmake, so current check() function does nothing.
It would be useful to at least run the wolfcrypt tests.

diff --git a/PKGBUILD b/PKGBUILD
index 4a9d9e0..594e6db 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,9 +15,9 @@ source=(
https://github.com/$pkgname/$pkgname/releases/download/v$pkgver-stable/$pkgname-$pkgver-stable.tar.gz.asc
)
sha512sums=('7c3b5c06ade7826031db089d50ec45c36970555499b6be94d1939b3002369fc98e503418128c6b2e253df7e92f86a71647d37f2cd27d57ac201e5aba32b879dc'
- 'SKIP')
+ 'SKIP'
b2sums=('b53f5d4c5457372564636b4b9edae1116889d5033ee111f2d8eed05469e9372b4ac286ce1fa4c872f14b2a74ab1715e6726b09940068fc3219f8dbac68a5e020'
- 'SKIP')
+ 'SKIP'
validpgpkeys=(
A2A48E7BCB96C5BECB987314EBC80E415CA29677 # wolfSSL <secure@wolfssl.com>
)
@@ -43,7 +43,10 @@ build() {

check() {
cd build
- ctest --output-on-failure
+ ./wolfcrypt/test/testwolfcrypt
+
+ # Optional
+ # ./wolfcrypt/benchmark/benchmark
}

package() {
This task depends upon

Closed by  David Runge (dvzrv)
Friday, 14 July 2023, 08:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with wolfssl 5.6.3-2
Comment by David Runge (dvzrv) - Friday, 14 July 2023, 08:17 GMT
@iyanmv: Thanks for the ticket!

I'll look into this in a pkgrel bump.

Loading...