[Pkg-javascript-commits] [acorn] 01/01: Run autopkgsmoketest
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Aug 18 12:21:29 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository acorn.
commit 313e38f3ca5278152f6b26873dccdc58ad01d8cc
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date: Fri Aug 18 14:21:16 2017 +0200
Run autopkgsmoketest
---
debian/changelog | 2 ++
debian/tests/control | 3 +++
debian/tests/smoketest | 3 +++
3 files changed, 8 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 0cafed0..e9a93d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ acorn (5.1.1+ds-1) unstable; urgency=high
* Fix > instead of >= in control.
* Repack and remove dist
+ * Run testsuite (smoke test)
+ * Improve autopkgtest
-- Bastien Roucariès <rouca at debian.org> Fri, 18 Aug 2017 12:05:57 +0200
diff --git a/debian/tests/control b/debian/tests/control
index 3be8c91..966b6d8 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-acorn
+
+Test: smoketest
+Depends: node-acorn
\ No newline at end of file
diff --git a/debian/tests/smoketest b/debian/tests/smoketest
new file mode 100755
index 0000000..6c914c8
--- /dev/null
+++ b/debian/tests/smoketest
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+acorn < /usr/lib/nodejs/acorn/index.js
\ No newline at end of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/acorn.git
More information about the Pkg-javascript-commits
mailing list