aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorIvan Dubrov <idubrov@guidewire.com>2014-04-25 14:15:01 -0700
committerIvan Dubrov <idubrov@guidewire.com>2014-04-25 14:16:33 -0700
commit597ce0d6ae31ce14a5cb635e907f8428250ab58b (patch)
tree56716c4c34250bed0d32320148ec9ca20e5da884 /build.gradle
parentaf98d8dd7024b07a21169932f486d15596edf613 (diff)
downloaddcevm-597ce0d6ae31ce14a5cb635e907f8428250ab58b.tar.gz
dcevm-597ce0d6ae31ce14a5cb635e907f8428250ab58b.zip
Adding 'full' tests
* Killing test suites (you can run tests by package) * Introduced categories to run certain tests only on 'light'/'full'
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 43cf1990..f0d0944b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -148,6 +148,8 @@ project('dcevm') {
test {
executable new File(targetJreFile, 'bin/java')
+ systemProperty 'dcevm.test.light', (flavor == 'light')
+
if (kind == 'fastdebug') {
jvmArgs '-XX:LogFile=build/hotspot.log'
}
@@ -160,7 +162,9 @@ project('dcevm') {
ignoreFailures = true
outputs.upToDateWhen { false }
- exclude '**/*Suite.class'
+ useJUnit {
+ excludeCategories ('com.github.dcevm.test.category.' + (flavor == 'light' ? 'Full' : 'Light'))
+ }
}
test.dependsOn project(':hotspot').tasks[kind == 'fastdebug' ? 'installFastdebug' : 'installProduct']