[CalendarServer-changes] [3493] CalendarServer/trunk/test
source_changes at macosforge.org
source_changes at macosforge.org
Tue Dec 9 15:43:20 PST 2008
Revision: 3493
http://trac.macosforge.org/projects/calendarserver/changeset/3493
Author: sagen at apple.com
Date: 2008-12-09 15:43:20 -0800 (Tue, 09 Dec 2008)
Log Message:
-----------
Fix "test" script to allow passing random seed in to determine order (-r<num>)
Modified Paths:
--------------
CalendarServer/trunk/test
Modified: CalendarServer/trunk/test
===================================================================
--- CalendarServer/trunk/test 2008-12-09 22:43:00 UTC (rev 3492)
+++ CalendarServer/trunk/test 2008-12-09 23:43:20 UTC (rev 3493)
@@ -35,6 +35,7 @@
echo " -h Print this help and exit";
echo " -n Do not use color";
echo " -o Do not run tests in random order.";
+ echo " -r<num> Use specified seed to determine order.";
echo " -u Run until the tests fail.";
echo " -c Generate coverage reports.";
@@ -42,11 +43,12 @@
exit 64;
}
-while getopts "nhouc" option; do
+while getopts "nhoucr:" option; do
case "${option}" in
'?') usage; ;;
'h') usage -; exit 0; ;;
'o') random=""; ;;
+ 'r') random="--random=$OPTARG"; ;;
'n') no_colour="--reporter=bwverbose"; ;;
'u') until_fail="--until-failure"; ;;
'c') coverage="--coverage"; ;;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20081209/5cf201cc/attachment.html>
More information about the calendarserver-changes
mailing list