Re: [GENERAL] Running TAP regression tests under windows/msvc

Поиск
Список
Период
Сортировка
От Mark Dilger
Тема Re: [GENERAL] Running TAP regression tests under windows/msvc
Дата
Msg-id 48F192AE-5D63-4C14-BCF4-07A95644ADF9@gmail.com
обсуждение исходный текст
Ответ на [GENERAL] Running TAP regression tests under windows/msvc  (Mark Dilger <hornschnorter@gmail.com>)
Ответы Re: [GENERAL] Running TAP regression tests under windows/msvc  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-general
> On Mar 7, 2017, at 12:24 PM, Mark Dilger <hornschnorter@gmail.com> wrote:
>
> Hello,
>
> I am attempting to get the tap tests working under windows so as to
> help review patches for the 10.0 development cycle.  I can compile
> the sources on windows 2008 using the MS Visual C and run the
>
>     vcregress.bat check
>
> without any problems or failures.  In an attempt to run the tap tests,
> I have edited config_default.pl as follows:
>
> diff --git a/src/tools/msvc/config_default.pl b/src/tools/msvc/config_default.pl
> index 97f1af8..1e7b19d 100644
> --- a/src/tools/msvc/config_default.pl
> +++ b/src/tools/msvc/config_default.pl
> @@ -16,7 +16,7 @@ our $config = {
>        extraver  => undef,    # --with-extra-version=<string>
>        gss       => undef,    # --with-gssapi=<path>
>        nls       => undef,    # --enable-nls=<path>
> -       tap_tests => undef,    # --enable-tap-tests
> +       tap_tests => 1,        # --enable-tap-tests
>        tcl       => undef,    # --with-tls=<path>
>        perl      => undef,    # --with-perl
>        python    => undef,    # --with-python=<path>
>
> and when I run
>
>     vcregress.bat bincheck
>
> I get a few failures.  Am I doing something wrong, or are these failures
> the same for other folks?  A portion of the log of the regressions follows:

I added a bit of debugging logic to PostgresNode.pm, to print out the
name of the log file being grep'd and the size of that file, and it seems
in these cases the log file is of size zero (empty).

not ok 10 - SQL CLUSTER run: SQL found in server log
c:/jenkins/workspace/unicorns/postgresql/src/bin/scripts/tmp_check/log/010_clusterdb_main.log,length 0 
ok 11 - fails with nonexistent table
ok 12 - clusterdb -t test1 exit code 0
not ok 13 - cluster specific table: SQL found in server log
c:/jenkins/workspace/unicorns/postgresql/src/bin/scripts/tmp_check/log/010_clusterdb_main.log,length 0 
ok 14 - clusterdb with connection string
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/14 subtests

Perhaps there is a race condition between when the test is run and when the
log file is flushed?  I'm just guessing here....

В списке pgsql-general по дате отправления:

Предыдущее
От:
Дата:
Сообщение: Re: [GENERAL] PGSQL 9.6.2 unable to find readline
Следующее
От: John Iliffe
Дата:
Сообщение: Re: [GENERAL] PGSQL 9.6.2 unable to find readline