`make check` behaves different from `make ; make check`

This problem does not arise in the other modules, so I suspect `TestUpscalingBinaries.cmake` has something to do with it.