summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgenstern2021-02-17 08:41:26 +1300
committerMorgenstern2021-02-17 08:41:26 +1300
commit67c2370574944fb513b5af441a53d6af12f3bd77 (patch)
treeb4deaed6fc5dbb8e7d8e399bb0c075fe6c02705e
parent455a04e44685ccbe9799ac47b27270b69e273400 (diff)
downloadaur-67c2370574944fb513b5af441a53d6af12f3bd77.tar.gz
Always export DISPLAY in check() function
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0b98bbac44b1..4e9edebd8302 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -51,8 +51,8 @@ build() {
# 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() {
+ export DISPLAY=:0
./"${_pkgname}/build/run_tests_with_x_1"
./"${_pkgname}/build/run_tests_with_x_2"
}