mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +02:00
gradle test option tweaks
This commit is contained in:
parent
6a8788acbc
commit
a2b7869199
2 changed files with 22 additions and 5 deletions
|
@ -178,10 +178,14 @@ def initTestJVM(Task task, String rootDirName) {
|
|||
'-Duser.language=en',
|
||||
'-Djdk.attach.allowAttachSelf',
|
||||
'-javaagent:' + jmockitPath,
|
||||
'-DLock.DEBUG=true',
|
||||
'-noverify',
|
||||
'-XX:TieredStopAtLevel=1',
|
||||
'-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=' + debugPort
|
||||
|
||||
|
||||
// Note: this args are used to speed-up the tests, but are not safe for production code
|
||||
// -noverify and -XX:TieredStopAtLevel=1
|
||||
|
||||
// Note: modern remote debug invocation;
|
||||
// -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000
|
||||
|
||||
|
@ -191,6 +195,16 @@ def initTestJVM(Task task, String rootDirName) {
|
|||
// -Xnoagent
|
||||
// -Djava.compiler=NONE
|
||||
// -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
|
||||
|
||||
//
|
||||
// TODO Future Updates:
|
||||
// The test configuration should be updated to support all known modes of operation:
|
||||
// command-line test execution, CI test execution of a branch upon request, and full
|
||||
// CI test execution (this is slow and may need to run overnight). We do not currently
|
||||
// support well running tests via the command-line. See discussion at github 2854.
|
||||
// For better command-line usage we will need to update tests such that they can
|
||||
// share a VM, enabling us to elimnate the use of 'forEver 1' in this file.
|
||||
//
|
||||
}
|
||||
}
|
||||
/*********************************************************************************
|
||||
|
|
|
@ -346,9 +346,12 @@ def initTestJVM(Task task, String rootDirName) {
|
|||
'-Duser.language=en',
|
||||
'-Djdk.attach.allowAttachSelf',
|
||||
'-javaagent:' + jmockitPath,
|
||||
'-DLock.DEBUG=true',
|
||||
'-noverify',
|
||||
'-XX:TieredStopAtLevel=1',
|
||||
'-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=' + debugPort
|
||||
|
||||
// Note: this args are used to speed-up the tests, but are not safe for production code
|
||||
// -noverify and -XX:TieredStopAtLevel=1
|
||||
|
||||
// Note: modern remote debug invocation;
|
||||
// -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue