Skip to content
Snippets Groups Projects
Commit b3d635d5 authored by Celeste's avatar Celeste
Browse files

testing/spiped: improve

  - run build()

  - workaround tests failing on the builders due to
    character limit for unix domain sockets (see
    !68497 (comment 417531))
parent 1e7d0901
No related branches found
No related tags found
No related merge requests found
......@@ -10,8 +10,22 @@ license="BSD-2-Clause"
makedepends="openssl-dev"
source="https://www.tarsnap.com/spiped/spiped-$pkgver.tgz"
build() {
make
}
check() {
make test
# choose a shorter path to workaround the
# 107 char limit for unix domain sockets.
local testdir="$tmpdir/t"
# clear testdir to allow re-running of check().
rm -rf "$testdir"
mkdir -p "$testdir"
# symlinking prevents rebuild of spiped.
ln -s "$builddir"/* "$testdir"/
make -C "$testdir" test
}
package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment