Commit 67135eb1 authored by Michael Meskes's avatar Michael Meskes

Removed debug option from pg_regress call.

Changed file paths in expected files too.
parent b1710339
# $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 subdir = src/interfaces/ecpg/test
top_builddir = ../../../.. top_builddir = ../../../..
...@@ -76,11 +76,11 @@ endif ...@@ -76,11 +76,11 @@ endif
check: all 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 # the same options, but with --listen-on-tcp
checktcp: all 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 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 @@ ...@@ -17,7 +17,7 @@
#include <sqltypes.h> #include <sqltypes.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <stdlib.h> #include <stdlib.h>
# #
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <stdlib.h> #include <stdlib.h>
# #
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "sqltypes.h" #include "sqltypes.h"
#line 1 "sqlca.h" #line 1 "./../../include/sqlca.h"
#ifndef POSTGRES_SQLCA_H #ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H #define POSTGRES_SQLCA_H
...@@ -85,7 +85,7 @@ struct sqlca_t *ECPGget_sqlca(void); ...@@ -85,7 +85,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#line 5 "test_informix2.pgc" #line 5 "test_informix2.pgc"
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <stdio.h> #include <stdio.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <string.h> #include <string.h>
#line 1 "header_test.h" #line 1 "./header_test.h"
#include "stdlib.h" #include "stdlib.h"
static void static void
...@@ -22,19 +22,19 @@ Finish(char *msg) ...@@ -22,19 +22,19 @@ Finish(char *msg)
/* finish transaction */ /* finish transaction */
{ ECPGtrans(__LINE__, NULL, "rollback");} { ECPGtrans(__LINE__, NULL, "rollback");}
#line 10 "header_test.h" #line 10 "./header_test.h"
/* and remove test table */ /* and remove test table */
{ ECPGdo(__LINE__, 0, 1, NULL, "drop table meskes ", ECPGt_EOIT, ECPGt_EORT);} { 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");} { ECPGtrans(__LINE__, NULL, "commit");}
#line 14 "header_test.h" #line 14 "./header_test.h"
{ ECPGdisconnect(__LINE__, "CURRENT");} { ECPGdisconnect(__LINE__, "CURRENT");}
#line 16 "header_test.h" #line 16 "./header_test.h"
exit(-1); exit(-1);
...@@ -47,16 +47,16 @@ warn(void) ...@@ -47,16 +47,16 @@ warn(void)
} }
/* exec sql whenever sqlerror do Finish ( msg ) ; */ /* exec sql whenever sqlerror do Finish ( msg ) ; */
#line 29 "header_test.h" #line 29 "./header_test.h"
/* exec sql whenever sql_warning do warn ( ) ; */ /* exec sql whenever sql_warning do warn ( ) ; */
#line 32 "header_test.h" #line 32 "./header_test.h"
#line 4 "test2.pgc" #line 4 "test2.pgc"
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
/* Test comment */ /* Test comment */
/*--------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------*/
#line 1 "header_test.h" #line 1 "./header_test.h"
#include "stdlib.h" #include "stdlib.h"
static void static void
...@@ -22,19 +22,19 @@ Finish(char *msg) ...@@ -22,19 +22,19 @@ Finish(char *msg)
/* finish transaction */ /* finish transaction */
{ ECPGtrans(__LINE__, NULL, "rollback");} { ECPGtrans(__LINE__, NULL, "rollback");}
#line 10 "header_test.h" #line 10 "./header_test.h"
/* and remove test table */ /* and remove test table */
{ ECPGdo(__LINE__, 0, 1, NULL, "drop table meskes ", ECPGt_EOIT, ECPGt_EORT);} { 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");} { ECPGtrans(__LINE__, NULL, "commit");}
#line 14 "header_test.h" #line 14 "./header_test.h"
{ ECPGdisconnect(__LINE__, "CURRENT");} { ECPGdisconnect(__LINE__, "CURRENT");}
#line 16 "header_test.h" #line 16 "./header_test.h"
exit(-1); exit(-1);
...@@ -47,16 +47,16 @@ warn(void) ...@@ -47,16 +47,16 @@ warn(void)
} }
/* exec sql whenever sqlerror do Finish ( msg ) ; */ /* exec sql whenever sqlerror do Finish ( msg ) ; */
#line 29 "header_test.h" #line 29 "./header_test.h"
/* exec sql whenever sql_warning do warn ( ) ; */ /* exec sql whenever sql_warning do warn ( ) ; */
#line 32 "header_test.h" #line 32 "./header_test.h"
#line 4 "test3.pgc" #line 4 "test3.pgc"
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#line 1 "sqlca.h" #line 1 "./../../include/sqlca.h"
#ifndef POSTGRES_SQLCA_H #ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H #define POSTGRES_SQLCA_H
...@@ -87,7 +87,7 @@ struct sqlca_t *ECPGget_sqlca(void); ...@@ -87,7 +87,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#line 7 "test4.pgc" #line 7 "test4.pgc"
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <stdlib.h> #include <stdlib.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <stdio.h> #include <stdio.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <stdio.h> #include <stdio.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <stdio.h> #include <stdio.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#line 1 "init.pgc" #line 1 "init.pgc"
#line 1 "sqlca.h" #line 1 "./../../include/sqlca.h"
#ifndef POSTGRES_SQLCA_H #ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H #define POSTGRES_SQLCA_H
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include <pgtypes_interval.h> #include <pgtypes_interval.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include <pgtypes_timestamp.h> #include <pgtypes_timestamp.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <decimal.h> #include <decimal.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include <decimal.h> #include <decimal.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#line 1 "code100.pgc" #line 1 "code100.pgc"
#line 1 "sqlca.h" #line 1 "./../../include/sqlca.h"
#ifndef POSTGRES_SQLCA_H #ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H #define POSTGRES_SQLCA_H
...@@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void); ...@@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#include <stdio.h> #include <stdio.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <stdio.h> #include <stdio.h>
#line 1 "sqlca.h" #line 1 "./../../include/sqlca.h"
#ifndef POSTGRES_SQLCA_H #ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H #define POSTGRES_SQLCA_H
...@@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void); ...@@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#line 3 "copystdout.pgc" #line 3 "copystdout.pgc"
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#line 1 "define.pgc" #line 1 "define.pgc"
#line 1 "sqlca.h" #line 1 "./../../include/sqlca.h"
#ifndef POSTGRES_SQLCA_H #ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H #define POSTGRES_SQLCA_H
...@@ -79,7 +79,7 @@ struct sqlca_t *ECPGget_sqlca(void); ...@@ -79,7 +79,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#line 1 "define.pgc" #line 1 "define.pgc"
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#line 1 "desc.pgc" #line 1 "desc.pgc"
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#line 1 "dynalloc.pgc" #line 1 "dynalloc.pgc"
#include <stdio.h> #include <stdio.h>
#line 1 "sqlca.h" #line 1 "./../../include/sqlca.h"
#ifndef POSTGRES_SQLCA_H #ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H #define POSTGRES_SQLCA_H
...@@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void); ...@@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#include <stdlib.h> #include <stdlib.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#line 1 "dynalloc2.pgc" #line 1 "dynalloc2.pgc"
#include <stdio.h> #include <stdio.h>
#line 1 "sqlca.h" #line 1 "./../../include/sqlca.h"
#ifndef POSTGRES_SQLCA_H #ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H #define POSTGRES_SQLCA_H
...@@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void); ...@@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#include <stdlib.h> #include <stdlib.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include <stdlib.h> #include <stdlib.h>
#line 1 "sql3types.h" #line 1 "./../../include/sql3types.h"
#ifndef _ECPG_SQL3TYPES_H #ifndef _ECPG_SQL3TYPES_H
#define _ECPG_SQL3TYPES_H #define _ECPG_SQL3TYPES_H
...@@ -62,7 +62,7 @@ enum ...@@ -62,7 +62,7 @@ enum
#line 7 "dyntest.pgc" #line 7 "dyntest.pgc"
#line 1 "sqlca.h" #line 1 "./../../include/sqlca.h"
#ifndef POSTGRES_SQLCA_H #ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H #define POSTGRES_SQLCA_H
...@@ -133,7 +133,7 @@ struct sqlca_t *ECPGget_sqlca(void); ...@@ -133,7 +133,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#line 8 "dyntest.pgc" #line 8 "dyntest.pgc"
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <string.h> #include <string.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <stdio.h> #include <stdio.h>
#line 1 "sqlca.h" #line 1 "./../../include/sqlca.h"
#ifndef POSTGRES_SQLCA_H #ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H #define POSTGRES_SQLCA_H
...@@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void); ...@@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#line 3 "indicators.pgc" #line 3 "indicators.pgc"
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <string.h> #include <string.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <string.h> #include <string.h>
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -26,7 +26,7 @@ main(void) ...@@ -26,7 +26,7 @@ main(void)
#line 1 "regression.h" #line 1 "./../regression.h"
......
...@@ -27,7 +27,7 @@ main(void) ...@@ -27,7 +27,7 @@ main(void)
#line 1 "regression.h" #line 1 "./../regression.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment