Commit 3d5cb514 authored by Jérome Perrin's avatar Jérome Perrin

Fix tests

parent 1d4bffbc
......@@ -935,7 +935,6 @@ is not used.
>>> print(system(buildout)) #doctest:+ELLIPSIS
Uninstalling package.
Uninstalling package-2.
Installing package.
configure --prefix=/sample_buildout/parts/package
building package
......@@ -973,7 +972,7 @@ developer can try same build process as the recipe tried.
... FOO=bar
... """ % (shared_dir, src))
>>> print(system(buildout)) #doctest:+ELLIPSIS
package: shared directory /shared/package/FIRST_SHARED_PACKAGE_HASH set for package
package: shared at /shared/package/FIRST_SHARED_PACKAGE_HASH
Uninstalling package.
Installing package.
package: Checking whether package is installed at shared path: /shared/package/FIRST_SHARED_PACKAGE_HASH
......@@ -993,7 +992,7 @@ developer can try same build process as the recipe tried.
Next time buildout runs, it detects that the build failed, remove the compile dir and retry.
>>> print(system(buildout)) #doctest:+ELLIPSIS
package: shared directory /shared/package/FIRST_SHARED_PACKAGE_HASH set for package
package: shared at /shared/package/FIRST_SHARED_PACKAGE_HASH
Installing package.
package: Checking whether package is installed at shared path: /shared/package/FIRST_SHARED_PACKAGE_HASH
package: [ENV] FOO = bar
......@@ -1051,7 +1050,7 @@ not detected and the part was considered as installed.
>>> _ = system('mv %s/package-0.0.0.tar.gz.bak %s/package-0.0.0.tar.gz' % (src, src))
>>> print(system(buildout)) #doctest:+ELLIPSIS
package: shared directory /shared/package/FIRST_SHARED_PACKAGE_HASH set for package
package: shared at /shared/package/FIRST_SHARED_PACKAGE_HASH
Installing package.
package: Checking whether package is installed at shared path: /shared/package/FIRST_SHARED_PACKAGE_HASH
package: [ENV] FOO = bar
......@@ -1093,7 +1092,7 @@ used instead of installing if one package has been installed.
... FOO=bar
... """ % (shared_dir, another_shared_dir, src))
>>> print(system(buildout)) #doctest:+ELLIPSIS
package: shared directory /shared/package/FIRST_SHARED_PACKAGE_HASH set for package
package: shared at /shared/package/FIRST_SHARED_PACKAGE_HASH
Installing package.
package: Checking whether package is installed at shared path: /shared/package/FIRST_SHARED_PACKAGE_HASH
package: This shared package has been installed by other package
......@@ -1114,7 +1113,7 @@ If options change, reinstall in different location:
... """ % (shared_dir, src))
>>> print(system(buildout)) #doctest:+ELLIPSIS
package: shared directory /shared/package/ANOTHER_SHARED_PACKAGE_HASH set for package
package: shared at /shared/package/ANOTHER_SHARED_PACKAGE_HASH
Uninstalling package.
Installing package.
package: Checking whether package is installed at shared path: /shared/package/ANOTHER_SHARED_PACKAGE_HASH
......
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