[svn-commits] pabelanger: testsuite/asterisk/trunk r1137 - in /asterisk/trunk: ./ tests/ te...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Dec 10 09:49:07 CST 2010


Author: pabelanger
Date: Fri Dec 10 09:49:01 2010
New Revision: 1137

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1137
Log:
Tests now have the option to be skipped.

Review: https://reviewboard.asterisk.org/r/1056/

Modified:
    asterisk/trunk/README.txt
    asterisk/trunk/runtests.py
    asterisk/trunk/tests/agi/exit_status/test-config.yaml
    asterisk/trunk/tests/callparking/test-config.yaml
    asterisk/trunk/tests/callparking_retrieval/test-config.yaml
    asterisk/trunk/tests/chanspy/chanspy_barge/test-config.yaml
    asterisk/trunk/tests/chanspy/chanspy_w_mixmonitor/test-config.yaml
    asterisk/trunk/tests/chanspy/tests.yaml
    asterisk/trunk/tests/feature_attended_transfer/test-config.yaml
    asterisk/trunk/tests/feature_blonde_transfer/test-config.yaml
    asterisk/trunk/tests/mixmonitor/test-config.yaml
    asterisk/trunk/tests/mixmonitor_audiohook_inherit/test-config.yaml
    asterisk/trunk/tests/sip_attended_transfer/test-config.yaml
    asterisk/trunk/tests/sip_attended_transfer_tcp/test-config.yaml
    asterisk/trunk/tests/sip_attended_transfer_v6/test-config.yaml
    asterisk/trunk/tests/sip_one_legged_transfer/test-config.yaml
    asterisk/trunk/tests/sip_one_legged_transfer_v6/test-config.yaml
    asterisk/trunk/tests/sip_register/test-config.yaml
    asterisk/trunk/tests/tests.yaml

Modified: asterisk/trunk/README.txt
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/README.txt?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/README.txt (original)
+++ asterisk/trunk/README.txt Fri Dec 10 09:49:01 2010
@@ -281,6 +281,7 @@
 # The testinfo section contains information that describes the purpose of the
 # test.
 testinfo:
+    skip : 'Breif reason for skipping test' # OPTIONAL
     summary     : 'Put a short one liner summary of the test here'
     issues      : |
         # List of issue numbers associated with this test

Modified: asterisk/trunk/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/runtests.py?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/runtests.py (original)
+++ asterisk/trunk/runtests.py Fri Dec 10 09:49:01 2010
@@ -145,6 +145,9 @@
         if "testinfo" not in self.config:
             return
         testinfo = self.config["testinfo"]
+        if "skip" in testinfo:
+            self.skip = testinfo['skip']
+            self.can_run = False
         if "summary" in testinfo:
             self.summary = testinfo["summary"]
         if "description" in testinfo:
@@ -277,6 +280,10 @@
             if self.options.test and t.test_name != self.options.test:
                 continue
             if t.can_run is False:
+                if t.skip:
+                    print "--> %s ... skipped '%s'" % (t.test_name, t.skip)
+                    continue
+
                 print "--> Cannot run test '%s'" % t.test_name
                 print "--- --> Minimum Version: %s (%s)" % \
                     (str(t.minversion), str(t.minversion_check))

Modified: asterisk/trunk/tests/agi/exit_status/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/agi/exit_status/test-config.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/agi/exit_status/test-config.yaml (original)
+++ asterisk/trunk/tests/agi/exit_status/test-config.yaml Fri Dec 10 09:49:01 2010
@@ -1,4 +1,5 @@
 testinfo:
+    skip: 'Skip while failures are debugged'
     summary:     'Test AGI exit status'
     description: |
         'This test verifies that the AGI application returns the correct exit status for each of several scenarios'

Modified: asterisk/trunk/tests/callparking/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/callparking/test-config.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/callparking/test-config.yaml (original)
+++ asterisk/trunk/tests/callparking/test-config.yaml Fri Dec 10 09:49:01 2010
@@ -1,4 +1,5 @@
 testinfo:
+    skip: 'Skip while failures are debugged'
     summary:     'Test Call Parking'
     description: |
         'This test verifies the Call Parking routine used in the feature code.'

Modified: asterisk/trunk/tests/callparking_retrieval/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/callparking_retrieval/test-config.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/callparking_retrieval/test-config.yaml (original)
+++ asterisk/trunk/tests/callparking_retrieval/test-config.yaml Fri Dec 10 09:49:01 2010
@@ -1,4 +1,5 @@
 testinfo:
+    skip: 'Skip while failures are debugged'
     summary:     'Test Call Parking'
     description: |
         'This test verifies that retrieving a parked call does not hamper the ability to park it once again.'

Modified: asterisk/trunk/tests/chanspy/chanspy_barge/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/chanspy/chanspy_barge/test-config.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/chanspy/chanspy_barge/test-config.yaml (original)
+++ asterisk/trunk/tests/chanspy/chanspy_barge/test-config.yaml Fri Dec 10 09:49:01 2010
@@ -1,4 +1,5 @@
 testinfo:
