[Erp5-report] r9629 - /erp5/trunk/utils/erp5mechanize/runBenchmarks.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Sep 4 11:28:51 CEST 2006


Author: vincent
Date: Mon Sep  4 11:28:50 2006
New Revision: 9629

URL: http://svn.erp5.org?rev=9629&view=rev
Log:
/bin/bash: q: command not found

Modified:
    erp5/trunk/utils/erp5mechanize/runBenchmarks.py

Modified: erp5/trunk/utils/erp5mechanize/runBenchmarks.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5mechanize/runBenchmarks.py?rev=9629&r1=9628&r2=9629&view=diff
==============================================================================
--- erp5/trunk/utils/erp5mechanize/runBenchmarks.py (original)
+++ erp5/trunk/utils/erp5mechanize/runBenchmarks.py Mon Sep  4 11:28:50 2006
@@ -189,6 +189,10 @@
     usercount = maximum_length
   else:
     usercount = min(int(usercount), total_usercount)
+  if Repeat is not None:
+    Repeat = int(Repeat)
+  else:
+    Repeat = 0
   # Instanciate threads.
   # A threads represents a user on an instance. It will execute the whole
   # given test suite in the girven order.




More information about the Erp5-report mailing list