This was what was causing the untracked file I noticed in #32.
Fix issue with skiped tests not being cleaned up properly
but, why was the test skipped ? Reading the code it looks like the skip is due to a missing file. Why is there a "pre" without a corresponding file ? There might be another bug hiding here
Having the *-post.pl run regardless of the test succeeding makes sense. The test itself isn't being skipped (as far as the latest trunk indicates). The *-pre generates the appropriate opt file and the *-post destroys it.
@strk I think you're right, there is some underlying bug if the BasicOutDb test is being skipped. Perhaps it is something specific to my environment that is causing the test to be skipped.
That said, it seems like a good practice to always run the *-post.pl if we run the corresponding *-pre.pl, regardless of whether the actual test is run or not.
if we figure out what triggers the skip, it would probably make sense to skip the test completely, not running the *-pre.pl either.
Thanks, applied, https://trac.osgeo.org/postgis/changeset/14679/
Apply clean-up steps after set-up steps have been applied.
git-svn-id: http://svn.osgeo.org/postgis/trunk@14679 b70326c6-7e19-0410-871a-916f4a2858ee