Compile the tests only if requested.