From 02d0f7259643c401bec412d447a5aaa4aee76d40 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Mon, 9 May 2005 16:23:22 +0000 Subject: [PATCH] also test shared builds --- ext/mysqli/tests/connect.inc | 3 +++ ext/mysqli/tests/skipif.inc | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ext/mysqli/tests/connect.inc b/ext/mysqli/tests/connect.inc index dfd8ccc3159..138a7902c4f 100644 --- a/ext/mysqli/tests/connect.inc +++ b/ext/mysqli/tests/connect.inc @@ -2,6 +2,9 @@ /* default values are localhost, root and empty password Change the values if you use another configuration */ + if (!extension_loaded('mysqli')) { + @dl('mysqli.so'); + } $driver = new mysqli_driver; diff --git a/ext/mysqli/tests/skipif.inc b/ext/mysqli/tests/skipif.inc index 68a9c7cf0ec..155a79f4fb1 100644 --- a/ext/mysqli/tests/skipif.inc +++ b/ext/mysqli/tests/skipif.inc @@ -1,4 +1,8 @@