Skip to content

Commit

Permalink
HBASE-23019 Handle --skip-errorprone on branch-1 (#620)
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Xu Cang <xcang@salesforce.com>
  • Loading branch information
petersomogyi authored Sep 13, 2019
1 parent 72ea366 commit 99e7f60
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions dev-support/hbase-personality.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ function personality_parse_args
delete_parameter "${i}"
HADOOP_PROFILE=${i#*=}
;;
--skip-errorprone)
delete_parameter "${i}"
SKIP_ERRORPRONE=true
;;
esac
done
}
Expand Down Expand Up @@ -168,9 +172,9 @@ function personality_modules
return
fi

# if [[ ${testtype} == compile ]]; then
# extra="${extra} -PerrorProne"
# fi
if [[ ${testtype} == compile ]] && [[ "${SKIP_ERRORPRONE}" != "true" ]]; then
extra="${extra} -PerrorProne"
fi

# If EXCLUDE_TESTS_URL/INCLUDE_TESTS_URL is set, fetches the url
# and sets -Dtest.exclude.pattern/-Dtest to exclude/include the
Expand Down

0 comments on commit 99e7f60

Please sign in to comment.