Menu

Commit [r22282]  Maximize  Restore  History

Merged revisions 22279-22281 via svnmerge from

svn+ssh://bugman@.../svn/relax/trunk

........
r22279 | tlinnet | 2014-02-24 13:59:49 +0100 (Mon, 24 Feb 2014) | 3 lines

Renamed unit test, to follow previous namings of unit tests.

Regarding bug #21665, (https://gna.org/bugs/?21665) - Running a CPMG analysis with two fields at two delay times.
........
r22280 | bugman | 2014-02-24 14:14:02 +0100 (Mon, 24 Feb 2014) | 11 lines

Fix for the relaxation dispersion auto-analysis to improve its behaviour in the test suite.

The problem is that the auto-analysis acquires the execution lock (status.exec_lock) but if the
analysis cannot complete due to a bug, the lock is never released. This causes nasty problems for
many subsequent tests, resulting in a cascade of test failures. This is especially problematic in
the GUI tests where the execution lock controls many aspects of the interface.

The solution was simply to run the auto-analysis run() method within a try-finally statement. The
release of the lock occurs in the 'finally' clause, guaranteeing its release.
........
r22281 | bugman | 2014-02-24 14:16:36 +0100 (Mon, 24 Feb 2014) | 7 lines

Improvement for GUI test base tearDown() clean up method.

A wx.Yield() call has been added to allow all GUI operations after a relax reset to complete prior
to the next test starting. This should avoid certain racing conditions which can cause a cascade of
tests to fail.
........

bugman 2014-02-24

changed /branches/double_rotor
changed /branches/double_rotor/auto_analyses/relax_disp.py
changed /branches/double_rotor/test_suite/gui_tests/base_classes.py
changed /branches/double_rotor/test_suite/unit_tests/_specific_analyses/_relax_disp/test_disp_data.py
/branches/double_rotor/auto_analyses/relax_disp.py Diff Switch to side-by-side view
Loading...
/branches/double_rotor/test_suite/gui_tests/base_classes.py Diff Switch to side-by-side view
Loading...
/branches/double_rotor/test_suite/unit_tests/_specific_analyses/_relax_disp/test_disp_data.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.