Author: turnstep
Date: Sat Jul 21 21:21:11 2007
New Revision: 9785
Modified:
DBD-Pg/trunk/README.dev
DBD-Pg/trunk/t/00basic.t
Log:
Mention test debugging aid, tighten it up.
Modified: DBD-Pg/trunk/README.dev
==============================================================================
--- DBD-Pg/trunk/README.dev (original)
+++ DBD-Pg/trunk/README.dev Sat Jul 21 21:21:11 2007
@@ -468,6 +468,11 @@
tag with an appropriate message if a test does not work on a particular
version of
something (see 20savepoints.t for an example).
+* When developing a new test, or just sorting out an issue with an existing
one,
+set the environment variable DBDPG_QUICKTEST to true, and the testing will
bail
+out at the start of 00basic.t. This allows you to run tests starting with 000
without
+going through all the tests.
+
=====================
== Version Numbers ==
@@ -555,7 +560,7 @@
* Update the Changes file
-The best way to do this (other than doing it as you go along) is to check the
cvs logs.
+The best way to do this (other than doing it as you go along) is to check the
subversion logs.
For example, to grab all changes made since revision 1.43 and save it to a
file:
cvs log -rRel-1_43: * > all_logs.tmp
Modified: DBD-Pg/trunk/t/00basic.t
==============================================================================
--- DBD-Pg/trunk/t/00basic.t (original)
+++ DBD-Pg/trunk/t/00basic.t Sat Jul 21 21:21:11 2007
@@ -7,7 +7,7 @@
use strict;
## For quick testing, put new tests as 000xxx.t and set this:
-if (exists $ENV{DBDPG_QUICKTEST}) {
+if (exists $ENV{DBDPG_QUICKTEST} and $ENV{DBDPG_QUICKTEST}) {
BAIL_OUT "Stopping due to DBDPG_QUICKTEST being set";
}