Skip to content
Snippets Groups Projects
Commit e933040b authored by alice's avatar alice
Browse files

community/lua-date: skip luajit tests on ppc64le

parent b5f83fb9
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ url="https://github.com/Tieske/date"
arch="noarch"
license="MIT"
depends="lua"
checkdepends="lua-busted luajit"
checkdepends="lua-busted"
source="https://github.com/Tieske/$_rockname/archive/version_$pkgver/lua-date-$pkgver.tar.gz"
builddir="$srcdir/date-version_$pkgver"
......@@ -18,8 +18,13 @@ for _v in $_luaversions; do
checkdepends="$checkdepends lua$_v lua$_v-busted"
done
case "$CARCH" in
ppc64le) _luajit="" ;;
*) checkdepends="$checkdepends luajit"; _luajit="jit" ;;
esac
check() {
local lver; for lver in $_luaversions jit; do
local lver; for lver in $_luaversions $_luajit; do
msg "Testing on lua$lver"
lua$lver /usr/bin/busted --no-coverage
done
......
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