Fix testplanner for mingw based builds.
authorJanne Anttila <janne.anttila@digia.com>
Mon, 7 Jan 2013 09:21:36 +0000 (11:21 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 7 Jan 2013 12:36:42 +0000 (13:36 +0100)
commitd180f2f29591592cf7a0261266c9867093101b76
treea4dd05828f9f466498d47ed41313d1d000c32415
parent5735c66f0f33571ef996401ecfe589d2641d00ab
Fix testplanner for mingw based builds.

Testplanner execution for mingw has failed in all CI projects to error
such as:

"In C:\work\build\qtbase\tests\auto\corelib\animation\qabstractanimation,
 no makefile found (looking for:  C:/work/build/qtbase/tests/auto/corelib/
 animation/qabstractanimation/Makefile.Release)"

MinGW uses GNU makefile format which supports $(MAKEFILE_LIST) variable,
and thus syntax such as is supported:
    echo Current makefile is $(firstword $(MAKEFILE_LIST))
That's why we need to do globbing only for MS makefile flavors.

Change-Id: I7b8ecaeedc26e9095ee73e83bbd9878b827eeec8
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
scripts/generic/testplanner.pl