public static int combine(int status1, int status2) {
    return Math.max(action(status1), action(status2)) | Math.max(scope(status1), scope(status2));
  }
Combines status1 and status2 by individually maximizing action and scope.
Example: combine(END_SPEC, ABORT_FEATURE) == ABORT_SPEC
spock-core/src/main/java/org/spockframework/runtime/RunStatus.java