mailr17730 - /trunk/test_suite/test_suite_runner.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 07, 2012 - 22:06:
Author: bugman
Date: Sun Oct  7 22:06:49 2012
New Revision: 17730

URL: http://svn.gna.org/viewcvs/relax?rev=17730&view=rev
Log:
The messsage about skipping the GUI tests due to wxPython being missing is 
now more specific.

This was being shown for all runs of the test suite when it only needs to 
appear if GUI tests have
been run.


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=17730&r1=17729&r2=17730&view=diff
==============================================================================
--- trunk/test_suite/test_suite_runner.py (original)
+++ trunk/test_suite/test_suite_runner.py Sun Oct  7 22:06:49 2012
@@ -232,7 +232,7 @@
         # Nothing missing.
         if not missing_modules:
             # Except for the wx module!
-            if not dep_check.wx_module:
+            if not dep_check.wx_module and hasattr(self, 'gui_result'):
                 print("All GUI tests skipped due to the missing wxPython 
module, no other tests skipped due to missing modules.\n")
 
             # Normal printout.




Related Messages


Powered by MHonArc, Updated Sun Oct 07 22:20:01 2012