r13537 - packages/trunk/0ad/debian

Vincent Cheng vincentc-guest at alioth.debian.org
Wed May 2 07:48:21 UTC 2012


Author: vincentc-guest
Date: 2012-05-02 07:48:20 +0000 (Wed, 02 May 2012)
New Revision: 13537

Modified:
   packages/trunk/0ad/debian/changelog
   packages/trunk/0ad/debian/rules
Log:
0ad: Fix creation of spurious dirs above root build dir


Modified: packages/trunk/0ad/debian/changelog
===================================================================
--- packages/trunk/0ad/debian/changelog	2012-05-02 05:48:55 UTC (rev 13536)
+++ packages/trunk/0ad/debian/changelog	2012-05-02 07:48:20 UTC (rev 13537)
@@ -1,3 +1,10 @@
+0ad (0~r11339-3) UNRELEASED; urgency=low
+
+  * (debian/rules: stop creation of extra dirs, i.e. ../data/mods/
+     when running tests. See comments in d/rules)
+
+ -- Vincent Cheng <Vincentc1208 at gmail.com>  Wed, 02 May 2012 00:46:20 -0700
+
 0ad (0~r11339-2) unstable; urgency=low
 
   * Add debian/patches/fix-kfreebsd-ftbfs.patch to fix FTBFS on kfreebsd.

Modified: packages/trunk/0ad/debian/rules
===================================================================
--- packages/trunk/0ad/debian/rules	2012-05-02 05:48:55 UTC (rev 13536)
+++ packages/trunk/0ad/debian/rules	2012-05-02 07:48:20 UTC (rev 13537)
@@ -25,8 +25,10 @@
 	$(MAKE) config=release -C build/workspaces/gcc
 
 override_dh_auto_test:
-	LD_LIBRARY_PATH=binaries/system binaries/system/test \
-	-libdir binaries/system
+	# Note: Avoid running tests from root dir of build, otherwise certain
+	# tests (i.e. in testsuite MeshManager) may not work as intended and
+	# create spurious directories above root dir (../data/mods).
+	cd binaries/system/ && ./test
 
 override_dh_auto_install:
 	install -Dm 0755 build/resources/0ad.sh $(CURDIR)/debian/tmp/usr/games/0ad




More information about the Pkg-games-commits mailing list