[Pkg-javascript-commits] [acorn] 01/08: Run autopkgsmoketest

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 18 13:42:32 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 f2d7d9c7e3a8cbc64c13af45cb0f7c9f6d6a200e
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..97f52e2 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-acorn
+
+Tests: smoketest
+Depends: node-acorn
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