+    skip: 'Skip while failures are debugged'
     summary:     'Test Chanspy with the \"B\" option for barging in on both channels.'
     description: |
         'This test verifies basic functionality of using ChanSpy with the 

Modified: asterisk/trunk/tests/chanspy/chanspy_w_mixmonitor/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/chanspy/chanspy_w_mixmonitor/test-config.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/chanspy/chanspy_w_mixmonitor/test-config.yaml (original)
+++ asterisk/trunk/tests/chanspy/chanspy_w_mixmonitor/test-config.yaml Fri Dec 10 09:49:01 2010
@@ -1,4 +1,5 @@
 testinfo:
+    skip: 'Skip while failures are debugged'
     summary:     'Test Chanspy with MixMonitor'
     description: |
         'This test verifies basic functionality of using both ChanSpy

Modified: asterisk/trunk/tests/chanspy/tests.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/chanspy/tests.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/chanspy/tests.yaml (original)
+++ asterisk/trunk/tests/chanspy/tests.yaml Fri Dec 10 09:49:01 2010
@@ -1,4 +1,4 @@
 # Enter tests here in the order they should be considered for execution:
 tests:
-    # Temporarily disabled while failures are debugged
-    #- test: 'chanspy_barge'
+    - test: 'chanspy_barge'
+    - test: 'chanspy_w_mixmonitor'

Modified: asterisk/trunk/tests/feature_attended_transfer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/feature_attended_transfer/test-config.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/feature_attended_transfer/test-config.yaml (original)
+++ asterisk/trunk/tests/feature_attended_transfer/test-config.yaml Fri Dec 10 09:49:01 2010
@@ -1,4 +1,5 @@
 testinfo:
+    skip: 'Skip while failures are debugged'
     summary:     'Test Attended Transfer'
     description: |
         'This test verifies the Attended Transfer routine used in the feature code.'

Modified: asterisk/trunk/tests/feature_blonde_transfer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/feature_blonde_transfer/test-config.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/feature_blonde_transfer/test-config.yaml (original)
+++ asterisk/trunk/tests/feature_blonde_transfer/test-config.yaml Fri Dec 10 09:49:01 2010
@@ -1,9 +1,10 @@
 testinfo:
+    skip: 'Skip while failures are debugged'
     summary:     'Test Semi-Attended Transfer'
     description: |
         'This test verifies the Semi-Attended Transfer routine used in the feature code.
         A Semi-Attended Transfer (blond transfer) is a attended transfer in which the
-        transferee does not wait for the new channel to pickup before hanging up.
+        transferee does not wait for the new channel to pickup before hanging up.'
 
 properties:
     minversion: '1.6.0'

Modified: asterisk/trunk/tests/mixmonitor/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/mixmonitor/test-config.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/mixmonitor/test-config.yaml (original)
+++ asterisk/trunk/tests/mixmonitor/test-config.yaml Fri Dec 10 09:49:01 2010
@@ -1,4 +1,5 @@
 testinfo:
+    skip: 'Skip while failures are debugged'
     summary:     'Test MixMonitor and StopMixMonitor applications'
     description: |
         'This test verifies basic functionality of both the MixMonitor

Modified: asterisk/trunk/tests/mixmonitor_audiohook_inherit/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/mixmonitor_audiohook_inherit/test-config.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/mixmonitor_audiohook_inherit/test-config.yaml (original)
+++ asterisk/trunk/tests/mixmonitor_audiohook_inherit/test-config.yaml Fri Dec 10 09:49:01 2010
@@ -1,4 +1,5 @@
 testinfo:
+    skip: 'Skip while failures are debugged'
     summary:     'Test MixMonitor with AUDIOHOOK_INHERIT'
     description: |
         'This test verifies basic functionality using MixMonitor with AUDIOHOOK_INHERIT.

Modified: asterisk/trunk/tests/sip_attended_transfer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/sip_attended_transfer/test-config.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/sip_attended_transfer/test-config.yaml (original)
+++ asterisk/trunk/tests/sip_attended_transfer/test-config.yaml Fri Dec 10 09:49:01 2010
@@ -1,4 +1,5 @@
 testinfo:
+    skip: 'Skip while failures are debugged'
     summary:     'Test SIP Attended Transfer'
     description: |
         'This test verifies the SIP_REFER with Replaces attended transfer routine.'

Modified: asterisk/trunk/tests/sip_attended_transfer_tcp/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/sip_attended_transfer_tcp/test-config.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/sip_attended_transfer_tcp/test-config.yaml (original)
+++ asterisk/trunk/tests/sip_attended_transfer_tcp/test-config.yaml Fri Dec 10 09:49:01 2010
@@ -1,4 +1,5 @@
 testinfo:
+    skip: 'Skip while failures are debugged'
     summary:     'Test SIP Attended Transfer using TCP endpoints'
     description: |
         'This test verifies the SIP_REFER with Replaces attended transfer routine using TCP endpoints'

