[asterisk-commits] mjordan: branch mjordan/noversioncheck r3193 - /asterisk/team/mjordan/noversi...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Apr 19 10:53:56 CDT 2012


Author: mjordan
Date: Thu Apr 19 10:53:51 2012
New Revision: 3193

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3193
Log:
Branch that runs the test suite with no version checking

Added:
    asterisk/team/mjordan/noversioncheck/   (props changed)
      - copied from r3192, asterisk/trunk/
Modified:
    asterisk/team/mjordan/noversioncheck/runtests.py

Propchange: asterisk/team/mjordan/noversioncheck/
------------------------------------------------------------------------------
    reviewboard:url = https://reviewboard.asterisk.org

Propchange: asterisk/team/mjordan/noversioncheck/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Apr 19 10:53:51 2012
@@ -1,0 +1,2 @@
+asterisk-test-suite-report.xml
+*.pyc

Propchange: asterisk/team/mjordan/noversioncheck/
------------------------------------------------------------------------------
--- svn:mergeinfo (added)
+++ svn:mergeinfo Thu Apr 19 10:53:51 2012
@@ -1,0 +1,2 @@
+/asterisk/team/group/cdr_test_log_congestion:1823-2951
+/asterisk/trunk:1112

Propchange: asterisk/team/mjordan/noversioncheck/
------------------------------------------------------------------------------
    svnmerge-integrated = /asterisk/trunk:1-2945

Modified: asterisk/team/mjordan/noversioncheck/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mjordan/noversioncheck/runtests.py?view=diff&rev=3193&r1=3192&r2=3193
==============================================================================
--- asterisk/team/mjordan/noversioncheck/runtests.py (original)
+++ asterisk/team/mjordan/noversioncheck/runtests.py Thu Apr 19 10:53:51 2012
@@ -139,9 +139,9 @@
 
     def __check_can_run(self, ast_version):
         """Check tags and dependencies in the test config."""
-        if self.test_config.check_deps(ast_version) and \
-                self.test_config.check_tags(self.options.tags):
-            self.can_run = True
+        #if self.test_config.check_deps(ast_version) and \
+        #        self.test_config.check_tags(self.options.tags):
+        self.can_run = True
 
     def __parse_run_output(self, output):
         self.failure_message = output
@@ -380,7 +380,8 @@
               "***************\n"
         return 1
 
-    ast_version = AsteriskVersion(options.version)
+    #ast_version = AsteriskVersion(options.version)
+    ast_version = None
 
     # Ensure that there's a trailing '/' in the test specified with -t
     if options.test and options.test[-1] != '/':
@@ -389,7 +390,7 @@
     test_suite = TestSuite(ast_version, options)
 
     if options.list_tests:
-        print "Asterisk Version: %s\n" % str(ast_version)
+        #print "Asterisk Version: %s\n" % str(ast_version)
         test_suite.list_tests()
         return 0
 
@@ -397,7 +398,7 @@
         test_suite.list_tags()
         return 0
 
-    print "Running tests for Asterisk %s ...\n" % str(ast_version)
+    #print "Running tests for Asterisk %s ...\n" % str(ast_version)
 
     test_suite.run()
 




More information about the asterisk-commits mailing list