Closed mrjimenez closed 3 years ago
So, are we ok to commit now?
Yes, please commit
If you remove lines 484 and 493 from toplevel CMakeLists.txt, it should be OK. If it fails in Win then (what I expect), you can insert them around the addition in gtest/CMakeLists.txt. Otherwise the tests we already have don't run at all on win.
i agree with @Vollstrecker to wrap the tests in gtest/CMakeLists.txt with the if (NOT WIN32)
flag and remove it from the toplevel CMakeLists.txt. In the next step I will look at the gtests and try to make them run on MS Windows.
You can see the test that are not run, because there is a problem in them. It's possible to tell the system that they will fail, so as long as they fail, it's considered passing. If someone fixes this "by accident" these test would succeed and therefore marked as failing, so you can see the problem was fixed. As it could be a sideeffect, noone would try to run the test by hand, so you maybe notice that later, or even to late if "fix" was meanwhile broken again.
It's just not nice to do this with only some tests of the source, and I don't know if it's possible to just put the failing ones in a separate file with too much overhead.