Commit Graph

7 Commits

Author SHA1 Message Date
Ulf Wendel
210353caee Using require[_once] instead of include. Adding logic to connect.inc to detect multiple inclusions of connect.inc which leads to a Fatal error because of my_mysqli_connect() function redefinition. Some tests did include connect.inc twice -> run-tests - even the one from trunk - did not detect Fatal error in SKIPIF -> false-positive test result... 2009-10-19 20:07:25 +00:00
Ulf Wendel
85cb084fc5 1) Changing EXPECT[F] sections to work with PHP 5.3 and PHP 6. 2) Merging a couple of fixes I applied to PHP 5.3 only yesterday. The changes should make it a little easier to do MFH and follow the rules in the future as we will soon have identical tests for PHP 5_3 and HEAD. 2009-05-28 14:11:41 +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
b6cc61737f Will this never end?
- connection parameter tweaking
   - a bit of whitespace here and there
   - use UEXPECTF if need be
2007-07-12 20:57:30 +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
19a9b4f310 new test (class which extends mysqli. currently this test fails :( ) 2003-02-18 00:42:38 +00:00