Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos.buildout
Commits
44046ba2
Commit
44046ba2
authored
Jun 24, 2012
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
another test passing w 3.2
parent
1c4772b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
22 deletions
+28
-22
zc.recipe.egg_/src/zc/recipe/egg/custom.txt
zc.recipe.egg_/src/zc/recipe/egg/custom.txt
+3
-4
zc.recipe.egg_/src/zc/recipe/egg/tests.py
zc.recipe.egg_/src/zc/recipe/egg/tests.py
+25
-18
No files found.
zc.recipe.egg_/src/zc/recipe/egg/custom.txt
View file @
44046ba2
...
@@ -131,9 +131,8 @@ the egg:
...
@@ -131,9 +131,8 @@ the egg:
...
...
... """ % dict(server=link_server))
... """ % dict(server=link_server))
>>> print_(system(buildout), end='')
>>> print_(system(buildout), end='') # doctest: +ELLIPSIS
Installing extdemo.
Installing extdemo...
zip_safe flag not set; analyzing archive contents...
We got the zip_safe warning because the source distribution we used
We got the zip_safe warning because the source distribution we used
wasn't setuptools based and thus didn't set the option.
wasn't setuptools based and thus didn't set the option.
...
@@ -158,7 +157,7 @@ Let's define a script that uses out ext demo:
...
@@ -158,7 +157,7 @@ Let's define a script that uses out ext demo:
... """
... """
... import extdemo, sys
... import extdemo, sys
... def print_(*args):
... def print_(*args):
... sys.stdout.write(' '.join(map(str, args)) + '\n')
... sys.stdout.write(' '.join(map(str, args)) + '\
\
n')
... def main():
... def main():
... print_(extdemo.val)
... print_(extdemo.val)
... """)
... """)
...
...
zc.recipe.egg_/src/zc/recipe/egg/tests.py
View file @
44046ba2
...
@@ -78,24 +78,31 @@ def test_suite():
...
@@ -78,24 +78,31 @@ def test_suite():
'
custom
.
txt
',
'
custom
.
txt
',
setUp=setUp, tearDown=zc.buildout.testing.buildoutTearDown,
setUp=setUp, tearDown=zc.buildout.testing.buildoutTearDown,
checker=renormalizing.RENormalizing([
checker=renormalizing.RENormalizing([
zc.buildout.testing.normalize_path,
zc.buildout.testing.normalize_path,
zc.buildout.testing.normalize_endings,
zc.buildout.testing.normalize_endings,
(re.compile("(d ((ext)?demo(needed)?|other)"
(re.compile("(d ((ext)?demo(needed)?|other)"
"-
\
d[.]
\
d-py)
\
d[.]
\
d(-
\
S+)?[.]egg
"
),
"-
\
d[.]
\
d-py)
\
d[.]
\
d(-
\
S+)?[.]egg
"
),
'
\\
1
V
.
V
.
egg
'),
'
\\
1
V
.
V
.
egg
'),
(re.compile('
extdemo
.
c
\
n
.
+
\\
extdemo
.
exp
\
n
'), ''),
(re.compile('
extdemo
.
c
\
n
.
+
\\
extdemo
.
exp
\
n
'), ''),
(re.compile('
extdemo
[.]
pyd
'), '
extdemo
.
so
'),
(re.compile('
extdemo
[.]
pyd
'), '
extdemo
.
so
'),
(re.compile(
(re.compile(
"extdemo[.]c
\
n
"
r'
zip_safe
flag
not
set
;
analyzing
archive
contents
.
*
\
n
'),
"extdemo[.]obj : warning LNK4197: "
''),
"export '
initextdemo
' specified multiple times; "
(re.compile(
"using first specification
\
n
"
r'
\
n
.
*
module
references
__file__
'),
" Creating library build
\
\
\
\
temp[.]win-amd64-2[.]"
''),
"[4567]
\
\
\
\
Release
\
\
\
\
extdemo[.]lib and object "
(re.compile(''), ''),
"build
\
\
\
\
temp[.]win-amd64-2[.][4567]
\
\
\
\
Re"
(re.compile(
"lease
\
\
\
\
extdemo[.]exp
\
n
"),
"extdemo[.]c
\
n
"
''),
"extdemo[.]obj : warning LNK4197: "
]),
"export '
initextdemo
' specified multiple times; "
"using first specification
\
n
"
" Creating library build
\
\
\
\
temp[.]win-amd64-2[.]"
"[4567]
\
\
\
\
Release
\
\
\
\
extdemo[.]lib and object "
"build
\
\
\
\
temp[.]win-amd64-2[.][4567]
\
\
\
\
Re"
"lease
\
\
\
\
extdemo[.]exp
\
n
"),
''),
]),
),
),
))
))
return suite
return suite
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment