This is an automated email from the ASF dual-hosted git repository.
sai_boorlagadda pushed a commit to branch feature/GEODE-5212-specific-category
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to
refs/heads/feature/GEODE-5212-specific-category by this push:
new eb19314 run specific category
eb19314 is described below
commit eb19314aa942abfb3334d5349b7a10ddf2f23495
Author: Sai Boorlagadda <[email protected]>
AuthorDate: Mon Jul 23 14:32:21 2018 -0700
run specific category
---
ci/scripts/test-run.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ci/scripts/test-run.sh b/ci/scripts/test-run.sh
index 887e211..7788b16 100755
--- a/ci/scripts/test-run.sh
+++ b/ci/scripts/test-run.sh
@@ -23,6 +23,7 @@ export BUILDROOT=$(pwd)
export DEST_DIR=${BUILDROOT}/built-geode
export GRADLE_TASK=${1}
export BASE_FILENAME=${2}
+export GRADLE_TEST_CATEGORY=${3}
export TMPDIR=${DEST_DIR}/tmp
export GEODE_BUILD=${DEST_DIR}/test
export GEODE_BUILD_VERSION_NUMBER=$(grep "versionNumber *="
geode/gradle.properties | awk -F "=" '{print $2}' | tr -d ' ')
@@ -110,6 +111,10 @@ fi
DEFAULT_GRADLE_TASK_OPTIONS="--no-daemon -x javadoc -x spotlessCheck"
+if [[ -n "${GRADLE_TEST_CATEGORY}" ]]; then
+ GRADLE_TASK_OPTIONS="-PtestCategory=${GRADLE_TEST_CATEGORY}"
+fi
+
mkdir -p ${GEODE_BUILD}
if [ -v CALL_STACK_TIMEOUT ]; then
geode-ci/ci/scripts/capture-call-stacks.sh ${CALL_STACK_TIMEOUT} &