Author: bugman Date: Tue Jan 20 15:13:19 2015 New Revision: 27243 URL: http://svn.gna.org/viewcvs/relax?rev=27243&view=rev Log: The GUI tests are now skipped for wxPython version <= 2.8 due to bugs causing fatal segfaults. This follows from http://thread.gmane.org/gmane.science.nmr.relax.devel/7502. These wxPython versions are simply too buggy. Modified: trunk/test_suite/test_suite_runner.py Modified: trunk/test_suite/test_suite_runner.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/test_suite_runner.py?rev=27243&r1=27242&r2=27243&view=diff ============================================================================== --- trunk/test_suite/test_suite_runner.py (original) +++ trunk/test_suite/test_suite_runner.py Tue Jan 20 15:13:19 2015 @@ -1,6 +1,6 @@ ############################################################################### # # -# Copyright (C) 2006-2014 Edward d'Auvergne # +# Copyright (C) 2006-2015 Edward d'Auvergne # # # # This file is part of the program relax (http://www.nmr-relax.com). # # # @@ -140,7 +140,7 @@ title(file=sys.stdout, text='GUI tests') # Run the tests. - if dep_check.wx_module: + if dep_check.wx_module and dep_check.version_comparison(dep_check.wx_version, '2.9') >= 0: # Set up the GUI if needed (i.e. not in GUI mode already). app = wx.GetApp() if app == None: @@ -166,7 +166,10 @@ # No wx module installed. else: - print("All GUI tests skipped due to the missing/broken wx module.\n") + if dep_check.wx_module and dep_check.version_comparison(dep_check.wx_version, '2.9') == -1: + print("All GUI tests skipped to avoid segfaults due to bugs in wxPython versions <= 2.8.\n") + else: + print("All GUI tests skipped due to the missing/broken wx module.\n") self.gui_result = 'skip' # Print out a summary of the test suite.