harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stepan Mishura <stepan.mish...@gmail.com>
Subject Re: [classlib] running security2 tests
Date Tue, 31 Jan 2006 11:35:53 GMT
Hi Tim

I compiled tests with Eclipse JDT compiler . But for building and running
'security2' tests additional configuration steps are required because we
didn't especially design security2/make ant script to run with Harmony
classlib build. I understand that this causes difficulties. May be it makes
sense to patch the 'security2' ant script for running tests with the
classlib.

Also a possible way to avoid tests recompilation is to comment clean
statements in the 'security2' ant script. For example,
Index: modules/security2/make/build.xml
===================================================================
--- modules/security2/make/build.xml    (revision 373787)
+++ modules/security2/make/build.xml    (working copy)
@@ -242,7 +242,7 @@
     <target name="dist" depends="init, init.win, init.linux, compile.api,
build.jars, build.native, copy.security"
         description="Building Security binaries">
         <!-- clean up -->
-        <delete dir="${tmp}"/>
+        <!--delete dir="${tmp}"/-->
     </target>


@@ -261,7 +261,7 @@
     </target>

     <target name="clean">
-        <delete dir="${build.path}"/>
+        <!--delete dir="${build.path}"/-->
     </target>

     <!-- SUPPORT TARGETS -->

Thanks,
Stepan Mishura
Intel Middleware Products Division

On 1/31/06, Tim Ellison <t.p.ellison@gmail.com> wrote:
>
> Can somebody tell me how to run the security2 tests on the Harmony code?
>
> I can checkout the entire library, and with a JDK on the path, I can
> build it all together.
>
> Then if I go into the security2/make dir the ant target to run the tests
> (called "tests.run") compiles the test suite code too, so I still need
> the JDK on the path -- so how do I run the tests on the Harmony JRE
> classlib/deploy?
>
> The security2/make/build.xml still has a bunch of environment
> assumptions about my JAVA_HOME / CLASSPATH etc. Can we get rid of them?
>
> Thanks
> Tim
>
> --
>
> Tim Ellison (t.p.ellison@gmail.com)
> IBM Java technology centre, UK.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message