[med-svn] [grinder] 02/02: add autopkgtest test-suite

Nadiya Sitdykova rovenskasa-guest at moszumanska.debian.org
Mon Aug 21 21:58:09 UTC 2017


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

rovenskasa-guest pushed a commit to branch master
in repository grinder.

commit 97b37fed388b6e38b8b79b71d993d5c4ddc4778c
Author: Nadiya Sitdykova <rovenskasa at gmail.com>
Date:   Mon Aug 21 17:57:35 2017 -0400

    add autopkgtest test-suite
---
 debian/README.test                | 14 ++++++++++++++
 debian/changelog                  |  1 +
 debian/tests/control              | 15 +++++++++++++++
 debian/tests/pkg-perl/smoke-tests |  1 +
 4 files changed, 31 insertions(+)

diff --git a/debian/README.test b/debian/README.test
new file mode 100644
index 0000000..8e8ddb2
--- /dev/null
+++ b/debian/README.test
@@ -0,0 +1,14 @@
+Notes on how this package can be tested.
+________________________________________
+
+This package uses `autopkgtest-pkg-perl` as a default testsuite.
+Read more at https://pkg-perl.alioth.debian.org/autopkgtest.html
+
+This package can also be tested by executing
+
+	make test
+
+in order to confirm its integrity.
+
+But keep in mind, that because of Grinder's random output, 
+some tests are brittle and may fail.
diff --git a/debian/changelog b/debian/changelog
index ad165c6..babf99d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ grinder (0.5.4-3) UNRELEASED; urgency=medium
   
   [ Nadiya Sitdykova ] 
   * add creation of _disposal directory so the package could be rebuild
+  * add autopkgtest test-suite
 
  -- Nadiya Sitdykova <rovensaksa at gmail.com>  Mon, 21 Aug 2017 17:34:12 -0400
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..ed4d628
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,15 @@
+Test-Command: /usr/share/pkg-perl-autopkgtest/runner build-deps
+Depends: @, @builddeps@, pkg-perl-autopkgtest
+Restrictions: allow-stderr
+
+Test-Command: /usr/share/pkg-perl-autopkgtest/runner runtime-deps
+Depends: @, pkg-perl-autopkgtest
+Restrictions: allow-stderr
+
+Test-Command: /usr/share/pkg-perl-autopkgtest/runner runtime-deps-and-recommends
+Depends: @, pkg-perl-autopkgtest
+Restrictions: needs-recommends, allow-stderr
+
+Test-Command: /usr/share/pkg-perl-autopkgtest/runner heavy-deps
+Depends: @, pkg-perl-autopkgtest, pkg-perl-autopkgtest-heavy
+Restrictions: allow-stderr
diff --git a/debian/tests/pkg-perl/smoke-tests b/debian/tests/pkg-perl/smoke-tests
new file mode 100644
index 0000000..5e69b86
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-tests
@@ -0,0 +1 @@
+t/00-load.t

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/grinder.git



More information about the debian-med-commit mailing list