Check that the testprogram compiled before we test the result from running the test. This fixes error when running cmake on Windows.
Merge branch 'master' of https://github.com/Ensembles/ert
Fix windows compilation. Move declaration of variables to start of scope.
Merge pull request #405 from perroe/windows_compilation

Windows compilation