[DRE-commits] [ruby-bootstrap-sass] 01/06: add a autopkgtest suite with a functional test

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Aug 9 15:53:21 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-bootstrap-sass.

commit 66d7abc0f138f7a5fbadd57022679acca56fb04f
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sun Aug 9 12:31:20 2015 -0300

    add a autopkgtest suite with a functional test
---
 debian/changelog        |  6 ++++++
 debian/control          |  1 +
 debian/tests/control    |  5 +++++
 debian/tests/smoke-test | 13 +++++++++++++
 4 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8adf2a2..78f2fcc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ruby-bootstrap-sass (3.3.4.1-2) UNRELEASED; urgency=medium
+
+  * add a autopkgtest suite with a functional test
+
+ -- Antonio Terceiro <terceiro at debian.org>  Sun, 09 Aug 2015 12:31:01 -0300
+
 ruby-bootstrap-sass (3.3.4.1-1) unstable; urgency=low
 
   [ Sebastien Badia ]
diff --git a/debian/control b/debian/control
index ba84ff2..011f47c 100644
--- a/debian/control
+++ b/debian/control
@@ -21,6 +21,7 @@ Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-bootstrap-sass.git
 Vcs-Browser: http://anonscm.debian.org/?p=pkg-ruby-extras/ruby-bootstrap-sass.git;a=summary
 Homepage: http://github.com/thomas-mcdonald/bootstrap-sass
+Testsuite: autopkgtest
 XS-Ruby-Versions: all
 
 Package: ruby-bootstrap-sass
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..dccfe18
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: smoke-test
+Depends: @, ruby-sprockets
+
+Test-Command: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1
+Depends: @, phantomjs,ruby-capybara,ruby-compass,ruby-jquery-rails,ruby-sass (>=3.2~),ruby-sass-rails (>=3.2~),ruby-term-ansicolor,ruby-test-unit,ruby-tzinfo,ruby-uglifier, gem2deb-test-runner
diff --git a/debian/tests/smoke-test b/debian/tests/smoke-test
new file mode 100755
index 0000000..6c2f2c5
--- /dev/null
+++ b/debian/tests/smoke-test
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+exec 2>&1
+set -ex
+
+cd $ADTTMP
+
+cat > foo.sass <<EOF
+ at import bootstrap
+EOF
+
+sprockets -rbootstrap-sass -I. foo.sass
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-bootstrap-sass.git



More information about the Pkg-ruby-extras-commits mailing list