[Pkg-javascript-commits] [node-json5] 06/12: enable tests

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Feb 9 15:11:56 UTC 2018


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

praveen pushed a commit to branch master
in repository node-json5.

commit 789aedb1c77741c00efec0bc145208169517e481
Author: Pirate Praveen <praveen at debian.org>
Date:   Fri Feb 9 19:49:19 2018 +0530

    enable tests
---
 debian/rules | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index de57af0..3a1fa17 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,12 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
-
-#override_dh_auto_test:
-
+override_dh_auto_build:
+	node ./lib/cli.js -c package.json5
+	ln -s ../debian/json5-tests test/parse-cases
 
+override_dh_auto_test:
+	mocha --ui exports -R spec
 
+override_dh_auto_clean:
+	rm -rf test/parse-cases

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



More information about the Pkg-javascript-commits mailing list