You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polygene.apache.org by pa...@apache.org on 2016/11/28 16:07:48 UTC
[03/14] zest-java git commit: build: set task desc & group for
performance tests
build: set task desc & group for performance tests
Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/3e3a8f29
Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/3e3a8f29
Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/3e3a8f29
Branch: refs/heads/develop
Commit: 3e3a8f2907db2c2486198b36fb478c727b8c897d
Parents: d74b369
Author: Paul Merlin <pa...@apache.org>
Authored: Sun Nov 27 10:36:09 2016 +0100
Committer: Paul Merlin <pa...@apache.org>
Committed: Sun Nov 27 10:36:09 2016 +0100
----------------------------------------------------------------------
.../src/main/groovy/org/apache/zest/gradle/TaskGroups.groovy | 2 ++
tests/performance/build.gradle | 7 +++++--
2 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/zest-java/blob/3e3a8f29/buildSrc/src/main/groovy/org/apache/zest/gradle/TaskGroups.groovy
----------------------------------------------------------------------
diff --git a/buildSrc/src/main/groovy/org/apache/zest/gradle/TaskGroups.groovy b/buildSrc/src/main/groovy/org/apache/zest/gradle/TaskGroups.groovy
index fb97c47..53a5b5e 100644
--- a/buildSrc/src/main/groovy/org/apache/zest/gradle/TaskGroups.groovy
+++ b/buildSrc/src/main/groovy/org/apache/zest/gradle/TaskGroups.groovy
@@ -31,6 +31,8 @@ class TaskGroups
static final String DOCUMENTATION = JavaBasePlugin.DOCUMENTATION_GROUP
static final String DISTRIBUTION = ApplicationPlugin.APPLICATION_GROUP
static final String DISTRIBUTION_VERIFICATION = 'distribution verification'
+ static final String PERFORMANCE = 'performance'
+ static final String PERFORMANCE_VERIFICATION = 'performance verification'
static final String RELEASE = 'release'
static final String RELEASE_VERIFICATION = 'release verification'
static final String UPLOAD = BasePlugin.UPLOAD_GROUP
http://git-wip-us.apache.org/repos/asf/zest-java/blob/3e3a8f29/tests/performance/build.gradle
----------------------------------------------------------------------
diff --git a/tests/performance/build.gradle b/tests/performance/build.gradle
index f39266c..af5e790 100644
--- a/tests/performance/build.gradle
+++ b/tests/performance/build.gradle
@@ -14,9 +14,8 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
- *
*/
+import org.apache.zest.gradle.TaskGroups
description = "Apache Zest\u2122 Performance Test Suite."
@@ -53,6 +52,10 @@ dependencies {
check.dependsOn compilePerfJava
task testPerf( type: Test, dependsOn: jar ) {
+ group = TaskGroups.PERFORMANCE
+ description = 'Runs performance tests.'
+ maxParallelForks = 1
+ forkEvery = 1
testClassesDir = sourceSets.perf.output.classesDir
classpath = sourceSets.perf.runtimeClasspath
systemProperties[ 'jar.path' ] = jar.archivePath