bug 838789: Release builds trigger tests too many times. r=rail