Commit b478721f authored by Gary Poster's avatar Gary Poster

get tests passing after the cleanup. this branch should be done, afaik.

parent 5e4c14e8
...@@ -716,7 +716,8 @@ all key-value pairs are displayed, sorted alphabetically, along with ...@@ -716,7 +716,8 @@ all key-value pairs are displayed, sorted alphabetically, along with
the origin of the value (file name or COMPUTED_VALUE, DEFAULT_VALUE, the origin of the value (file name or COMPUTED_VALUE, DEFAULT_VALUE,
COMMAND_LINE_VALUE). COMMAND_LINE_VALUE).
>>> print system(buildout+ ' annotate'), # doctest: +ELLIPSIS >>> print system(buildout+ ' annotate'),
... # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
<BLANKLINE> <BLANKLINE>
Annotated sections Annotated sections
================== ==================
...@@ -1156,7 +1157,7 @@ Annotated sections output shows which files are responsible for which ...@@ -1156,7 +1157,7 @@ Annotated sections output shows which files are responsible for which
operations. operations.
>>> print system(os.path.join('bin', 'buildout') + ' annotate'), >>> print system(os.path.join('bin', 'buildout') + ' annotate'),
... # doctest: +ELLIPSIS ... # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
<BLANKLINE> <BLANKLINE>
Annotated sections Annotated sections
================== ==================
...@@ -1191,7 +1192,6 @@ operations. ...@@ -1191,7 +1192,6 @@ operations.
[part4] [part4]
option= h1 h2 option= h1 h2
/sample-buildout/extension1.cfg /sample-buildout/extension1.cfg
...
Cleanup. Cleanup.
...@@ -1902,6 +1902,7 @@ the buildout in the usual way: ...@@ -1902,6 +1902,7 @@ the buildout in the usual way:
d recipes d recipes
>>> cat(sample_buildout, '.installed.cfg') >>> cat(sample_buildout, '.installed.cfg')
... # doctest: +NORMALIZE_WHITESPACE
[buildout] [buildout]
installed_develop_eggs = /sample-buildout/develop-eggs/recipes.egg-link installed_develop_eggs = /sample-buildout/develop-eggs/recipes.egg-link
parts = debug d1 d2 d3 parts = debug d1 d2 d3
...@@ -1987,6 +1988,7 @@ were created. ...@@ -1987,6 +1988,7 @@ were created.
The .installed.cfg is only updated for the recipes that ran: The .installed.cfg is only updated for the recipes that ran:
>>> cat(sample_buildout, '.installed.cfg') >>> cat(sample_buildout, '.installed.cfg')
... # doctest: +NORMALIZE_WHITESPACE
[buildout] [buildout]
installed_develop_eggs = /sample-buildout/develop-eggs/recipes.egg-link installed_develop_eggs = /sample-buildout/develop-eggs/recipes.egg-link
parts = debug d1 d2 d3 d4 parts = debug d1 d2 d3 d4
...@@ -2510,8 +2512,7 @@ buildout installed option: ...@@ -2510,8 +2512,7 @@ buildout installed option:
d recipes d recipes
Note that there will be no installation database if there are no Note that there will be no installation database if there are no parts:
parts:
>>> write('buildout.cfg', >>> write('buildout.cfg',
... """ ... """
......
...@@ -29,12 +29,14 @@ doesn't import setuptools. Let's try running it to create an egg. ...@@ -29,12 +29,14 @@ doesn't import setuptools. Let's try running it to create an egg.
We'll use the buildout script from our sample buildout: We'll use the buildout script from our sample buildout:
>>> print system(buildout+' setup'), >>> print system(buildout+' setup'),
Error: The setup command requires the path to a setup script or ... # doctest: +NORMALIZE_WHITESPACE
directory containing a setup script, and it's arguments. Error: The setup command requires the path to a setup script or
directory containing a setup script, and its arguments.
Oops, we forgot to give the name of the setup script: Oops, we forgot to give the name of the setup script:
>>> print system(buildout+' setup setup.py bdist_egg'), # doctest: +ELLIPSIS >>> print system(buildout+' setup setup.py bdist_egg'),
... # doctest: +ELLIPSIS
Running setup script 'setup.py'. Running setup script 'setup.py'.
... ...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment