[asterisk-commits] pabelanger: testsuite/asterisk/trunk r1144 - /asterisk/trunk/runtests.py

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 10 10:42:31 CST 2010


Author: pabelanger
Date: Fri Dec 10 10:42:28 2010
New Revision: 1144

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1144
Log:
Fix logic for skipping a test.

Modified:
    asterisk/trunk/runtests.py

Modified: asterisk/trunk/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/runtests.py?view=diff&rev=1144&r1=1143&r2=1144
==============================================================================
--- asterisk/trunk/runtests.py (original)
+++ asterisk/trunk/runtests.py Fri Dec 10 10:42:28 2010
@@ -98,6 +98,7 @@
         self.time = 0.0
         self.test_name = test_name
         self.ast_version = ast_version
+        self.skip = None
         self.config = None
         self.summary = None
         self.maxversion = None
@@ -280,7 +281,7 @@
             if self.options.test and t.test_name != self.options.test:
                 continue
             if t.can_run is False:
-                if t.skip:
+                if t.skip is not None:
                     print "--> %s ... skipped '%s'" % (t.test_name, t.skip)
                     continue
 




More information about the asterisk-commits mailing list