[heaptrack] 03/04: Add simple autopkgtest.

Anton Gladky gladk at moszumanska.debian.org
Sun May 7 17:17:46 UTC 2017


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

gladk pushed a commit to branch master
in repository heaptrack.

commit 84c5439897240caac2b29448bd6ffe105db062a3
Author: Anton Gladky <gladk at debian.org>
Date:   Sun May 7 19:16:13 2017 +0200

    Add simple autopkgtest.
---
 debian/control            | 1 +
 debian/tests/01_heaptrack | 5 +++++
 debian/tests/control      | 2 ++
 3 files changed, 8 insertions(+)

diff --git a/debian/control b/debian/control
index 3d67306..d66adc6 100644
--- a/debian/control
+++ b/debian/control
@@ -2,6 +2,7 @@ Source: heaptrack
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Anton Gladky <gladk at debian.org>
 Section: devel
+Testsuite: autopkgtest
 Priority: optional
 Build-Depends: cmake,
                debhelper (>= 10),
diff --git a/debian/tests/01_heaptrack b/debian/tests/01_heaptrack
new file mode 100755
index 0000000..a43d021
--- /dev/null
+++ b/debian/tests/01_heaptrack
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+
+heaptrack /bin/ls
+ls -l
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..80097c9
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: 01_heaptrack
+Depends: heaptrack

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



More information about the debian-science-commits mailing list