Don't preserve existing landmarks for tests(unless define is used)
authorabcd <qt-info@nokia.com>
Thu, 10 Mar 2011 06:14:32 +0000 (16:14 +1000)
committerabcd <qt-info@nokia.com>
Thu, 10 Mar 2011 07:45:25 +0000 (17:45 +1000)
commitb158cb5581f93bb8d72109a35ba55e77e378568b
treed95a1c4d1d46403887a665d44000a641ad75a0e3
parente538c9c6e4d48b2f82b4ed28a900228ed561afb8
Don't preserve existing landmarks for tests(unless define is used)

If tests crash, they will leave landmarks in the database.  If we
preserve existing landmarks, these 'dead' landmarks will hang around
for all future test runs. Therefore only preserve landmarks when
using the PRESERVE_EXISTING_LANDMARKS define

Task-number: MOBILITY-2669
tests/auto/qlandmarkmanager/tst_qlandmarkmanager.cpp