svn commit: samba r24880 - in branches/3.2-perltest: . source

jelmer at samba.org jelmer at samba.org
Sun Sep 2 01:10:25 GMT 2007


Author: jelmer
Date: 2007-09-02 01:10:22 +0000 (Sun, 02 Sep 2007)
New Revision: 24880

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24880

Log:
Add 'make testenv'
Modified:
   branches/3.2-perltest/
   branches/3.2-perltest/source/Makefile.in


Changeset:

Property changes on: branches/3.2-perltest
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:file-ids
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/3.2-perltest/source/Makefile.in
===================================================================
--- branches/3.2-perltest/source/Makefile.in	2007-09-02 00:32:57 UTC (rev 24879)
+++ branches/3.2-perltest/source/Makefile.in	2007-09-02 01:10:22 UTC (rev 24880)
@@ -2087,22 +2087,27 @@
 	done
 
 
-SELFTEST_ARGS=--prefix=${selftest_prefix}/st --srcdir="${samba4srcdir}" --bindir=${builddir}/bin \
-			  --expected-failures=samba3-knownfail --target=samba3 --skip=samba3-skip
+SELFTEST = $(PERL) $(samba4srcdir)/selftest/selftest.pl --prefix=${selftest_prefix}/st \
+		   --srcdir="${samba4srcdir}" --bindir=${builddir}/bin \
+		   --expected-failures=samba3-knownfail --target=samba3 --skip=samba3-skip
 ##
 ## Targets for 'make test'
 ##
 test: all torture timelimit
 	@echo Running Test suite
-	@$(PERL) $(samba4srcdir)/selftest/selftest.pl $(SELFTEST_ARGS) --socket-wrapper $(TESTS)
+	@$(SELFTEST) --socket-wrapper $(TESTS)
 
 htmltest: all torture timelimit
 	@echo Running Test suite
-	@$(PERL) $(samba4srcdir)/selftest/selftest.pl $(SELFTEST_ARGS) --socket-wrapper --format=html $(TESTS)
+	@$(SELFTEST) --socket-wrapper --format=html $(TESTS)
 
 valgrindtest: all torture timelimit
 	@echo Running Test suite with valgrind
 	@NMBD_VALGRIND="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
 	 SMBD_VALGRIND="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
 	 VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/st/valgrind.log" \
-	 $(PERL) $(samba4srcdir)/selftest/selftest.pl $(SELFTEST_ARGS) --socket-wrapper
+	 $$(SELFTEST) --socket-wrapper
+
+testenv: everything
+	$(SELFTEST) --socket-wrapper --testenv
+



More information about the samba-cvs mailing list