[Pkg-mono-svn-commits] [SCM] mono branch, master, updated. debian/2.4+dfsg-2-13-gf6060ea

Mirco Bauer meebey at meebey.net
Sat Jun 13 18:31:28 UTC 2009


The following commit has been merged in the master branch:
commit d57f93082050e646841d2c407256e8d105458da1
Author: Mirco Bauer <meebey at meebey.net>
Date:   Sat Jun 13 16:54:59 2009 +0200

    As the runtime tests need a C# compiler and some basic libraries, we have to ensure they are build in the test target.

diff --git a/debian/changelog b/debian/changelog
index f4dc6bd..9be5b6f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,8 +23,8 @@ mono (2.4+dfsg-3) unstable; urgency=low
     + Fixes the hang for all applications when running on SPARC.
       (Closes: #531566)
   * debian/rules:
-    + Added test target and run basic runtime tests if nocheck wasn't passed via
-      DEB_BUILD_OPTIONS as part of the build.
+    + Implemented test target and run basic runtime tests as part of the build
+      if nocheck wasn't passed via DEB_BUILD_OPTIONS.
 
  -- Mirco Bauer <meebey at debian.org>  Mon, 25 May 2009 20:46:12 +0200
 
diff --git a/debian/rules b/debian/rules
index 688bdb6..8eab1ee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -130,8 +130,28 @@ build-indep-stamp:
 
 test: test-arch
 test-arch: test-arch-stamp
-test-arch-stamp: build-arch-stamp
+test-arch-stamp: configure-arch-stamp build-arch-stamp
+	# runtime tests need gmcs, ilasm and mkbundle, so let's build them
+	
+	# bootstrap 1.1 and 2.0 as needed to build gmcs
+	cd mcs && LC_ALL=C $(MAKE) PROFILE=basic
+	cd mcs && LC_ALL=C $(MAKE) NO_DIR_CHECK=1 PROFILE=net_1_1_bootstrap
+	cd mcs && LC_ALL=C $(MAKE) NO_DIR_CHECK=1 PROFILE=net_2_0_bootstrap
+	
+	# build gmcs
+	cd mcs/mcs && LC_ALL=C $(MAKE) PROFILE=net_2_0
+	
+	# ilasm needs PEAPI
+	cd mcs/class/PEAPI && LC_ALL=C $(MAKE) NO_DIR_CHECK=1 PROFILE=net_2_0
+	# build ilasm
+	cd mcs/ilasm && LC_ALL=C $(MAKE) PROFILE=net_2_0
+	
+	# build mkbundle
+	cd mcs/tools/mkbundle && LC_ALL=C $(MAKE) PROFILE=net_2_0
+
+	# show time baby: run all tests
 	-$(TEST)
+	
 	touch $@
 
 clean: clean-patched unpatch

-- 
mono



More information about the Pkg-mono-svn-commits mailing list