Use the build result as the test, not the existence of the file.