new proposed tests and abirules to be added to the suite
Posted: Thu Feb 25, 2010 7:22 pm
We should add an abirule tester with g95, which automatically reports un-deallocated memory at the end of the run. If the .err file contains something, the abirule test should fail.
Note that this is not trivial sometimes, as in 77_ddb/sortph.F90 where an allocatable is made "save". You never know when the last call will be, and hence when to deallocate. This could be avoided by using a proper object in a module with create_ and clean_ routines.
Matthieu
Note that this is not trivial sometimes, as in 77_ddb/sortph.F90 where an allocatable is made "save". You never know when the last call will be, and hence when to deallocate. This could be avoided by using a proper object in a module with create_ and clean_ routines.
Matthieu