Commit d76945aa authored by Łukasz Nowak's avatar Łukasz Nowak

- allow to skip long test


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40646 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5829c3b9
...@@ -1473,6 +1473,10 @@ class AssertPysvn(AssertSoftwareMixin): ...@@ -1473,6 +1473,10 @@ class AssertPysvn(AssertSoftwareMixin):
class AssertElfLinkedInternally(AssertSoftwareMixin): class AssertElfLinkedInternally(AssertSoftwareMixin):
def test(self): def test(self):
if os.environ.get('SKIP_ASSERT_LINKED_INTERNALLY', '0') != '0':
# allows developers to skip long test (portable way to being able run on
# ancient pythons)
return
result_dict = {} result_dict = {}
root = os.path.join(os.path.abspath(os.curdir), 'parts') root = os.path.join(os.path.abspath(os.curdir), 'parts')
for dirpath, dirlist, filelist in os.walk(root): for dirpath, dirlist, filelist in os.walk(root):
......
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