[asterisk-commits] coreyfarrell: testsuite/asterisk/trunk r6380 - /asterisk/trunk/runtests.py

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 11 11:04:45 CST 2015


Author: coreyfarrell
Date: Wed Feb 11 11:04:39 2015
New Revision: 6380

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=6380
Log:
Fix output of minversion/maxversion of tests that cannot run.

Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4410/

Modified:
    asterisk/trunk/runtests.py

Modified: asterisk/trunk/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/runtests.py?view=diff&rev=6380&r1=6379&r2=6380
==============================================================================
--- asterisk/trunk/runtests.py (original)
+++ asterisk/trunk/runtests.py Wed Feb 11 11:04:39 2015
@@ -398,11 +398,13 @@
                 if t.test_config.forced_version is not None:
                     print "--- --> Forced Asterisk Version: %s" % \
                         (str(t.test_config.forced_version))
-                print "--- --> Minimum Version: %s (%s)" % \
-                    (str(t.test_config.minversion), str(t.test_config.minversion_check))
+                print ("--- --> Minimum Version: %s (%s)" %
+                       (", ".join([str(v) for v in t.test_config.minversion]),
+                        t.test_config.minversion_check))
                 if t.test_config.maxversion is not None:
-                    print "--- --> Maximum Version: %s (%s)" % \
-                        (str(t.test_config.maxversion), str(t.test_config.maxversion_check))
+                    print ("--- --> Maximum Version: %s (%s)" %
+                           (", ".join([str(v) for v in t.test_config.maxversion]),
+                            t.test_config.maxversion_check))
                 for f in t.test_config.features:
                     print "--- --> Version Feature: %s - %s" % (f, str(t.test_config.feature_check[f]))
                 print "--- --> Tags: %s" % (t.test_config.tags)




More information about the asterisk-commits mailing list