Removed debug option from pg_regress call.
Changed file paths in expected files too.
This commit is contained in:
parent
b1710339ba
commit
67135eb1ef
@ -1,4 +1,4 @@
|
||||
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.59 2006/08/28 16:13:11 tgl Exp $
|
||||
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.60 2006/08/29 12:33:45 meskes Exp $
|
||||
|
||||
subdir = src/interfaces/ecpg/test
|
||||
top_builddir = ../../../..
|
||||
@ -76,11 +76,11 @@ endif
|
||||
|
||||
|
||||
check: all
|
||||
sh ./pg_regress --dbname=regress1 --debug --temp-install --top-builddir=$(top_builddir) --temp-port=$(TEMP_PORT) --multibyte=$(MULTIBYTE) --load-language=plpgsql $(NOLOCALE)
|
||||
sh ./pg_regress --dbname=regress1 --temp-install --top-builddir=$(top_builddir) --temp-port=$(TEMP_PORT) --multibyte=$(MULTIBYTE) --load-language=plpgsql $(NOLOCALE)
|
||||
|
||||
# the same options, but with --listen-on-tcp
|
||||
checktcp: all
|
||||
sh ./pg_regress --dbname=regress1 --debug --temp-install --top-builddir=$(top_builddir) --temp-port=$(TEMP_PORT) --multibyte=$(MULTIBYTE) --load-language=plpgsql $(NOLOCALE) --listen-on-tcp
|
||||
sh ./pg_regress --dbname=regress1 --temp-install --top-builddir=$(top_builddir) --temp-port=$(TEMP_PORT) --multibyte=$(MULTIBYTE) --load-language=plpgsql $(NOLOCALE) --listen-on-tcp
|
||||
|
||||
installcheck: all
|
||||
sh ./pg_regress --dbname=regress1 --debug --top-builddir=$(top_builddir) --load-language=plpgsql $(NOLOCALE)
|
||||
sh ./pg_regress --dbname=regress1 --top-builddir=$(top_builddir) --load-language=plpgsql $(NOLOCALE)
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include <sqltypes.h>
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <stdlib.h>
|
||||
#
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <stdlib.h>
|
||||
#
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include "sqltypes.h"
|
||||
|
||||
|
||||
#line 1 "sqlca.h"
|
||||
#line 1 "./../../include/sqlca.h"
|
||||
#ifndef POSTGRES_SQLCA_H
|
||||
#define POSTGRES_SQLCA_H
|
||||
|
||||
@ -85,7 +85,7 @@ struct sqlca_t *ECPGget_sqlca(void);
|
||||
#line 5 "test_informix2.pgc"
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <string.h>
|
||||
|
||||
|
||||
#line 1 "header_test.h"
|
||||
#line 1 "./header_test.h"
|
||||
#include "stdlib.h"
|
||||
|
||||
static void
|
||||
@ -22,19 +22,19 @@ Finish(char *msg)
|
||||
|
||||
/* finish transaction */
|
||||
{ ECPGtrans(__LINE__, NULL, "rollback");}
|
||||
#line 10 "header_test.h"
|
||||
#line 10 "./header_test.h"
|
||||
|
||||
|
||||
/* and remove test table */
|
||||
{ ECPGdo(__LINE__, 0, 1, NULL, "drop table meskes ", ECPGt_EOIT, ECPGt_EORT);}
|
||||
#line 13 "header_test.h"
|
||||
#line 13 "./header_test.h"
|
||||
|
||||
{ ECPGtrans(__LINE__, NULL, "commit");}
|
||||
#line 14 "header_test.h"
|
||||
#line 14 "./header_test.h"
|
||||
|
||||
|
||||
{ ECPGdisconnect(__LINE__, "CURRENT");}
|
||||
#line 16 "header_test.h"
|
||||
#line 16 "./header_test.h"
|
||||
|
||||
|
||||
exit(-1);
|
||||
@ -47,16 +47,16 @@ warn(void)
|
||||
}
|
||||
|
||||
/* exec sql whenever sqlerror do Finish ( msg ) ; */
|
||||
#line 29 "header_test.h"
|
||||
#line 29 "./header_test.h"
|
||||
|
||||
/* exec sql whenever sql_warning do warn ( ) ; */
|
||||
#line 32 "header_test.h"
|
||||
#line 32 "./header_test.h"
|
||||
|
||||
|
||||
#line 4 "test2.pgc"
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
/* Test comment */
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#line 1 "header_test.h"
|
||||
#line 1 "./header_test.h"
|
||||
#include "stdlib.h"
|
||||
|
||||
static void
|
||||
@ -22,19 +22,19 @@ Finish(char *msg)
|
||||
|
||||
/* finish transaction */
|
||||
{ ECPGtrans(__LINE__, NULL, "rollback");}
|
||||
#line 10 "header_test.h"
|
||||
#line 10 "./header_test.h"
|
||||
|
||||
|
||||
/* and remove test table */
|
||||
{ ECPGdo(__LINE__, 0, 1, NULL, "drop table meskes ", ECPGt_EOIT, ECPGt_EORT);}
|
||||
#line 13 "header_test.h"
|
||||
#line 13 "./header_test.h"
|
||||
|
||||
{ ECPGtrans(__LINE__, NULL, "commit");}
|
||||
#line 14 "header_test.h"
|
||||
#line 14 "./header_test.h"
|
||||
|
||||
|
||||
{ ECPGdisconnect(__LINE__, "CURRENT");}
|
||||
#line 16 "header_test.h"
|
||||
#line 16 "./header_test.h"
|
||||
|
||||
|
||||
exit(-1);
|
||||
@ -47,16 +47,16 @@ warn(void)
|
||||
}
|
||||
|
||||
/* exec sql whenever sqlerror do Finish ( msg ) ; */
|
||||
#line 29 "header_test.h"
|
||||
#line 29 "./header_test.h"
|
||||
|
||||
/* exec sql whenever sql_warning do warn ( ) ; */
|
||||
#line 32 "header_test.h"
|
||||
#line 32 "./header_test.h"
|
||||
|
||||
|
||||
#line 4 "test3.pgc"
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
|
||||
|
||||
#line 1 "sqlca.h"
|
||||
#line 1 "./../../include/sqlca.h"
|
||||
#ifndef POSTGRES_SQLCA_H
|
||||
#define POSTGRES_SQLCA_H
|
||||
|
||||
@ -87,7 +87,7 @@ struct sqlca_t *ECPGget_sqlca(void);
|
||||
#line 7 "test4.pgc"
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#line 1 "init.pgc"
|
||||
|
||||
#line 1 "sqlca.h"
|
||||
#line 1 "./../../include/sqlca.h"
|
||||
#ifndef POSTGRES_SQLCA_H
|
||||
#define POSTGRES_SQLCA_H
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include <pgtypes_interval.h>
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <pgtypes_timestamp.h>
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <decimal.h>
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <decimal.h>
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#line 1 "code100.pgc"
|
||||
|
||||
#line 1 "sqlca.h"
|
||||
#line 1 "./../../include/sqlca.h"
|
||||
#ifndef POSTGRES_SQLCA_H
|
||||
#define POSTGRES_SQLCA_H
|
||||
|
||||
@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void);
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
#line 1 "sqlca.h"
|
||||
#line 1 "./../../include/sqlca.h"
|
||||
#ifndef POSTGRES_SQLCA_H
|
||||
#define POSTGRES_SQLCA_H
|
||||
|
||||
@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void);
|
||||
#line 3 "copystdout.pgc"
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#line 1 "define.pgc"
|
||||
|
||||
#line 1 "sqlca.h"
|
||||
#line 1 "./../../include/sqlca.h"
|
||||
#ifndef POSTGRES_SQLCA_H
|
||||
#define POSTGRES_SQLCA_H
|
||||
|
||||
@ -79,7 +79,7 @@ struct sqlca_t *ECPGget_sqlca(void);
|
||||
#line 1 "define.pgc"
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#line 1 "desc.pgc"
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#line 1 "dynalloc.pgc"
|
||||
#include <stdio.h>
|
||||
|
||||
#line 1 "sqlca.h"
|
||||
#line 1 "./../../include/sqlca.h"
|
||||
#ifndef POSTGRES_SQLCA_H
|
||||
#define POSTGRES_SQLCA_H
|
||||
|
||||
@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void);
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#line 1 "dynalloc2.pgc"
|
||||
#include <stdio.h>
|
||||
|
||||
#line 1 "sqlca.h"
|
||||
#line 1 "./../../include/sqlca.h"
|
||||
#ifndef POSTGRES_SQLCA_H
|
||||
#define POSTGRES_SQLCA_H
|
||||
|
||||
@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void);
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
#line 1 "sql3types.h"
|
||||
#line 1 "./../../include/sql3types.h"
|
||||
#ifndef _ECPG_SQL3TYPES_H
|
||||
#define _ECPG_SQL3TYPES_H
|
||||
|
||||
@ -62,7 +62,7 @@ enum
|
||||
#line 7 "dyntest.pgc"
|
||||
|
||||
|
||||
#line 1 "sqlca.h"
|
||||
#line 1 "./../../include/sqlca.h"
|
||||
#ifndef POSTGRES_SQLCA_H
|
||||
#define POSTGRES_SQLCA_H
|
||||
|
||||
@ -133,7 +133,7 @@ struct sqlca_t *ECPGget_sqlca(void);
|
||||
#line 8 "dyntest.pgc"
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <string.h>
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
#line 1 "sqlca.h"
|
||||
#line 1 "./../../include/sqlca.h"
|
||||
#ifndef POSTGRES_SQLCA_H
|
||||
#define POSTGRES_SQLCA_H
|
||||
|
||||
@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void);
|
||||
#line 3 "indicators.pgc"
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <string.h>
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <string.h>
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -26,7 +26,7 @@ main(void)
|
||||
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ main(void)
|
||||
|
||||
|
||||
|
||||
#line 1 "regression.h"
|
||||
#line 1 "./../regression.h"
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user