Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev

z3c.recipe.i18n tests break on unix

 

 

Zope dev RSS feed   Index | Next | Previous | View Threaded


cz at gocept

May 15, 2009, 2:40 AM

Post #1 of 5 (490 views)
Permalink
z3c.recipe.i18n tests break on unix

Hi,

the tests of z3c.reipce.i18n break on unix systems, for instance with:

Failed example:
ls('bin')
Expected:
- buildout-script.py
- buildout.exe
- i18ncompile-script.py
- i18ncompile.exe
- i18nextract-script.py
- i18nextract.exe
- i18nmergeall-script.py
- i18nmergeall.exe
- i18nstats-script.py
- i18nstats.exe
Got:
- buildout
- i18ncompile
- i18nextract
- i18nmergeall
- i18nstats


What's the general way of testing those things in both environments? I
don't have a windows box to test this. I also see most recipes are
tested only for unix (which would be fine for me).

How should we proceed in this special case? Actually there is a bug
which I'm going to fix w/o having passing tests now.

Regards,
--
Christian Zagrodnick · cz[at]gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 4 · fax +49 345 1229889 1
Zope and Plone consulting and development


_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


dev at projekt01

May 15, 2009, 3:16 AM

Post #2 of 5 (454 views)
Permalink
Re: z3c.recipe.i18n tests break on unix [In reply to]

Hi Christian

> Betreff: [Zope-dev] z3c.recipe.i18n tests break on unix
>
> Hi,
>
> the tests of z3c.reipce.i18n break on unix systems, for instance with:
>
> Failed example:
> ls('bin')
> Expected:
> - buildout-script.py
> - buildout.exe
> - i18ncompile-script.py
> - i18ncompile.exe
> - i18nextract-script.py
> - i18nextract.exe
> - i18nmergeall-script.py
> - i18nmergeall.exe
> - i18nstats-script.py
> - i18nstats.exe
> Got:
> - buildout
> - i18ncompile
> - i18nextract
> - i18nmergeall
> - i18nstats
>
>
> What's the general way of testing those things in both
> environments? I don't have a windows box to test this. I also
> see most recipes are tested only for unix (which would be
> fine for me).
>
> How should we proceed in this special case? Actually there is
> a bug which I'm going to fix w/o having passing tests now.

I'm fine if you switch the tests that they pass on linux and
will break on windows. I can catchup the tests later and try
to make them running again on windows and linux.

Thanks a lot for help improve missing parts or fix issues!

Regards
Roger Ineichen

> Regards,
> --
> Christian Zagrodnick · cz[at]gocept.com
> gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale)
> · germany http://gocept.com · tel +49 345 1229889 4 · fax +49
> 345 1229889 1 Zope and Plone consulting and development
>
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev[at]zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope )
>

_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


cz at gocept

May 15, 2009, 3:36 AM

Post #3 of 5 (453 views)
Permalink
Re: z3c.recipe.i18n tests break on unix [In reply to]

On 2009-05-15 12:16:30 +0200, "Roger Ineichen" <dev[at]projekt01.ch> said:

> Hi Christian
>
>> What's the general way of testing those things in both
>
>> environments? I don't have a windows box to test this. I also
>
>> see most recipes are tested only for unix (which would be
>
>> fine for me).
>>
>
>> How should we proceed in this special case? Actually there is
>
>> a bug which I'm going to fix w/o having passing tests now.
>
> I'm fine if you switch the tests that they pass on linux and
> will break on windows. I can catchup the tests later and try
> to make them running again on windows and linux.

Okay, would you give me the pypi access (user zagy)?


>
> Thanks a lot for help improve missing parts or fix issues!

np, after all I want to use it :)



--
Christian Zagrodnick · cz[at]gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 4 · fax +49 345 1229889 1
Zope and Plone consulting and development


_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


mh at gocept

May 15, 2009, 3:37 AM

Post #4 of 5 (454 views)
Permalink
Re: z3c.recipe.i18n tests break on unix [In reply to]

Am 15.05.2009 um 11:40 schrieb Christian Zagrodnick:
> Hi,
>
> the tests of z3c.reipce.i18n break on unix systems, for instance with:
>
> Failed example:
> ls('bin')
> Expected:
> - buildout-script.py
> - buildout.exe
> - i18ncompile-script.py
> - i18ncompile.exe
> - i18nextract-script.py
> - i18nextract.exe
> - i18nmergeall-script.py
> - i18nmergeall.exe
> - i18nstats-script.py
> - i18nstats.exe
> Got:
> - buildout
> - i18ncompile
> - i18nextract
> - i18nmergeall
> - i18nstats
>
>
> What's the general way of testing those things in both environments? I
> don't have a windows box to test this. I also see most recipes are
> tested only for unix (which would be fine for me).

In z3c.recipe.paster I solved this with two re normalizers, see
http://tinyurl.com/ofc6nx lines 115 and 116.


Yours sincerely,
--
Michael Howitz · mh[at]gocept.com · software developer
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development

_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


mh at gocept

May 15, 2009, 3:53 AM

Post #5 of 5 (453 views)
Permalink
Re: z3c.recipe.i18n tests break on unix [In reply to]

Am 15.05.2009 um 12:36 schrieb Christian Zagrodnick:
[...]
> Okay, would you give me the pypi access (user zagy)?


Done.

Yours sincerely,
--
Michael Howitz · mh[at]gocept.com · software developer
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development

_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Zope dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.