[corsix-th] 02/03: enable unit tests with newly packaged lua-busted

Phil Morrell emorrp1-guest at moszumanska.debian.org
Sun Jul 3 21:01:17 UTC 2016


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

emorrp1-guest pushed a commit to branch master
in repository corsix-th.

commit ded35949603829c2e6c192461a4ced78c95a07c4
Author: Phil Morrell <debian at emorrp1.name>
Date:   Sun Jul 3 21:15:46 2016 +0100

    enable unit tests with newly packaged lua-busted
    
    As mentioned in CONTRIBUTING.txt, though it seems no new tests have been
    added since 2014-12-06.
---
 debian/control | 1 +
 debian/rules   | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/control b/debian/control
index 1afd4f3..286f12e 100644
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,7 @@ Build-Depends:
  liblua5.2-dev,
  libsdl2-dev,
  libsdl2-mixer-dev,
+ lua-busted,
  lua5.2,
 Standards-Version: 3.9.8
 Homepage: http://corsixth.com
diff --git a/debian/rules b/debian/rules
index 6cccc67..56d39d1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,5 +26,9 @@ override_dh_auto_install:
 	mkdir -p debian/corsix-th-data/usr/share/games/corsix-th/
 	mv debian/tmp/usr/CorsixTH/* debian/corsix-th-data/usr/share/games/corsix-th/
 
+override_dh_auto_test:
+	dh_auto_test
+	busted -C CorsixTH/Luatest --verbose
+
 override_dh_installchangelogs:
 	dh_installchangelogs CorsixTH/changelog.txt

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



More information about the Pkg-games-commits mailing list