Skip to content
Snippets Groups Projects
Commit 83773ecf authored by Liubov Chuprikova's avatar Liubov Chuprikova
Browse files

Added autopkgtest

parent 4ea28141
No related branches found
No related tags found
No related merge requests found
coils (2002-6) UNRELEASED; urgency=low
* Team upload.
* Fixed typo in override_dh_clean
* Fix "Please provide autopkgtest" autopkgtest added
(Closes: #890786)
-- Liubov Chuprikova <chuprikovalv@gmail.com> Tue, 13 Mar 2018 12:22:29 +0000
coils (2002-5) unstable; urgency=low
[ Steffen Moeller ]
......
......@@ -15,7 +15,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
override_dh_auto_build:
$(CC) $(CFLAGS) -I. -o ncoils ncoils.c read_matrix.c -lm -D__PKGDATADIR__=\"/usr/share/ncoils\" $(LDFLAGS)
overrice_dh_clean:
override_dh_clean:
dh_clean ncoils ncoils.1 coils-wrap.1
override_dh_install:
......
Tests: run-init-test
Depends: @
Restrictions: allow-stderr
#!/bin/bash
set -e
pkg="ncoils"
if [ "$AUTOPKGTEST_TMP" = "" ] ; then
AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
fi
cp -a /usr/share/doc/${pkg}/1srya.fa $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP
/usr/bin/ncoils -f < 1srya.fa
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment