diff options
author | Josh Hoyt <josh@janrain.com> | 2006-09-27 00:06:03 +0000 |
---|---|---|
committer | Josh Hoyt <josh@janrain.com> | 2006-09-27 00:06:03 +0000 |
commit | 3beae217546e796e585f20df36485669e8b90aed (patch) | |
tree | 08bd3ca932a3562e85da978bc521764152a87d60 /Tests/Auth/OpenID/StoreTest.php | |
parent | 06a318aac02fc0285a596d366585629d7a466529 (diff) | |
download | php-openid-3beae217546e796e585f20df36485669e8b90aed.zip php-openid-3beae217546e796e585f20df36485669e8b90aed.tar.gz php-openid-3beae217546e796e585f20df36485669e8b90aed.tar.bz2 |
[project @ Make the tests try to load the Windows versions of the sqlite and Postgres extensions]
Diffstat (limited to 'Tests/Auth/OpenID/StoreTest.php')
-rw-r--r-- | Tests/Auth/OpenID/StoreTest.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Tests/Auth/OpenID/StoreTest.php b/Tests/Auth/OpenID/StoreTest.php index e27b726..7f8fb44 100644 --- a/Tests/Auth/OpenID/StoreTest.php +++ b/Tests/Auth/OpenID/StoreTest.php @@ -363,7 +363,8 @@ explicitly'); // If the postgres extension isn't loaded or loadable, succeed // because we can't run the test. if (!(extension_loaded('pgsql') || - @dl('pgsql.' . PHP_SHLIB_SUFFIX))) { + @dl('pgsql.so') || + @dl('php_pgsql.dll'))) { print "Warning: not testing PostGreSQL store"; $this->pass(); return; @@ -473,7 +474,8 @@ explicitly'); // If the postgres extension isn't loaded or loadable, succeed // because we can't run the test. if (!(extension_loaded('sqlite') || - @dl('sqlite.' . PHP_SHLIB_SUFFIX))) { + @dl('sqlite.so') || + @dl('php_sqlite.dll'))) { print "Warning: not testing SQLite store"; $this->pass(); return; |