mailr13250 - in /branches/gui_testing: relax status.py


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

Header


Content

Posted by edward on June 28, 2011 - 10:50:
Author: bugman
Date: Tue Jun 28 10:50:47 2011
New Revision: 13250

URL: http://svn.gna.org/viewcvs/relax?rev=13250&view=rev
Log:
A flag has been added to the status object to indicate if relax is operating 
in a testing mode.


Modified:
    branches/gui_testing/relax
    branches/gui_testing/status.py

Modified: branches/gui_testing/relax
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/relax?rev=13250&r1=13249&r2=13250&view=diff
==============================================================================
--- branches/gui_testing/relax (original)
+++ branches/gui_testing/relax Tue Jun 28 10:50:47 2011
@@ -284,6 +284,9 @@
             elif options.gui_tests:
                 mode = 'GUI tests'
 
+            # Set the status flag.
+            status.test_mode = True
+
         # Test mode.
         elif options.test:
             # Make sure no script is supplied.

Modified: branches/gui_testing/status.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/status.py?rev=13250&r1=13249&r2=13250&view=diff
==============================================================================
--- branches/gui_testing/status.py (original)
+++ branches/gui_testing/status.py Tue Jun 28 10:50:47 2011
@@ -59,6 +59,9 @@
 
         # Execution lock object.
         self.exec_lock = Exec_lock()
+
+        # Testing mode flag.
+        self.test_mode = False
 
         # The Monte Carlo simulation status.
         self.mc_number = None




Related Messages


Powered by MHonArc, Updated Tue Jun 28 11:00:02 2011