From 238a51ec6ee650a5c98c0db928ff4b4309535a15 Mon Sep 17 00:00:00 2001 From: Matteo Beccati Date: Tue, 30 Aug 2011 14:01:03 +0000 Subject: [PATCH] Fixed a few false positives on gcov for ext/pgsql --- ext/pgsql/tests/09notice.phpt | 13 +++++++++++-- ext/pgsql/tests/22pg_fetch_object.phpt | 2 +- ext/pgsql/tests/80_bug32223.phpt | 7 +++++-- ext/pgsql/tests/80_bug32223b.phpt | 7 +++++-- ext/pgsql/tests/lcmess.inc | 21 +++++++++++++++++++++ ext/pgsql/tests/skipif.inc | 1 + 6 files changed, 44 insertions(+), 7 deletions(-) create mode 100644 ext/pgsql/tests/lcmess.inc diff --git a/ext/pgsql/tests/09notice.phpt b/ext/pgsql/tests/09notice.phpt index b7611b98c1..3167069169 100644 --- a/ext/pgsql/tests/09notice.phpt +++ b/ext/pgsql/tests/09notice.phpt @@ -1,16 +1,25 @@ --TEST-- PostgreSQL notice function --SKIPIF-- - + --INI-- pgsql.log_notice=1 pgsql.ignore_notices=0 --FILE-- diff --git a/ext/pgsql/tests/skipif.inc b/ext/pgsql/tests/skipif.inc index 74b27b3ad8..7c5153e6f0 100644 --- a/ext/pgsql/tests/skipif.inc +++ b/ext/pgsql/tests/skipif.inc @@ -7,6 +7,7 @@ // database include("config.inc"); +include("lcmess.inc"); if (!extension_loaded("pgsql")) { die("skip\n"); -- 2.40.0