diff options
author | Ivan Dubrov <idubrov@guidewire.com> | 2014-04-25 14:15:01 -0700 |
---|---|---|
committer | Ivan Dubrov <idubrov@guidewire.com> | 2014-04-25 14:16:33 -0700 |
commit | 597ce0d6ae31ce14a5cb635e907f8428250ab58b (patch) | |
tree | 56716c4c34250bed0d32320148ec9ca20e5da884 /build.gradle | |
parent | af98d8dd7024b07a21169932f486d15596edf613 (diff) | |
download | dcevm-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.gradle | 6 |
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'] |