Bug#768107: ann: Fail of tests in debci (autopkgtest)

Lucas Kanashiro kanashiro.duarte at gmail.com
Wed Nov 5 01:18:38 UTC 2014


Source: ann
Version: 1.1.2
Severity: normal
Tags: patch
User: autopkgtest-devel at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ann.patch
Type: text/x-diff
Size: 1090 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20141104/8e5f99a4/attachment.patch>


More information about the debian-science-maintainers mailing list