Add warning to run script on main target, not test target.