From ba63182010961c2f7702c855cfb18805106cb5b1 Mon Sep 17 00:00:00 2001 From: ghidra1 Date: Mon, 4 Nov 2024 16:25:46 -0500 Subject: [PATCH] GP-0 Set JVM ErrorFile path for jUnit tests --- gradle/javaTestProject.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gradle/javaTestProject.gradle b/gradle/javaTestProject.gradle index 3d3fcfe6ca..09a5ddbe4f 100644 --- a/gradle/javaTestProject.gradle +++ b/gradle/javaTestProject.gradle @@ -4,9 +4,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -154,6 +154,7 @@ def initTestJVM(Task task, String rootDirName) { '-Dmachine.name=' + machineName, '-Djava.io.tmpdir=' + testTempDir, '-Duser.data.dir=' + userHome + '/.ghidra/.ghidra-' + srcTreeName + '-Test', + '-XX:ErrorFile=' + testReportDir + '/java_error_%p.log', '-Dcpu.core.override=8', '-XX:ParallelGCThreads=8', '-XX:+UseParallelGC',