Re: pg_regress breaks on msys

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_regress breaks on msys
Date: 2006-07-20 06:48:43
Message-ID: 040a01c6abc8$8ae65e80$4443010a@wiseknot.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Hi Tom-san.

This is very strange.!!

$ make -s
In file included from preproc.y:6668:
pgc.c: In function `yylex':
pgc.c:1539: warning: label `find_rule' defined but not used
C:/MinGW/include/ctype.h: At top level:
pgc.c:3724: warning: `yy_flex_realloc' defined but not used
initdb.c: In function `locale_date_order':
initdb.c:2163: warning: `%x' yields only last 2 digits of year in some locales
pg_backup_tar.c: In function `_tarAddFile':
pg_backup_tar.c:1052: warning: comparison is always false due to limited range of data type
All of PostgreSQL successfully made. Ready to install.

$ make check
make -C ../../../src/port all
make[1]: Entering directory `/home/hi-saito/postgresql-8.2devel-20060720/src/port'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/hi-saito/postgresql-8.2devel-20060720/src/port'
make -C ../../../contrib/spi refint.dll autoinc.dll
make[1]: Entering directory `/home/hi-saito/postgresql-8.2devel-20060720/contrib/spi'
make[1]: `refint.dll' is up to date.
make[1]: `autoinc.dll' is up to date.
make[1]: Leaving directory `/home/hi-saito/postgresql-8.2devel-20060720/contrib/spi'
rm -rf ./testtablespace
mkdir ./testtablespace
./pg_regress --temp-install=./tmp_check --top-builddir=../../.. --temp-port=55432 --schedule=./parallel_schedule
--multibyte=SQL_ASCII --load-language=plpgsql
============== creating temporary installation ==============
============== initializing database system ==============
============== starting postmaster ==============
running on port 55432 with pid 1964
============== creating database "regression" ==============
CREATE DATABASE
ALTER DATABASE
============== installing plpgsql ==============
CREATE LANGUAGE
============== running regression test queries ==============
parallel group (13 tests): text oid varchar char name float4 int2 boolean int8 int4 float8 bit
numeric
boolean ... ok
char ... diff command failed with status 1: "diff -w "./expected/char.out"
"./results/char.out" >"./results/char.diff""
server stopped
make: *** [check] Error 2

However,
$ ls -l results/char.diff
ls: results/char.diff: No such file or directory

Ummmmm
$ diff -w "./expected/char.out" "./results/char.out"
66d65
< | A
71c70
< (5 rows)
---
> (4 rows)
79d77
< | A
84c82
< (6 rows)
---
> (5 rows)
90a89
> | A
92c91
< (1 row)
---
> (2 rows)
99a99
> | A
101c101
< (2 rows)
---
> (3 rows)

$ diff -w "./expected/char.out" "./results/char.out" >"./results/char.diff"

$ ls -l results/char.diff
-rw-r--r-- 1 hi-saito pgsql 204 Jul 20 15:23 results/char.diff

hi-saito(at)SJ157 ~/postgresql-8.2devel-20060720/src/test/regress
$ cat results/char.diff
66d65
< | A
71c70
< (5 rows)
---
> (4 rows)
79d77
< | A
84c82
< (6 rows)
---
> (5 rows)
90a89
> | A
92c91
< (1 row)
---
> (2 rows)
99a99
> | A
101c101
< (2 rows)
---
> (3 rows)

Futhermore, tracking is required.....

Regards,
Hiroshi Saito

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Reini Urban 2006-07-20 07:25:41 Re: float8 regression failure (HEAD, cygwin)
Previous Message Tom Lane 2006-07-20 05:39:31 Re: [PATCHES] 8.2 features?

Browse pgsql-patches by date

  From Date Subject
Next Message Reini Urban 2006-07-20 07:25:41 Re: float8 regression failure (HEAD, cygwin)
Previous Message Tom Lane 2006-07-20 05:39:31 Re: [PATCHES] 8.2 features?