[vim] 01/03: Add basic autopkgtests

James McCoy jamessan at debian.org
Sun Sep 24 17:52:55 UTC 2017


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

jamessan pushed a commit to branch debian/sid
in repository vim.

commit 1928e346f1119b7f50130769278ec8deb6c08f66
Author: James McCoy <jamessan at debian.org>
Date:   Mon Sep 18 22:58:52 2017 -0400

    Add basic autopkgtests
    
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 debian/changelog      | 1 +
 debian/tests/control  | 2 ++
 debian/tests/variants | 7 +++++++
 3 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8f60cb1..a3a56df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ vim (2:8.0.1127-1) UNRELEASED; urgency=medium
     + Recognize Testsuite field  (Closes: #872360)
     + Treat tabs as valid whitespace  (Closes: #872557)
   * Declare compliance with Policy 4.1.0, no changes needed
+  * Add basic autopkgtests
 
  -- James McCoy <jamessan at debian.org>  Mon, 18 Sep 2017 20:16:12 -0400
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..d6e7173
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Test-Command: ./debian/tests/variants --version
+Depends: @
diff --git a/debian/tests/variants b/debian/tests/variants
new file mode 100755
index 0000000..71e4164
--- /dev/null
+++ b/debian/tests/variants
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -eu
+
+for variant in /usr/bin/vim.*
+do
+  $variant "$@"
+done

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



More information about the pkg-vim-maintainers mailing list