summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-03-05 09:58:40 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-03-05 09:58:40 +0100
commitebe59dc681fe9c744505f5c11dd9d8485e037fb2 (patch)
tree90223013537a44f02c268ed918f7762b7e3915e2 /dev-lua/mpack/mpack-1.0.8-r100.ebuild
parentnet-analyzer/slurm: Drop 0.3.3-r2, EAPI5-- (diff)
downloadgentoo-ebe59dc681fe9c744505f5c11dd9d8485e037fb2.tar.gz
gentoo-ebe59dc681fe9c744505f5c11dd9d8485e037fb2.tar.bz2
gentoo-ebe59dc681fe9c744505f5c11dd9d8485e037fb2.zip
dev-lua/mpack: fix tests
Closes: https://bugs.gentoo.org/774273 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-lua/mpack/mpack-1.0.8-r100.ebuild')
-rw-r--r--dev-lua/mpack/mpack-1.0.8-r100.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
index e64d78d190ef..68c6968289e6 100644
--- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -60,6 +60,8 @@ src_compile() {
}
lua_src_test() {
+ pushd "${BUILD_DIR}" || die
+
# "[ FAILED ] test.lua @ 279: mpack should not leak memory"
# It doesn't seem upstream actually support LuaJIT so were this up to me
# I would drop it from LUA_COMPAT, unfortunately there are packages in the
@@ -70,6 +72,8 @@ lua_src_test() {
fi
busted --lua="${ELUA}" test.lua || die
+
+ popd
}
src_test() {