summaryrefslogtreecommitdiff
path: root/sysutils/deforaos-browser/patches/patch-tests_tests.sh
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2015-10-09 22:33:13 +0000
committerkhorben <khorben@pkgsrc.org>2015-10-09 22:33:13 +0000
commita3e5c167091e5d8115f75855ec2bc8038b38bfee (patch)
tree0c840e6ca4aabe62b06fe63ec2c2f08d13b113ae /sysutils/deforaos-browser/patches/patch-tests_tests.sh
parent739eb220a9fc42df70b2a8b8590a30a06306bd2e (diff)
downloadpkgsrc-a3e5c167091e5d8115f75855ec2bc8038b38bfee.tar.gz
Fix build when not running under X
Reported by joerg@, thanks!
Diffstat (limited to 'sysutils/deforaos-browser/patches/patch-tests_tests.sh')
-rw-r--r--sysutils/deforaos-browser/patches/patch-tests_tests.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/deforaos-browser/patches/patch-tests_tests.sh b/sysutils/deforaos-browser/patches/patch-tests_tests.sh
new file mode 100644
index 00000000000..fe2b9e52ca7
--- /dev/null
+++ b/sysutils/deforaos-browser/patches/patch-tests_tests.sh
@@ -0,0 +1,15 @@
+$NetBSD: patch-tests_tests.sh,v 1.1 2015/10/09 22:33:13 khorben Exp $
+
+Only run the "vfs" test when running under X
+
+--- tests/tests.sh.orig 2015-10-05 23:01:10.000000000 +0000
++++ tests/tests.sh
+@@ -99,7 +99,7 @@ $DATE > "$target"
+ FAILED=
+ echo "Performing tests:" 1>&2
+ _test "plugins"
+-_test "vfs"
++[ -z "$DISPLAY" ] || _test "vfs"
+ #echo "Expected failures:" 1>&2
+ #_fail "plugins"
+ if [ -n "$FAILED" ]; then