Make it possible to run tests on Windows without Visual Studio or VC++ Express installed
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Nov 2010 21:17:23 +0000 (21:17 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Nov 2010 21:17:23 +0000 (21:17 +0000)
commit3f35e5cacd70e8d0222419eb9e461a0c17248c6e
tree7d84cf504a101fd4723e38fda8e0ee37fdc1f7eb
parentd90b944275c5e3e9f21ea9f0b9fbad065627fc16
Make it possible to run tests on Windows without Visual Studio or VC++ Express installed

webkitdir.pm::setupCygwinEnv dies when Visual Studio and VC++ Express
are not installed. But this function doesn't need to be called when we
already have a build available and are just trying to run the tests.

Fixes <http://webkit.org/b/49932> New Windows 7 bot can't run tests
because Visual Studio/VC++ Express aren't installed

Reviewed by Dave Hyatt.

* Scripts/webkitdirs.pm:
(determineConfigurationForVisualStudio): Don't call setupCygwinEnv, as
it is not needed by this function. Also added a FIXME.

(usingVisualStudioExpress): Call setupCygwinEnv directly rather than
relying on determineConfigurationForVisualStudio doing it.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@72554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKitTools/ChangeLog
WebKitTools/Scripts/webkitdirs.pm