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.
........