Modified: asterisk/trunk/tests/sip_attended_transfer_v6/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/sip_attended_transfer_v6/test-config.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/sip_attended_transfer_v6/test-config.yaml (original)
+++ asterisk/trunk/tests/sip_attended_transfer_v6/test-config.yaml Fri Dec 10 09:49:01 2010
@@ -1,4 +1,5 @@
 testinfo:
+    skip: 'Skip while failures are debugged'
     summary:     'Test SIP Attended Transfer'
     description: |
         'This test verifies the SIP_REFER with Replaces attended transfer routine.'

Modified: asterisk/trunk/tests/sip_one_legged_transfer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/sip_one_legged_transfer/test-config.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/sip_one_legged_transfer/test-config.yaml (original)
+++ asterisk/trunk/tests/sip_one_legged_transfer/test-config.yaml Fri Dec 10 09:49:01 2010
@@ -1,4 +1,5 @@
 testinfo:
+    skip: 'Skip while failures are debugged'
     summary:     'Test SIP One-legged Transfer'
     description: |
         'This test verifies a SIP One-legged transfer.'

Modified: asterisk/trunk/tests/sip_one_legged_transfer_v6/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/sip_one_legged_transfer_v6/test-config.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/sip_one_legged_transfer_v6/test-config.yaml (original)
+++ asterisk/trunk/tests/sip_one_legged_transfer_v6/test-config.yaml Fri Dec 10 09:49:01 2010
@@ -1,4 +1,5 @@
 testinfo:
+    skip: 'Skip while failures are debugged'
     summary:     'Test SIP One-legged Transfer'
     description: |
         'This test verifies a SIP One-legged transfer.'

Modified: asterisk/trunk/tests/sip_register/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/sip_register/test-config.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/sip_register/test-config.yaml (original)
+++ asterisk/trunk/tests/sip_register/test-config.yaml Fri Dec 10 09:49:01 2010
@@ -1,4 +1,5 @@
 testinfo:
+    skip: 'Fails to pass under FreeBSD'
     summary:     'Test reception of SIP REGISTER requests'
     description: |
         'Two UACs register with Asterisk. One uses IPv6 addresses and the other

Modified: asterisk/trunk/tests/tests.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/tests.yaml?view=diff&rev=1137&r1=1136&r2=1137
==============================================================================
--- asterisk/trunk/tests/tests.yaml (original)
+++ asterisk/trunk/tests/tests.yaml Fri Dec 10 09:49:01 2010
@@ -9,40 +9,26 @@
     - test: 'directed_pickup'
     - test: 'func_srv'
     - test: 'sip_outbound_address'
-    # Temporarily disabled while failures are debugged
-    #- test: 'sip_attended_transfer'
-    # Temporarily disabled while failures are debugged
-    #- test: 'sip_attended_transfer_tcp'
-    # Temporarily disabled while failures are debugged
-    #- test: 'sip_attended_transfer_v6'
+    - test: 'sip_attended_transfer'
+    - test: 'sip_attended_transfer_tcp'
+    - test: 'sip_attended_transfer_v6'
     - test: 'sip_one_legged_transfer'
-    # Temporarily disabled while failures are debugged
-    #- test: 'sip_one_legged_transfer_v6'
-    # Temporarily disabled while failures are debugged
-    #- test: 'sip_register'
-    # Temporarily disabled while failures are debugged
+    - test: 'sip_one_legged_transfer_v6'
+    - test: 'sip_register'
     - dir: 'sip'
     - test: 'udptl'
     - test: 'udptl_v6'
-    # Temporarily disabled while failures are debugged
-    #- test: 'feature_blonde_transfer'
-    # Temporarily disabled while failures are debugged
-    #- test: 'feature_attended_transfer'
-    # Temporarily disabled while failures are debugged
-    #- test: 'blind-transfer-parkingtimeout'
+    - test: 'feature_blonde_transfer'
+    - test: 'feature_attended_transfer'
+    - test: 'blind-transfer-parkingtimeout'
     - test: 'one-step-parking'
-    # Temporarily disabled while failures are debugged
-    #- test: 'callparking'
-    # Temporarily disabled while failures are debugged
-    #- test: 'callparking_retrieval'
-    # Temporarily disabled while failures are debugged
-    #- test: 'mixmonitor'
-    # Temporarily disabled while failures are debugged
-    #- test: 'mixmonitor_audiohook_inherit'
-    #- dir: 'chanspy'
+    - test: 'callparking'
+    - test: 'callparking_retrieval'
+    - test: 'mixmonitor'
+    - test: 'mixmonitor_audiohook_inherit'
+    - dir: 'chanspy'
     - dir: 'queues'
     - dir: 'fastagi'
-    # Temporarily disabled while failures are debugged
-    #- dir: 'agi'
+    - dir: 'agi'
     - dir: 'pbx'
     - dir: 'fax'




More information about the svn-commits mailing list