[CalendarServer-changes] [14071] CalendarServer/trunk/bin/testserver
source_changes at macosforge.org
source_changes at macosforge.org
Fri Oct 10 13:36:04 PDT 2014
Revision: 14071
http://trac.calendarserver.org//changeset/14071
Author: cdaboo at apple.com
Date: 2014-10-10 13:36:04 -0700 (Fri, 10 Oct 2014)
Log Message:
-----------
Command line option to turn on CDT debugging.
Modified Paths:
--------------
CalendarServer/trunk/bin/testserver
Modified: CalendarServer/trunk/bin/testserver
===================================================================
--- CalendarServer/trunk/bin/testserver 2014-10-10 20:30:54 UTC (rev 14070)
+++ CalendarServer/trunk/bin/testserver 2014-10-10 20:36:04 UTC (rev 14071)
@@ -39,6 +39,7 @@
random="--random";
seed="";
ssl="";
+ cdtdebug="";
usage ()
{
@@ -54,12 +55,13 @@
echo " -x Random seed to use.";
echo " -v Verbose.";
echo " -z Use SSL.";
+ echo " -D Turn on CalDAVTester debugging";
if [ "${1-}" == "-" ]; then return 0; fi;
exit 64;
}
-while getopts 'hvrozt:s:d:x:' option; do
+while getopts 'Dhvrozt:s:d:x:' option; do
case "$option" in
'?') usage; ;;
'h') usage -; exit 0; ;;
@@ -71,6 +73,7 @@
'o') random=""; ;;
'x') seed="--random-seed ${OPTARG}"; ;;
'z') ssl="--ssl"; ;;
+ 'D') cdtdebug="--debug"; ;;
esac;
done;
@@ -131,7 +134,7 @@
echo "Starting CDT run"
-cd "${cdt}" && "${python}" testcaldav.py ${random} ${seed} ${ssl} --print-details-onfail ${printres} -s "${serverinfo}" ${subdir} "$@";
+cd "${cdt}" && "${python}" testcaldav.py ${random} ${seed} ${ssl} ${cdtdebug} --print-details-onfail ${printres} -s "${serverinfo}" ${subdir} "$@";
# Capture exit status of testcaldav.py to use as this script's exit status.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20141010/084e9a6a/attachment-0001.html>
More information about the calendarserver-changes
mailing list