Re: msvc and vista fun

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Dave Page <dpage(at)postgresql(dot)org>
Subject: Re: msvc and vista fun
Date: 2007-06-25 15:25:35
Message-ID: 467FDE6F.7030400@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Magnus Hagander wrote:
>> Can we change that or make it switchable? I'd be happy to provide an
>> environment variable like RUNNING_BUILDFARM if that would help.
>>
>
> We could, but it seems very ugly. And again, it's *not* required for
> buildfarm on my or Daves machines. So I'd rather like to know why it's
> actually happening than just blindly change it.
>
>
>

Not surprisingly, I am not the only person who has had this problem. See
http://jira.codehaus.org/browse/CONTINUUM-413 where the suggested
solution is:

if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERRORLEVEL%
exit /b %ERRORLEVEL%

There are 12 lines involved in our .bat files:

build.bat:35:exit /b %E%
builddoc.bat:40:exit /b
builddoc.bat:50:exit /b
install.bat:9:exit /b 1
install.bat:18:exit /b %ERRORLEVEL%
vcregress.bat:35: if errorlevel 1 exit /b 1
vcregress.bat:51:exit /b %E%
vcregress.bat:64: if errorlevel 1 exit /b 1
vcregress.bat:66: if errorlevel 1 exit /b 1
vcregress.bat:86:exit /b %E%
vcregress.bat:97:if %CONTRIBERROR%==1 exit /b 1
vcregress.bat:113:exit /b %E%

Would making a change like this in those 12 places be so ugly?

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2007-06-25 15:38:57 Re: msvc and vista fun
Previous Message Tom Lane 2007-06-25 15:23:48 Re: Soft deadlocks

Browse pgsql-patches by date

  From Date Subject
Next Message Dave Page 2007-06-25 15:38:57 Re: msvc and vista fun
Previous Message Andrew Dunstan 2007-06-25 15:06:45 Re: msvc and vista fun