added backwardCompatibilityTest test task

use
  ./gradlew geode-core:backwardCompatibilityTest

to run all tests annotated with the BackwardCompatibilityTest category


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/d08a75be
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/d08a75be
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/d08a75be

Branch: refs/heads/feature/GEODE-3109
Commit: d08a75bedb5f170291c7fc169575c46e59d1181d
Parents: 565e61f
Author: Bruce Schuchardt <bschucha...@pivotal.io>
Authored: Wed Jun 28 08:36:28 2017 -0700
Committer: Bruce Schuchardt <bschucha...@pivotal.io>
Committed: Wed Jun 28 08:36:57 2017 -0700

----------------------------------------------------------------------
 gradle/test.gradle | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/d08a75be/gradle/test.gradle
----------------------------------------------------------------------
diff --git a/gradle/test.gradle b/gradle/test.gradle
index 3015ec0..d4d6a2c 100644
--- a/gradle/test.gradle
+++ b/gradle/test.gradle
@@ -160,6 +160,16 @@ subprojects {
     }
     reports.junitXml.destination = file "$buildDir/test-reports-dlock"
   }
+  task backwardCompatibilityTest(type:Test) {
+    useJUnit {
+      includeCategories 
'org.apache.geode.test.junit.categories.BackwardCompatibilityTest'
+      excludeCategories 'org.apache.geode.test.junit.categories.FlakyTest'
+    }
+    doFirst {
+      TestPropertiesWriter.writeTestProperties(buildDir, name)
+    }
+    reports.junitXml.destination = file 
"$buildDir/test-reports-backwardcompatibility"
+  }
   task membershipTest(type:Test) {
     useJUnit {
       includeCategories 'org.apache.geode.test.junit.categories.MembershipTest'

Reply via email to