[Pkg-mysql-commits] r1026 - branches/sid-5.0/debian

Norbert Tretkowski nobse at alioth.debian.org
Fri Nov 30 11:15:37 UTC 2007


Author: nobse
Date: 2007-11-30 11:15:36 +0000 (Fri, 30 Nov 2007)
New Revision: 1026

Modified:
   branches/sid-5.0/debian/rules
Log:
Run testsuite only once.

Modified: branches/sid-5.0/debian/rules
===================================================================
--- branches/sid-5.0/debian/rules	2007-11-29 18:21:26 UTC (rev 1025)
+++ branches/sid-5.0/debian/rules	2007-11-30 11:15:36 UTC (rev 1026)
@@ -117,9 +117,13 @@
 
 	$(MAKE) $(MAKE_J)
 
-	cd mysql-test ; \
-	/usr/bin/perl ./mysql-test-run.pl --skip-ndb
+	if [ ! -f testsuite-stamp ]; then \
+	  cd mysql-test ; \
+	  /usr/bin/perl ./mysql-test-run.pl --skip-ndb ; \
+	fi
 
+	touch testsuite-stamp
+
 	touch build-stamp
 	
 
@@ -131,6 +135,7 @@
 	dh_testroot
 	rm -f configure-stamp
 	rm -f build-stamp
+	rm -f testsuite-stamp
 	
 	-make clean
 




More information about the Pkg-mysql-commits mailing list