Обсуждение: [HACKERS] Regression output

Поиск
Список
Период
Сортировка

[HACKERS] Regression output

От
Sean Lyndersay
Дата:
When running regression tests on my system (DEC Alpha running OSF1 v4.0
Release 564), several tests fail. Some key ones include the int2 and int4,
but these are caused by changes in the error messages for certain tests.

I changed the expected files, but came up against another problem: simply
put, what is the preferred method for submitting a patch?

sean

________________________________________________________________________
Sean Lyndersay                        Time is natures way of making sure
lynders@hcs.harvard.edu                 things don't happen all at once.
________________________________________________________________________
[finger for all other info]          http://www.hcs.harvard.edu/~lynders

------------------------------

Re: [HACKERS] Regression output

От
Bruce Momjian
Дата:
>
>
> When running regression tests on my system (DEC Alpha running OSF1 v4.0
> Release 564), several tests fail. Some key ones include the int2 and int4,
> but these are caused by changes in the error messages for certain tests.
>
> I changed the expected files, but came up against another problem: simply
> put, what is the preferred method for submitting a patch?

Different math libraries return different error strings.  There really
is no way to patch it.

- --
Bruce Momjian
maillist@candle.pha.pa.us

------------------------------

Re: [HACKERS] Regression output

От
"Martin J. Laubach"
Дата:
> Different math libraries return different error strings.  There really
> is no way to patch it.

  Hmm, if that is the problem, can't we build a little program that
just produces all the error strings and stuffs them somewhere the
regression test can find them?

  Something like

    float a = MAXFLOAT + 1;
    fprintf(somewhere, "OVERFLOW = %s\n", errstr[errno]);

  and the regression test pick them up and patch their expected files?

    mjl

------------------------------