Kaydet (Commit) ffb8e5cf authored tarafından sb's avatar sb

sb118: make sure test OOo instances can dump core upon crash

üst 06fb2992
......@@ -68,6 +68,7 @@ void OfficeConnection::setUp() {
RTL_CONSTASCII_USTRINGPARAM("-quickstart=no"));
rtl::OUString nofirstArg(
RTL_CONSTASCII_USTRINGPARAM("-nofirststartwizard"));
rtl::OUString norestoreArg(RTL_CONSTASCII_USTRINGPARAM("-norestore"));
rtl::OUString acceptArg(
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("-accept=")) + desc);
rtl::OUString argUser;
......@@ -82,8 +83,8 @@ void OfficeConnection::setUp() {
rtl::OUString classpathArg(
RTL_CONSTASCII_USTRINGPARAM("-env:UNO_JAVA_JFW_ENV_CLASSPATH=true"));
rtl_uString * args[] = {
noquickArg.pData, nofirstArg.pData, acceptArg.pData, userArg.pData,
jreArg.pData, classpathArg.pData };
noquickArg.pData, nofirstArg.pData, norestoreArg.pData, acceptArg.pData,
userArg.pData, jreArg.pData, classpathArg.pData };
rtl_uString ** envs = 0;
rtl::OUString argEnv;
if (getArgument(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("env")), &argEnv))
......
......@@ -45,7 +45,7 @@ public final class OfficeConnection {
description = "pipe,name=oootest" + UUID.randomUUID();
ProcessBuilder pb = new ProcessBuilder(
getArgument("path"), "-quickstart=no", "-nofirststartwizard",
"-accept=" + description + ";urp",
"-norestore", "-accept=" + description + ";urp",
"-env:UserInstallation=" + getArgument("user"),
"-env:UNO_JAVA_JFW_ENV_JREHOME=true",
"-env:UNO_JAVA_JFW_ENV_CLASSPATH=true");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment