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 the tests
Date Tue, 04 Apr 2006 08:30:55 GMT
On 4/4/06, Tim Ellison wrote:
>
> Mikhail Loenko wrote:
> > 2006/4/4, Tim Ellison <t.p.ellison@gmail.com>:
> >> That looks like the JUnit Ant task is missing -- you still need to put
> >> JUnit into ant/lib etc. to use <junit ...>
> >
> > Actually the tests pass when junit.jar is in CLASSPATH, so seems like
> > <junit...> task works well.
>
> Perhaps the JRE that is running Ant is picking up your CLASSPATH.
>
> > Do you mean that to run the tests I'll have to have two junit's:
> > one in ant/lib and another one in Harmony/depends?
>
> I never set CLASSPATH -- I've simply put junit.jar into my Ant lib and
> the test run fine.


Well ... I thought that this is a common requirement to have junit.jar on
classpath - crypto test suite picks up junit.jar from classpath to run unit
tests on bootclasspath. As far as I included crypto test suite into common
test suite run then you will see that all crypto tests fail :-(

Thanks,
Stepan.

[ I've also got jdtCompilerAdapter.jar and
> org.eclipse.jdt.core_3.2.0.v_631.jar in there for the Eclipse compiler ]
>
> Regards,
> Tim
>
> >> and I'd encourage people to put the Eclipse compiler adapter in there
> >> too so we can use that.
> >>
> >> Regards,
> >> Tim
> >>
> >>
> >> Mikhail Loenko wrote:
> >>> Not only the document.
> >>>
> >>> Now build fails without e.g. junit in classpath:
> >>>
> >>> BUILD FAILED
> >>> H:\make\build-test.xml:58: The following error occurred while
> >>> executing this line:
> >>> H:\modules\luni\make\build.xml:123: The following error occurred while
> >>> executing this line:
> >>> H:\modules\luni\make\common\build.xml:77: Could not create task or
> >>> type of type: junit.
> >>>
> >>> Thanks,
> >>> Mikhail
> >>>
> >>> ---------------------------------------------------------------------
> >>> Terms of use : http://incubator.apache.org/harmony/mailing.html
> >>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> >>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >>>
> >>>
> >> --
> >>
> >> Tim Ellison (t.p.ellison@gmail.com)
> >> IBM Java technology centre, UK.
> >>
> >> ---------------------------------------------------------------------
> >> Terms of use : http://incubator.apache.org/harmony/mailing.html
> >> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> >> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>
> --
>
> Tim Ellison (t.p.ellison@gmail.com)
> IBM Java technology centre, UK.
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>


--
Thanks,
Stepan Mishura
Intel Middleware Products Division

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