Commit Graph

9 Commits

Author SHA1 Message Date
Ulf Wendel
96c63a378e Looks more than it is. Its whitespace, adding error handling in a few places,
changing SQL statement formatting etc. No "real" changes.
2008-01-08 12:43:08 +00:00
Ulf Wendel
1855a57471 Introducing new environment variable:
MYSQL_TEST_SKIP_CONNECT_FAILURE = false

Every test that needs a working MySQL connection now includes
skipifconnectfailure.inc. If MYSQL_TEST_SKIP_CONNECT_FAILURE evaluates
to true skipifconnectfailure.inc tries to establish a database
connection. If no connection can be opened, the test will be skipped.
In case of MYSQL_TEST_SKIP_CONNECT_FAILURE = false (default) an no
connection, a test who cannot establish a connection will fail.

So, if you have a buggy configuration or a server that is sometimes
not available, you can now decide if you want the tests to ignore this
and skip the test or to fail (MYSQL_TEST_CONNECT_FAILURE = false, default).

Other, minor tweaks:
  042.phpt - whitespace
  067.phpt - parse error in SKIPIF section fixed
2007-08-09 08:41:12 +00:00
Ulf Wendel
202ba6c5fe Next 10 in row to be tweaked:
- take connection parameter from connect.inc
   - use proper UEXPECTF
   - have 'print "done!"' or similar at the end to detect crashes
   - whitespace changes where needed
   - take care of portability: PHP 5 vs. PHP 5, MySQL 4.1 - 6.0
   - understand return value checking as sometime that makes you type
     more when you write but makes you happy when you debug
2007-07-12 20:42:48 +00:00
Ilia Alshanetsky
3cf509ab75 MFB: Added possible failure note. 2006-07-18 00:09:21 +00:00
Andrey Hristov
94dffc55ac bring tests up-to-date with 5_1 branch
#few are failing and will stop failing when bugfixes are upmerged from 5_1
2006-01-04 23:04:06 +00:00
Georg Richter
6d27573ec2 added skipif section 2004-12-04 08:50:33 +00:00
Georg Richter
9751d9afaa Fixed bug #30890 (testsuite)
Fixed bug #28817 (property problems in extended class)
2004-12-04 08:16:04 +00:00
Georg Richter
192fb9095e changed tests (ysqli_bind_param and mysql_bind_result changes) 2003-06-28 21:30:58 +00:00
Georg Richter
ff8f0eb7da adding a few tests 2003-02-12 00:46:29 +00:00