Skip to content

XFAIL payload_test.phpt when run with ASan #6966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/bug_47415.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Bug #47415 PDO_Firebird segfaults when passing lowercased column name to bindColumn()
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php
require 'testdb.inc';
Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/bug_48877.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
PDO_Firebird: bug 48877 The "bindValue" and "bindParam" do not work for PDO Firebird if we use named parameters (:parameter).
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php

Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/bug_53280.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
PDO_Firebird: bug 53280 segfaults if query column count is less than param count
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php

Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/bug_62024.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Bug #62024 Cannot insert second row with null using parametrized query (Firebird PDO)
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php

Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/bug_64037.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Bug #64037 Firebird return wrong value for numeric field
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php

Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/bug_72583.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
PDO_Firebird: Feature 72583 Fetch integers as php integers not as strings
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php
require 'testdb.inc';
Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/bug_72931.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
PDO_Firebird: Bug 72931 Insert returning fails on Firebird 3
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php
require 'testdb.inc';
Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/bug_73087.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
PDO_Firebird: bug 73087 segfault binding blob parameter
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php
require 'testdb.inc';
Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/bug_74462.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
PDO_Firebird: Bug #74462 Returns only NULLs for boolean fields
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php
require 'testdb.inc';
Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/bug_76488.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
PDO_Firebird: Bug #76488 Memory leak when fetching a BLOB field
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php
require 'testdb.inc';
Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/bug_77863.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
PDO_Firebird: Bug #76488 PDO Firebird does not support boolean datatype in input parameters
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php

Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/bug_aaa.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
PDO_Firebird: cursor should not be marked as opened on singleton statements
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php
require 'testdb.inc';
Expand Down
1 change: 1 addition & 0 deletions ext/pdo_firebird/tests/common.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ if (!extension_loaded('pdo_firebird')) print 'skip'; ?>
# magic auto-configuration

$config = array(
'ENV' => ['LSAN_OPTIONS' => 'detect_leaks=0'],
'TESTS' => 'ext/pdo/tests'
);

Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/connect.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
PDO_Firebird: connect/disconnect
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php
require("testdb.inc");
Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/ddl.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
PDO_Firebird: DDL/transactions
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php

Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/dialect_1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ if (strpos(getenv('PDO_FIREBIRD_TEST_DSN'), 'dialect=1')===false) {
die('skip: PDO_FIREBIRD_TEST_DSN must contain a string "dialect=1"');
}
?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php
require("testdb.inc");
Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/execute.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
PDO_Firebird: prepare/execute/binding
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php
require("testdb.inc");
Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/payload_test.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ FB payload server satisfies connection attempt
if (!extension_loaded('pdo_firebird')) die("skip pdo_firebird extension not available");
if (!extension_loaded('sockets')) die("skip sockets extension not available");
?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php
require_once "payload_server.inc";
Expand Down
2 changes: 2 additions & 0 deletions ext/pdo_firebird/tests/rowCount.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
PDO_Firebird: rowCount
--SKIPIF--
<?php require('skipif.inc'); ?>
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php

Expand Down