Re: pg_regress breaks on msys - Mailing list pgsql-hackers

From Hiroshi Saito
Subject Re: pg_regress breaks on msys
Date
Msg-id 040a01c6abc8$8ae65e80$4443010a@wiseknot.local
Whole thread Raw
In response to pg_regress breaks on msys  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: pg_regress breaks on msys  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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@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






pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] 8.2 features?
Next
From: Reini Urban
Date:
Subject: Re: float8 regression failure (HEAD, cygwin)