Source: ann Version: 1.1.2 Severity: normal Tags: patch User: autopkgtest-de...@lists.alioth.debian.org Usertags: autopkgtest
Dear Maintainer, The tests are failing in debci using autopkgtest. Below the autopkgtest's log: adt-run [23:12:48]: test build1: [----------------------- cp: cannot stat ‘ann_test.cpp’: No such file or directory adt-run [23:12:48]: test build1: -----------------------] adt-run [23:12:48]: test build1: - - - - - - - - - - results - - - - - - - - - - build1 FAIL non-zero exit status 1 adt-run [23:12:49]: test build1: - - - - - - - - - - stderr - - - - - - - - - - cp: cannot stat ‘ann_test.cpp’: No such file or directory adt-run [23:12:50]: test build2: [----------------------- cp: cannot stat ‘ann_test.cpp’: No such file or directory adt-run [23:12:50]: test build2: -----------------------] adt-run [23:12:50]: test build2: - - - - - - - - - - results - - - - - - - - - - build2 FAIL non-zero exit status 1 adt-run [23:12:50]: test build2: - - - - - - - - - - stderr - - - - - - - - - - cp: cannot stat ‘ann_test.cpp’: No such file or directory This occur because of the wrong path of files used in tests, to correct this I only added de $TESTDIR (= debian/tests) variable before the name of files, then all the tests can find the files and the suite test is ok. Thanks for consider it! -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -rupN ann-1.1.2+doc.orig/debian/tests/build1 ann-1.1.2+doc/debian/tests/build1 --- ann-1.1.2+doc.orig/debian/tests/build1 2014-11-04 14:25:57.552987031 -0200 +++ ann-1.1.2+doc/debian/tests/build1 2014-11-04 23:06:24.239266085 -0200 @@ -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 -rupN ann-1.1.2+doc.orig/debian/tests/build2 ann-1.1.2+doc/debian/tests/build2 --- ann-1.1.2+doc.orig/debian/tests/build2 2014-11-04 14:25:57.552987031 -0200 +++ ann-1.1.2+doc/debian/tests/build2 2014-11-04 23:04:58.458399428 -0200 @@ -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