[ann] 02/06: Fix autopkgtests.

Mattia Rizzolo mattia at debian.org
Sat Dec 3 17:46:48 UTC 2016


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

mattia pushed a commit to branch master
in repository ann.

commit 5147208fb6b9d21407d9064804efd518f6671c0d
Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
Date:   Sat Dec 3 18:37:28 2016 +0100

    Fix autopkgtests.
    
    Closes: #768107
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 debian/tests/build1 | 7 ++++---
 debian/tests/build2 | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/debian/tests/build1 b/debian/tests/build1
index 1c13ef1..c163244 100755
--- a/debian/tests/build1
+++ b/debian/tests/build1
@@ -6,9 +6,10 @@ set -e
 
 WORKDIR=$(mktemp -d)
 trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
-cp ann_test.cpp $WORKDIR/
-cp rand.cpp $WORKDIR/
-cp rand.h $WORKDIR/
+TESTDIR="debian/tests"
+cp $TESTDIR/ann_test.cpp $WORKDIR/
+cp $TESTDIR/rand.cpp $WORKDIR/
+cp $TESTDIR/rand.h $WORKDIR/
 
 cd $WORKDIR
 
diff --git a/debian/tests/build2 b/debian/tests/build2
index a8cdbdc..0cd7c7a 100755
--- a/debian/tests/build2
+++ b/debian/tests/build2
@@ -6,9 +6,10 @@ set -e
 
 WORKDIR=$(mktemp -d)
 trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
-cp ann_test.cpp $WORKDIR/
-cp rand.cpp $WORKDIR/
-cp rand.h $WORKDIR/
+TESTDIR="debian/tests"
+cp $TESTDIR/ann_test.cpp $WORKDIR/
+cp $TESTDIR/rand.cpp $WORKDIR/
+cp $TESTDIR/rand.h $WORKDIR/
 
 cd $WORKDIR
 

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



More information about the debian-science-commits mailing list