ninja: add support for build-time tests

two space indentation, please.