aboutsummaryrefslogtreecommitdiffstats
path: root/testing/runvimtests
diff options
context:
space:
mode:
authorKeith Maxwell <keith.maxwell@gmail.com>2020-04-09 10:35:36 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-04-09 15:40:10 +0000
commit0a2447ce0fe4f792797fe34a5ddc82f860a18e48 (patch)
treec2e1512ebf2ec763964a527a818d7da143e07d84 /testing/runvimtests
parentd95e2bc8267a24b585856b23e7819fc365dda981 (diff)
downloadaports-0a2447ce0fe4f792797fe34a5ddc82f860a18e48.tar.bz2
aports-0a2447ce0fe4f792797fe34a5ddc82f860a18e48.tar.xz
testing/runvimtests: new aport
Diffstat (limited to 'testing/runvimtests')
-rw-r--r--testing/runvimtests/APKBUILD31
-rw-r--r--testing/runvimtests/runvimtests.post-install2
2 files changed, 33 insertions, 0 deletions
diff --git a/testing/runvimtests/APKBUILD b/testing/runvimtests/APKBUILD
new file mode 100644
index 0000000000..af951f2c02
--- /dev/null
+++ b/testing/runvimtests/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
+# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
+pkgname=runvimtests
+_pkgname=runVimTests
+pkgver=1.30
+pkgrel=0
+pkgdesc="A testing framework for Vim"
+url="https://github.com/inkarkat/runVimTests"
+arch="noarch"
+license="Vim"
+depends="vim bash"
+options="!check" # no return codes from test suite
+install="$pkgname.post-install"
+source="$pkgname-$pkgver.tar.gz::https://github.com/inkarkat/runVimTests/archive/$pkgver.tar.gz"
+
+builddir="$srcdir/$_pkgname-$pkgver"
+
+package() {
+ local _dest="$pkgdir/usr/share/vim/vimfiles"
+
+ install -t "$_dest/bin" -D bin/runVimMsgFilter.vim
+ install -t "$_dest/bin" -D bin/runVimTests.sh
+
+ cp -R doc autoload "$_dest"
+
+ mkdir -p "$pkgdir/usr/bin"
+ cd "$pkgdir/usr/bin"
+ ln -s ../share/vim/vimfiles/bin/runVimTests.sh runVimTests
+}
+
+sha512sums="d016d0e1fec531d168ceb9c2bd6df34ab31592c5349867ea979ebf45111e86d21893a3edafc326bb246019b5f94733dbaa87a289b49c09d6e60da3fdde42b383 runvimtests-1.30.tar.gz"
diff --git a/testing/runvimtests/runvimtests.post-install b/testing/runvimtests/runvimtests.post-install
new file mode 100644
index 0000000000..0bc5bd9954
--- /dev/null
+++ b/testing/runvimtests/runvimtests.post-install
@@ -0,0 +1,2 @@
+#!/bin/sh
+vim -u NONE -esX "+helptags ALL" +q