diff options
author | Siva Velusamy <vsiva@google.com> | 2014-04-29 17:49:29 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-04-29 17:49:29 +0000 |
commit | 7f9aa8084cb3b5bce8b5dfff4e88ab3786348ba6 (patch) | |
tree | f790c5a8fc0b2c59de79f5020102e5288ac28039 | |
parent | c68b15bcbab9cb0427a6d548b1fd5b3b984e4051 (diff) | |
parent | a1ec5899676474427ccc16833427d9cd9e73e13c (diff) | |
download | idea-7f9aa8084cb3b5bce8b5dfff4e88ab3786348ba6.tar.gz |
Merge "Don't enable debugging on JVM running tests"
-rw-r--r-- | build/scripts/common_tests.gant | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build/scripts/common_tests.gant b/build/scripts/common_tests.gant index dff29cd53338..6528d3c8c3cb 100644 --- a/build/scripts/common_tests.gant +++ b/build/scripts/common_tests.gant @@ -61,7 +61,12 @@ target('run_tests': 'Run java tests') { }; } - commonJvmArgs().each { jvmarg(value: it) } + commonJvmArgs().each { + if (!it.startsWith("-Xdebug") && !it.startsWith("-Xrunjdwp")) { // don't run tests with debug enabled + jvmarg(value: it) + } + } + if (isDefined("jvm_args")) { jvm_args.each { jvmarg(value: it) } |