Fix unit test failure on machines with an empty ~/.qttest.

Authored by mdawson.

Description

Fix unit test failure on machines with an empty ~/.qttest.

To execute the KdePlatformTheme and the KStyle unit tests, a local
kdeglobals test file is required inside the Qt test folders. If the Qt
test folders don't exist when the test executable starts, this copy will
silently fail, causing further failures.

Now, attempt to pre-create this folder before the copy. Also abort
the test if the folder creation or the file copy fail, to help diagnose
this issue in the future.

REVIEW: 121908

Details

Committed
mdawsonJan 8 2015, 7:43 AM
Parents
R135:aed1ddc7a1fc: Upgrade ECM and KF5 version requirements for 5.6.0 release.
Branches
Unknown
Tags
Unknown