harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: [classlib-security2] Move to org.apache.harmony namespace complete
Date Fri, 20 Jan 2006 11:36:29 GMT


Tim Ellison wrote:
> Were you running the tests on the classlib code?

Versus?

I was just running security2's testsuite.

> 
> I compiled the tests against a reference implementation,

What do you mean by this?

  and had limited
> success running tests there.  I tried switching to use the classlib code
> to run the tests, but I don't see an Ant target that _just_ runs the
> tests (it starts compiling the natives again, and that fails for me).
> 
> It would be useful if the script was modified to build against the
> existing classlib code, and/or the tests.run target simply ran the tests
> if the build is up to date.

No kidding.

> 
> p.s. looks like the ascii/binary flag need flipping on some of the ant
> scripts.

k

> 
> Regards
> Tim
> 
> Geir Magnusson Jr wrote:
>> I was able to test in Ubuntu 5.1 on a VMWare partition.... all tests
>> pass....
>>
>> Geir Magnusson Jr wrote:
>>> Right - I need to put that back in...
>>>
>>> put junit and bcprov on your classpath... .or wait a few min until I
>>> redo the build again to do it automatically.  evil classpath....
>>>
>>>
>>>
>>> Tim Ellison wrote:
>>>> Anything special required for the environment?
>>>> What classpath do you have set-up?
>>>>
>>>> Regards,
>>>> Tim
>>>> --------------------
>>>> tellison@clear:~/Harmony/modules/security2/make$ ant tests.run
>>>> Buildfile: build.xml
>>>>
>>>> ...<snip>...
>>>>
>>>> tests.compile:
>>>>      [echo] Compiling Security tests from
>>>> /home/tellison/Harmony/modules/security2/test/common/unit,
>>>> /home/tellison/Harmony/modules/security2/test/linux/unit
>>>>
>>>> tests:
>>>>
>>>> run:
>>>>     [junit] Running java.security.AccessControlExceptionTest
>>>>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.012
>>>> sec
>>>>     [junit] Running java.security.AlgorithmParameterGeneratorSpiTests
>>>>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.085
>>>> sec
>>>>     [junit] Running java.security.AlgorithmParameterGeneratorTest1
>>>>     [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.016
>>>> sec
>>>>
>>>> BUILD FAILED
>>>> /home/tellison/Harmony/modules/security2/make/build.xml:396: Test
>>>> java.security.AlgorithmParameterGeneratorTest1 failed
>>>>
>>>> Total time: 7 seconds
>>>> tellison@clear:~/Harmony/modules/security2/make$
>>>>
>>>>
>>>>
>>>> Geir Magnusson Jr wrote:
>>>>> That took longer than I thought, but I thought it generally productive
>>>>> for me as I understand it a lot more, and in general because we got
>>>>> some
>>>>> good discussion and broader awareness.
>>>>>
>>>>> All tests pass on WindowsXP - someone needs to test on linux to make
>>>>> sure I didn't break anything.
>>>>>
>>>>> For next steps, I'd like to modify the local security2 component build
>>>>> to product artifacts that drop in with the rest, so we can get rid of
>>>>> security/
>>>>>
>>>>> Once we have that done, we could re-structure to be like the others.
>>>>> But
>>>>> first, it would be good to have it be a "first-class citizen" in the
>>>>> classlibrary.
>>>>>
>>>>> What's the easiest way to do this?
>>>>>
>>>>> geir
>>>>>
>>>
> 

Mime
View raw message