[gnuplot-iostream] 01/02: Use xvfb-run to run autopkgtest.

Anton Gladky gladk at moszumanska.debian.org
Mon Sep 8 21:22:43 UTC 2014


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository gnuplot-iostream.

commit 85d5c20fc47cf4e2c6dc8a75996cf18f483d1265
Author: Anton Gladky <gladk at debian.org>
Date:   Mon Sep 8 20:01:14 2014 +0200

    Use xvfb-run to run autopkgtest.
---
 debian/tests/build1  | 3 ++-
 debian/tests/build2  | 3 ++-
 debian/tests/control | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/tests/build1 b/debian/tests/build1
index b7f3322..0f249fc 100755
--- a/debian/tests/build1
+++ b/debian/tests/build1
@@ -74,5 +74,6 @@ EOF
 g++ -o demo demo.cc -lboost_iostreams -lboost_system -lboost_filesystem
 echo "build: OK"
 [ -x demo ]
-./demo
+touch a
+xvfb-run --auth-file=a ./demo
 echo "run: OK"
diff --git a/debian/tests/build2 b/debian/tests/build2
index 3f88ff3..7fd866e 100755
--- a/debian/tests/build2
+++ b/debian/tests/build2
@@ -58,5 +58,6 @@ EOF
 g++ -o demo demo.cc -lboost_iostreams -lboost_system -lboost_filesystem
 echo "build: OK"
 [ -x demo ]
-./demo
+touch a
+xvfb-run --auth-file=a ./demo
 echo "run: OK"
diff --git a/debian/tests/control b/debian/tests/control
index 3a0fe0b..3594030 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,2 @@
 Tests: build1 build2
-Depends: libgnuplot-iostream-dev, libboost-iostreams-dev, libboost-system-dev, libboost-filesystem-dev, build-essential
+Depends: libgnuplot-iostream-dev, libboost-iostreams-dev, libboost-system-dev, libboost-filesystem-dev, build-essential, xvfb, xauth

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gnuplot-iostream.git



More information about the debian-science-commits mailing list