Author: bugman Date: Fri Sep 6 10:20:54 2013 New Revision: 20873 URL: http://svn.gna.org/viewcvs/relax?rev=20873&view=rev Log: Huge speed up of the GUI tests by the removal of the N_state_model.test_populations test. This problem was identified by running the GUI tests with the '--time' flag. One one test machine, this single test took ~142 seconds to complete when the entire GUI tests took ~242 seconds (i.e. this one test took up to 60% of the whole test suite). This test comes directly from a system test, but the equivalent system test only takes about 6 seconds to complete. The difference is due to the slow generation of the user function GUI pages. Modified: trunk/test_suite/gui_tests/n_state_model.py Modified: trunk/test_suite/gui_tests/n_state_model.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/n_state_model.py?rev=20873&r1=20872&r2=20873&view=diff ============================================================================== --- trunk/test_suite/gui_tests/n_state_model.py (original) +++ trunk/test_suite/gui_tests/n_state_model.py Fri Sep 6 10:20:54 2013 @@ -23,9 +23,25 @@ """GUI tests for the N-state model related activities.""" # relax module imports. +from status import Status; status = Status() from test_suite.gui_tests.base_classes import GuiTestCase from test_suite import system_tests class N_state_model(GuiTestCase, system_tests.n_state_model.N_state_model): """Class for testing the N-state model related functions in the GUI.""" + + def __init__(self, methodName=None): + """Set up the test case class for the system tests.""" + + # Execute the base __init__ methods. + super(N_state_model, self).__init__(methodName) + + # Tests to skip. + blacklist = [ + 'test_populations' + ] + + # Skip the blacklisted tests. + if methodName in blacklist: + status.skipped_tests.append([methodName, None, self._skip_type])