[SCM] Installer for game data files branch, master, updated. efd46d96e303f4a3f010a93ae2ee1d6c68315639

Jon Dowland jmtd at debian.org
Tue Sep 11 21:08:33 UTC 2012


The following commit has been merged in the master branch:
commit fdded2f679708bf885d06bc9b840b2230d02f5a1
Author: Jon Dowland <jmtd at debian.org>
Date:   Fri Feb 26 13:40:32 2010 +0000

    use external shunit2

diff --git a/tests/runtests b/tests/runtests
index b5f8e45..139bc53 100755
--- a/tests/runtests
+++ b/tests/runtests
@@ -2,6 +2,11 @@
 
 . ./lib/game-data-packager-shared
 
+if [ ! -f /usr/share/shunit2/shunit2 ]; then
+    echo "you need to install shunit2 to run tests" >&2
+    exit 1
+fi
+
 ## verify_file(file)
 ##      ensures file is a file, or complains on stderr
 ##      and causes the program to exit.
@@ -104,4 +109,4 @@ test_slipstream() {
 ##      convert 'path' from relative to absolute
 ##      if it does not begin with a slash.
 
-. ./tests/shunit2/shunit2
+. /usr/share/shunit2/shunit2

-- 
Installer for game data files



More information about the Pkg-games-commits mailing list