Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Iliya Manolov
erp5
Commits
ac429148
Commit
ac429148
authored
Nov 05, 2012
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable xdpyinfo for now since it is not installed
parent
caba9c9d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
+7
-0
No files found.
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
View file @
ac429148
...
...
@@ -81,11 +81,18 @@ class Xvfb:
stdout=null, stderr=null, close_fds=True)
# try to check if X screen is available
time.sleep(5)
return
# XXX xdpyinfo is not installed yet. Is this checking really needed ?
# If it is required, we have to make xdpyinfo available as part of
# selinum runner and make testnode using it (testnode use the software
# of selenium runner to launch firefox and Xvfb)
"""
if subprocess.call(('
xdpyinfo
', '
-
display
', display),
stdout=null, stderr=subprocess.STDOUT):
# Xvfb did not start properly so stop here
raise EnvironmentError("Can not start Xvfb, stop test execution "
\
+ "(display %r)" % (display,))
"""
def run(self):
for display_try in self.display_list:
...
...
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