[CalendarServer-changes] [11746] CalDAVTester/trunk/src/manager.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Sep 23 01:37:20 PDT 2013
Revision: 11746
http://trac.calendarserver.org//changeset/11746
Author: cdaboo at apple.com
Date: 2013-09-23 01:37:20 -0700 (Mon, 23 Sep 2013)
Log Message:
-----------
--all tests ignore test script directories starting with "test".
Modified Paths:
--------------
CalDAVTester/trunk/src/manager.py
Modified: CalDAVTester/trunk/src/manager.py
===================================================================
--- CalDAVTester/trunk/src/manager.py 2013-09-23 08:19:30 UTC (rev 11745)
+++ CalDAVTester/trunk/src/manager.py 2013-09-23 08:37:20 UTC (rev 11746)
@@ -198,7 +198,7 @@
if all:
files = []
- os.path.walk(dname, lambda arg, dir, names: files.extend([os.path.join(dir, name) for name in names]), None)
+ os.path.walk(dname, lambda arg, dir, names: files.extend([os.path.join(dir, name) for name in names]) if not dir.startswith("test") else None, None)
for file in files:
if file.endswith(".xml") and file[len(dname) + 1:] not in excludes:
if subdir is None or file[len(dname) + 1:].startswith(subdir):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130923/292bbc33/attachment.html>
More information about the calendarserver-changes
mailing list