Automated and Manual Tests Run with only one ENV var set

This commit is contained in:
edburns%acm.org 2007-02-22 21:31:43 +00:00
Родитель 8cf8c1f76a
Коммит 28377178b5
2 изменённых файлов: 9 добавлений и 2 удалений

2
java/dist/build.xml поставляемый
Просмотреть файл

@ -154,6 +154,8 @@
<copy todir="${dist.home}/samples/automated/src/main/java">
<fileset dir="${source.home}/webclient/test/automated/src/classes">
<exclude name="**/*Bookmark*.java" />
<exclude name="**/*Preferences*.java" />
<exclude name="**/*Profile*.java" />
</fileset>
</copy>
<copy todir="${dist.home}/samples/automated/src/main/resources">

9
java/dist/netbeans/build.xml поставляемый
Просмотреть файл

@ -201,7 +201,7 @@ ${so.prefix}xul.${so.extension}.
</copy>
</target>
<target name="run">
<target name="run" depends="-init-check">
<java classname="org.mozilla.webclient.test.TestBrowser" fork="true">
<jvmarg value="-DNSPR_LOG_MODULES=webclient:4,webclientstub:4,pluglets:4"/>
@ -210,8 +210,12 @@ ${so.prefix}xul.${so.extension}.
<jvmarg value="-DBROWSER_BIN_DIR=${browser.bin.dir}"/>
<jvmarg line="${debug.jvm.args}"/>
<jvmarg line="-Djava.util.logging.config.file=${basedir}${FILE_PATH_SEP}logging.properties"/>
<jvmarg line="-Djava.library.path=${browser.bin.dir}${PATH_SEP}${browser.bin.dir}${FILE_PATH_SEP}components" />
<classpath refid="run.classpath"/>
<classpath>
<path path="${run.test.classpath}"/>
</classpath>
</java>
</target>
@ -260,6 +264,7 @@ ${so.prefix}xul.${so.extension}.
<jvmarg value="-DBROWSER_BIN_DIR=${browser.bin.dir}"/>
<jvmarg line="${debug.jvm.args}"/>
<jvmarg line="-Djava.util.logging.config.file=${basedir}${FILE_PATH_SEP}logging.properties"/>
<jvmarg line="-Djava.library.path=${browser.bin.dir}${PATH_SEP}${browser.bin.dir}${FILE_PATH_SEP}components" />
<batchtest todir="${build.test.results.dir}">
<fileset dir="${test.src.dir}" includes="@{includes}"/>