short-circuit failure in build task when calling test task
Merge pull request #2497 from EndangeredMassa/shortcircuit-build-test

short-circuit failure in build task when calling test task