From: "Chiu,Cheng-Han" <[email protected]>

Signed-off-by: Chiu,Cheng-Han <[email protected]>
---
 ryu/tests/switch/tester.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py
index a6734ce..499f8ff 100644
--- a/ryu/tests/switch/tester.py
+++ b/ryu/tests/switch/tester.py
@@ -480,7 +480,7 @@ class OfTester(app_manager.RyuApp):
         for result_type in sorted(report.keys()):
             test_descriptions = report[result_type]
             if result_type == TEST_OK:
-                ok_count = len(test_descriptions)
+                ok_count += len(test_descriptions)
                 continue
             error_count += len(test_descriptions)
             self.logger.info('%s(%d)', result_type, len(test_descriptions))
-- 
1.7.10.4


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to