[Checkins] SVN: grokproject/trunk/tests.txt Extend tests.

Michael Haubenwallner michael at d2m.at
Wed Oct 1 01:20:36 EDT 2008


Uli Fouquet wrote:
> Log message for revision 91422:
>   Extend tests.
> 
> Changed:
>   U   grokproject/trunk/tests.txt
> 
> -=-
> Modified: grokproject/trunk/tests.txt
> ===================================================================
> --- grokproject/trunk/tests.txt	2008-09-24 12:30:32 UTC (rev 91421)
> +++ grokproject/trunk/tests.txt	2008-09-24 12:30:53 UTC (rev 91422)
> @@ -155,3 +155,50 @@
>      Tearing down left over layers:
>        Tear down grokexample.FunctionalLayer ... not supported
>  
> +Using the generated `buildout` script
> +-------------------------------------
> +
> +We can call the `buildout` script of the freshly generated
> +project. For this to work, we have to switch to the project directory
> +first::
> +
> +    >>> cd(package_dir)
> +    >>> cmd = os.path.join(bin_dir, 'buildout')
> +    >>> output = read_sh(cmd)
> +    >>> print output
> +    Develop: '...'
> +    Updating eggbasket.
> +    Updating app.
> +    Generated script '...runzope'.
> +    Generated script '...debugzope'.
> +    Updating data.
> +    Updating zopectl.
> +    Generated script '...zopectl'.
> +    Updating i18n.
> +    The recipe for i18n doesn't define an update method. ...
> +    i18n: setting up i18n tools
> +    Generated script '...i18nextract'.
> +    Generated script '...i18nmergeall'.
> +    Generated script '...i18nstats'.
> +    Updating test.
> +    Generated script '...test'.
> +

Hi Uli, you added the tests last week.
I am testing with grok-014 now and the tests have failures.

Any idea where the runzope and debugzope scripts come from?
Maybe a customized buildout.cfg_tmpl that is not in the source?

There must be another hidden issue, because i am missing all 'Generated
script ...' lines in the test output except for the "Generated script
'...zopectl'." Not sure what changed here with the recent release.

Regards
Michael

-- 
http://blog.d2m.at
http://planetzope.org



More information about the Checkins mailing list