I have spent a lot of the last few days getting pg_upgrade testing working on the buildfarm. First I created a new buildfarm module to run the tests, and got it working on Linux. The the fun started, as I tried to get it working on Windows/Mingw. This uncovered a bunch of bugs in pg_upgrade, two of which took me many hours to track down. There are a couple of loose ends left to tie up, but this should quiet complaints that we don't have any automated testing at all. However, it's really only the first step. The next step will be to create the equivalent of the test script for the MSVC build system, and then the big thing that needs to be done is cross-version testing. That's on my TODO list but it has lots of wrinkles.
↧