aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
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']