Skip Menu |
 

This queue is for tickets about the CGI-Session CPAN distribution.

Report information
The Basics
Id: 2221
Status: resolved
Priority: 0/
Queue: CGI-Session

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.01
  • 2.0
  • 2.1
  • 2.2
  • 2.4
  • 2.7
  • 2.9
  • 2.91
  • 2.92
  • 2.94
  • 3.1
  • 3.2
  • 3.2.2.1
  • 3.3
  • 3.4
  • 3.5
  • 3.6
  • 3.7
  • 3.8
  • 3.9
  • 3.10
  • 3.11
  • 3.91
  • 3.92
Fixed in: (no value)



Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.405 (Entity 5.404)
Subject: mysql.t needs to be automated, pgsql.t and INSTALL are missing
X-RT-Original-Encoding: iso-8859-1
Content-Length: 898
Download (untitled) / with headers
text/plain 898b
Users should not need to modify mysql.t by commenting out print "1..0\n"; exit(); and setting my %options = ( DataSource => "DBI:mysql:test", User => "test", Password => "" ); in order to run this test. This test should be skipped if DBI, DBD::mysql or DBD::mysqlPP is not available. This test should be skipped if $ENV{MYSQL_DB} is not set. If DBD::mysqlPP or DBD::mysql was loaded successfully ($mysqlLoaded should be set accordingly) and if $ENV{MYSQL_DB} is defined, this test should be run with the following %options. my %options = ( DataSource => "DBI:$mysqlLoaded:$ENV{MYSQL_DB}", User => $ENV{MYSQL_USER}, Password => $ENV{MYSQL_PASS}, ); Also, you should add a t\pgsql.t that works the same way. You should add an INSTALL file describing what ENV vars to set to make these tests run. Thanks, PodMaster
Return-Path: <sherzodr [...] handalak.com>
Delivered-To: cpan-bug+cgi-session [...] pallas.eruditorum.org
Received: from megs18.100mwh.com (megs18.100mwh.com [209.151.94.29]) by pallas.eruditorum.org (Postfix) with ESMTP id 77EAA1114B for <bug-CGI-Session [...] rt.cpan.org>; Fri, 14 Mar 2003 13:49:13 -0500 (EST)
Received: from 12-245-171-68.client.attbi.com ([12.245.171.68] helo=sherzodwgibb4u) by megs18.100mwh.com with esmtp (Exim 3.36 #1) id 18tuEz-0007Us-00 for bug-CGI-Session [...] rt.cpan.org; Fri, 14 Mar 2003 11:49:13 -0700
From: "Sherzod Ruzmetov" <sherzodr [...] handalak.com>
To: <bug-CGI-Session [...] rt.cpan.org>
Subject: RE: [cpan #2221] mysql.t needs to be automated, pgsql.t and INSTALL are missing
Date: Fri, 14 Mar 2003 13:49:19 -0500
Message-Id: <000801c2ea5a$70260010$6401a8c0 [...] sherzodwgibb4u>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-Msmail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4510
Importance: Normal
In-Reply-To: <rt-2221-5943.12.6476899298022 [...] cpan.org>
X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Antiabuse: This header was added to track abuse, please include it with any abuse report
X-Antiabuse: Primary Hostname - megs18.100mwh.com
X-Antiabuse: Original Domain - rt.cpan.org
X-Antiabuse: Originator/Caller UID/GID - [0 0] / [0 0]
X-Antiabuse: Sender Address Domain - handalak.com
RT-Send-Cc:
X-RT-Original-Encoding: us-ascii
Content-Length: 1260
Download (untitled) / with headers
text/plain 1.2k
Thanks. I'll make sure to apply your suggestions in the next release of the library. sherzod : Users should not need to modify mysql.t by commenting out : : print "1..0\n"; : exit(); : : and setting : : my %options = ( : DataSource => "DBI:mysql:test", : User => "test", : Password => "" : ); : : in order to run this test. : : This test should be skipped if : : DBI, DBD::mysql or DBD::mysqlPP is not available. : : This test should be skipped if $ENV{MYSQL_DB} is not set. : : If DBD::mysqlPP or DBD::mysql was loaded successfully : ($mysqlLoaded should be set accordingly) : and if $ENV{MYSQL_DB} is defined, : this test should be run with the following %options. : : my %options = ( : DataSource => "DBI:$mysqlLoaded:$ENV{MYSQL_DB}", : User => $ENV{MYSQL_USER}, : Password => $ENV{MYSQL_PASS}, : ); : : : Also, you should add a t\pgsql.t that works the same way. : : You should add an INSTALL file describing what ENV vars to set to : make these tests run. : : Thanks, PodMaster : : : :


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.