Skip site navigation (1) Skip section navigation (2)

plperl tests for currently untested features

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: plperl tests for currently untested features
Date: 2005-05-23 22:16:28
Message-ID: 4292563C.809@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-patches
continuing my quest for better testing ... ;-)

The current plperl regression tests do not test the trigger or shared 
data features. The attached new files remedy that:

sql/plperl_trigger.sql
sql/plperl_shared.sql
expected/plperl_trigger.out
expected/plperl_shared.out

The corresponding patch for GNUmakefile is below

Is it worth supplying a more descriptive name to the current plperl.sql 
test script?

cheers

andrew

Index: GNUmakefile
===================================================================
RCS file: /projects/cvsroot/pgsql/src/pl/plperl/GNUmakefile,v
retrieving revision 1.20
diff -c -r1.20 GNUmakefile
*** GNUmakefile 17 May 2005 18:26:22 -0000      1.20
--- GNUmakefile 23 May 2005 22:08:07 -0000
***************
*** 37,43 ****
  SHLIB_LINK = $(perl_embed_ldflags) $(BE_DLLLIBS)
 
  REGRESS_OPTS = --dbname=$(PL_TESTDB) --load-language=plperl
! REGRESS = plperl
 
  include $(top_srcdir)/src/Makefile.shlib
 
--- 37,43 ----
  SHLIB_LINK = $(perl_embed_ldflags) $(BE_DLLLIBS)
 
  REGRESS_OPTS = --dbname=$(PL_TESTDB) --load-language=plperl
! REGRESS = plperl plperl_trigger plperl_shared
 
  include $(top_srcdir)/src/Makefile.shlib
 


Attachment: plperl_trigger.out
Description: text/plain (2.0 KB)
Attachment: plperl_shared.out
Description: text/plain (405 bytes)
Attachment: plperl_trigger.sql
Description: text/x-sql (1.5 KB)
Attachment: plperl_shared.sql
Description: text/x-sql (349 bytes)

Responses

pgsql-patches by date

Next:From: Tatsuo IshiiDate: 2005-05-23 22:51:42
Subject: Re: [PATCHES] character type value is not padded with spaces
Previous:From: Joe ConwayDate: 2005-05-23 20:04:50
Subject: Re: ARRAY() returning NULL instead of ARRAY[] resp. {}

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group