[Rt-commit] r7844 - in rt/branches/3.7-EXPERIMENTAL-TUNIS: lib/RT sbin

clkao at bestpractical.com clkao at bestpractical.com
Sun May 13 07:36:46 EDT 2007


Author: clkao
Date: Sun May 13 07:36:42 2007
New Revision: 7844

Removed:
   rt/branches/3.7-EXPERIMENTAL-TUNIS/sbin/extract_pod_tests
Modified:
   rt/branches/3.7-EXPERIMENTAL-TUNIS/Makefile.in
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/StyleGuide.pod

Log:
Retire Test::Inline.


Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/Makefile.in
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/Makefile.in	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/Makefile.in	Sun May 13 07:36:42 2007
@@ -358,7 +358,7 @@
 regression-install: config-install
 	$(PERL) -pi -e 's/Set\(\$$DatabaseName.*\);/Set\(\$$DatabaseName, "rt3regression"\);/' $(DESTDIR)/$(CONFIG_FILE)
 
-regression: regression-install dirs files-install libs-install sbin-install bin-install regression-instruct regression-reset-db testify-pods fixperms apachectl run-regression
+regression: regression-install dirs files-install libs-install sbin-install bin-install regression-instruct regression-reset-db fixperms apachectl run-regression
 
 run-regression:
 	prove -I$(LOCAL_LIB_PATH) -Ilib lib/t/setup_regression.t  lib/t/autogen/ lib/t/regression/
@@ -367,9 +367,9 @@
 	PERL5OPT=-MDevel::Cover prove -I$(LOCAL_LIB_PATH) -Ilib lib/t/setup_regression.t  lib/t/autogen/ lib/t/regression/
 
 
-regression-noapache: regression-install dirs files-install libs-install sbin-install bin-install regression-instruct regression-reset-db  testify-pods fixperms start-httpd  run-regression
+regression-noapache: regression-install dirs files-install libs-install sbin-install bin-install regression-instruct regression-reset-db fixperms start-httpd  run-regression
 
-regression-cover: regression-install dirs files-install libs-install sbin-install bin-install regression-instruct regression-reset-db  testify-pods fixperms start-httpd  run-cover-regression
+regression-cover: regression-install dirs files-install libs-install sbin-install bin-install regression-instruct regression-reset-db fixperms start-httpd  run-cover-regression
 
 regression-quiet:
 	$(PERL) sbin/regression_harness
@@ -476,18 +476,6 @@
 
 # {{{ Best Practical Build targets -- no user servicable parts inside
 
-
-POD2TEST_EXE = sbin/extract_pod_tests
-
-testify-pods:
-	[ -d lib/t/autogen ] || mkdir lib/t/autogen
-	find lib -name \*pm |grep -v .svn | grep -v \*.in |xargs -n 1 $(PERL) $(POD2TEST_EXE)
-	find bin -type f |grep -v .svn | grep -v \~ | grep -v "\.in" | xargs -n 1 $(PERL) $(POD2TEST_EXE)
-	find lib -name \*pm |grep -v .svn | grep -v \*.in |xargs -n 1 $(PERL) $(POD2TEST_EXE)
-	find bin -type f |grep -v .svn | grep -v \~ | grep -v "\.in" | xargs -n 1 $(PERL) $(POD2TEST_EXE)
-
-
-
 regenerate-catalogs:
 	$(PERL) sbin/extract-message-catalog
 

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/StyleGuide.pod
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/StyleGuide.pod	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/StyleGuide.pod	Sun May 13 07:36:42 2007
@@ -264,20 +264,14 @@
 =head2 Tests
 
 Modules should provide test code, with documentation on how to use
-it. Test::Inline allows tests to be embedded in code. Test::More makes it 
-easy to create tests. Any code you write should have a testsuite.
-Any code you alter should have a test suite. If a patch comes in without
-tests, there is something wrong.
-
-When altering code, you must run the test harness before submitting a patch
-or committing code to the repository. 
-
-"make regression" will extract inline tests, blow away the system database
-and run the test suite.
-
-"make regression-quiet" will do all that and not print the "ok" lines.
+it.  Test::More makes it easy to create tests. Any code you write
+should have a testsuite.  Any code you alter should have a test
+suite. If a patch comes in without tests, there is something wrong.
 
+When altering code, you must run the test harness before submitting a
+patch or committing code to the repository.
 
+"make test" will run the test suite.
 
 =head2 STDIN/STDOUT
 


More information about the Rt-commit mailing list