Skip to content

Commit 4030a00

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: Disable LSan for all PDO_Firebird tests
2 parents c94bb37 + b300c6b commit 4030a00

22 files changed

+43
-0
lines changed

ext/pdo_firebird/tests/bug_47415.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Bug #47415 PDO_Firebird segfaults when passing lowercased column name to bindColumn()
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79
require 'testdb.inc';

ext/pdo_firebird/tests/bug_48877.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
PDO_Firebird: bug 48877 The "bindValue" and "bindParam" do not work for PDO Firebird if we use named parameters (:parameter).
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79

ext/pdo_firebird/tests/bug_53280.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
PDO_Firebird: bug 53280 segfaults if query column count is less than param count
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79

ext/pdo_firebird/tests/bug_62024.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Bug #62024 Cannot insert second row with null using parametrized query (Firebird PDO)
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79

ext/pdo_firebird/tests/bug_64037.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Bug #64037 Firebird return wrong value for numeric field
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79

ext/pdo_firebird/tests/bug_72583.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
PDO_Firebird: Feature 72583 Fetch integers as php integers not as strings
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79
require 'testdb.inc';

ext/pdo_firebird/tests/bug_72931.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
PDO_Firebird: Bug 72931 Insert returning fails on Firebird 3
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79
require 'testdb.inc';

ext/pdo_firebird/tests/bug_73087.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
PDO_Firebird: bug 73087 segfault binding blob parameter
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79
require 'testdb.inc';

ext/pdo_firebird/tests/bug_74462.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
PDO_Firebird: Bug #74462 Returns only NULLs for boolean fields
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79
require 'testdb.inc';

ext/pdo_firebird/tests/bug_76488.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
PDO_Firebird: Bug #76488 Memory leak when fetching a BLOB field
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79
require 'testdb.inc';

ext/pdo_firebird/tests/bug_77863.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
PDO_Firebird: Bug #76488 PDO Firebird does not support boolean datatype in input parameters
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79

ext/pdo_firebird/tests/bug_80521.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Bug #80521 (Parameters with underscores no longer recognized)
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79
require 'testdb.inc';

ext/pdo_firebird/tests/bug_aaa.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
PDO_Firebird: cursor should not be marked as opened on singleton statements
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79
require 'testdb.inc';

ext/pdo_firebird/tests/common.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ if (!extension_loaded('pdo_firebird')) print 'skip'; ?>
77
# magic auto-configuration
88

99
$config = array(
10+
'ENV' => ['LSAN_OPTIONS' => 'detect_leaks=0'],
1011
'TESTS' => 'ext/pdo/tests'
1112
);
1213

ext/pdo_firebird/tests/connect.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
PDO_Firebird: connect/disconnect
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79
require("testdb.inc");

ext/pdo_firebird/tests/ddl.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
PDO_Firebird: DDL/transactions
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79

ext/pdo_firebird/tests/dialect_1.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ if (strpos(getenv('PDO_FIREBIRD_TEST_DSN'), 'dialect=1')===false) {
66
die('skip: PDO_FIREBIRD_TEST_DSN must contain a string "dialect=1"');
77
}
88
?>
9+
--ENV--
10+
LSAN_OPTIONS=detect_leaks=0
911
--FILE--
1012
<?php
1113
require("testdb.inc");

ext/pdo_firebird/tests/execute.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
PDO_Firebird: prepare/execute/binding
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79
require("testdb.inc");

ext/pdo_firebird/tests/execute_block.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ PDO_Firebird: support EXECUTE BLOCK
33
--SKIPIF--
44
<?php require('skipif.inc');
55
?>
6+
--ENV--
7+
LSAN_OPTIONS=detect_leaks=0
68
--FILE--
79
<?php
810
require("testdb.inc");

ext/pdo_firebird/tests/ignore_parammarks.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ PDO_Firebird: ingnore parameter marks in comments
33
--SKIPIF--
44
<?php require('skipif.inc');
55
?>
6+
--ENV--
7+
LSAN_OPTIONS=detect_leaks=0
68
--FILE--
79
<?php
810
require("testdb.inc");

ext/pdo_firebird/tests/payload_test.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ FB payload server satisfies connection attempt
55
if (!extension_loaded('pdo_firebird')) die("skip pdo_firebird extension not available");
66
if (!extension_loaded('sockets')) die("skip sockets extension not available");
77
?>
8+
--ENV--
9+
LSAN_OPTIONS=detect_leaks=0
810
--FILE--
911
<?php
1012
require_once "payload_server.inc";

ext/pdo_firebird/tests/rowCount.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
PDO_Firebird: rowCount
33
--SKIPIF--
44
<?php require('skipif.inc'); ?>
5+
--ENV--
6+
LSAN_OPTIONS=detect_leaks=0
57
--FILE--
68
<?php
79

0 commit comments

Comments
 (0)