[mame] 02/04: Run mame -validate after the build.
Jordi Mallach
jordi at moszumanska.debian.org
Fri Jul 15 09:07:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
jordi pushed a commit to branch master
in repository mame.
commit 424b986f6e3c28b9d086923394506390ccad8183
Author: Jordi Mallach <jordi at debian.org>
Date: Wed Jul 13 10:36:42 2016 +0200
Run mame -validate after the build.
Add a override_dh_auto_test that just runs "mame -validate" after
the build. For now, make it non-fatal.
---
debian/changelog | 2 ++
debian/rules | 4 ++++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 08a308a..022dd98 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ mame (0.175-2) unstable; urgency=medium
[ Jordi Mallach ]
* Install bgfx, language, plugins and uismall.bdf files in mame-tools.
Thanks to Vas Crabb for pointing this out.
+ * Add a override_dh_auto_test that just runs "mame -valid" after the build.
+ For now, make it non-fatal.
-- Cesare Falco <c.falco at ubuntu.com> Fri, 08 Jul 2016 13:08:40 +0200
diff --git a/debian/rules b/debian/rules
index 3b1bbc8..293e49c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -177,6 +177,10 @@ override_dh_auto_build:
$(CURDIR)/mame -createconfig
mv mame.ini default.mame.ini
+override_dh_auto_test:
+ # Run MAME's internal validation tests
+ -mame -validate
+
override_dh_install:
dh_install --fail-missing \
--exclude=dir.txt \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mame.git
More information about the Pkg-games-commits
mailing list