diff options
author | Morgenstern | 2021-02-10 00:07:53 +1300 |
---|---|---|
committer | Morgenstern | 2021-02-10 00:07:53 +1300 |
commit | 455a04e44685ccbe9799ac47b27270b69e273400 (patch) | |
tree | 67745b76d552d722044ffb632ba2761f7129f13a | |
parent | 177d878623260a956803b27f79e509de82af331a (diff) | |
download | aur-455a04e44685ccbe9799ac47b27270b69e273400.tar.gz |
Update unit tests execution
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = cherrytree-git pkgdesc = Hierarchical note-taking application, git version - pkgver = 0.99.29.r13.gcf073985 + pkgver = 0.99.30.r15.g2a56d216 pkgrel = 1 url = https://github.com/giuspen/cherrytree arch = x86_64 @@ -2,7 +2,7 @@ pkgname=cherrytree-git _pkgname="${pkgname%%-git}" -pkgver=0.99.29.r13.gcf073985 +pkgver=0.99.30.r15.g2a56d216 pkgrel=1 pkgdesc="Hierarchical note-taking application, git version" arch=('x86_64') @@ -47,12 +47,14 @@ build() { make -C "${_pkgname}/build" } -# NOTE: In order to run tests in a clean chroot, you must allow it access your X server: +# NOTE: In order to run tests that depend on the X server in a clean chroot, +# you must allow the chroot access your X server: # xhost +local: # https://wiki.archlinux.org/index.php/chroot#Run_graphical_applications_from_chroot #export DISPLAY=:0 check() { - ./"${_pkgname}/build/run_tests" + ./"${_pkgname}/build/run_tests_with_x_1" + ./"${_pkgname}/build/run_tests_with_x_2" } package() { |