[CalendarServer-changes] [12026] CalendarServer/trunk

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 12 11:17:02 PDT 2014


Revision: 12026
          http://trac.calendarserver.org//changeset/12026
Author:   wsanchez at apple.com
Date:     2013-12-03 14:33:08 -0800 (Tue, 03 Dec 2013)
Log Message:
-----------
Print environment in trial.

Modified Paths:
--------------
    CalendarServer/trunk/bin/trial
    CalendarServer/trunk/test

Modified: CalendarServer/trunk/bin/trial
===================================================================
--- CalendarServer/trunk/bin/trial	2013-12-03 22:14:06 UTC (rev 12025)
+++ CalendarServer/trunk/bin/trial	2013-12-03 22:33:08 UTC (rev 12026)
@@ -16,7 +16,10 @@
 # limitations under the License.
 ##
 
+from __future__ import print_function
+
 import sys
+import os
 
 #PYTHONPATH
 
@@ -29,5 +32,8 @@
         except ImportError:
             sys.exc_clear()
 
+    for name, value in os.environ.items():
+        print("{0}={1}".format(name, value))
+
     from twisted.scripts.trial import run
     run()

Modified: CalendarServer/trunk/test
===================================================================
--- CalendarServer/trunk/test	2013-12-03 22:14:06 UTC (rev 12025)
+++ CalendarServer/trunk/test	2013-12-03 22:33:08 UTC (rev 12026)
@@ -84,8 +84,6 @@
   flaky=true;
 fi;
 
-# Print environment
-env
 
 ##
 # Clean up
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/42ade392/attachment.html>


More information about the calendarserver-changes mailing list