From harmony-dev-return-3598-apmail-incubator-harmony-dev-archive=incubator.apache.org@incubator.apache.org Wed Feb 01 13:48:47 2006 Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 27151 invoked from network); 1 Feb 2006 13:48:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Feb 2006 13:48:46 -0000 Received: (qmail 96021 invoked by uid 500); 1 Feb 2006 13:48:42 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 95873 invoked by uid 500); 1 Feb 2006 13:48:41 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 95862 invoked by uid 99); 1 Feb 2006 13:48:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 05:48:39 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 0CA17CB for ; Wed, 1 Feb 2006 14:48:18 +0100 (CET) Message-ID: <1398186809.1138801698014.JavaMail.jira@ajax.apache.org> Date: Wed, 1 Feb 2006 14:48:18 +0100 (CET) From: "Stepan Mishura (JIRA)" To: harmony-dev@incubator.apache.org Subject: [jira] Updated: (HARMONY-58) Problems trying to run the security2 test suite In-Reply-To: <432874759.1138739494577.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-58?page=all ] Stepan Mishura updated HARMONY-58: ---------------------------------- Attachment: security2ClasslibTestsPatch.txt I've added 'test.classlib' target to run security2 tests on Harmony code base. So the following steps are required: - build the classlib - change dir to modules\security2\make - to compile security2 tests set JAVA_HOME to JDK path - set CLASSPATH=; - ant test.classlib Please let me know whether the patch works for you or not. > Problems trying to run the security2 test suite > ----------------------------------------------- > > Key: HARMONY-58 > URL: http://issues.apache.org/jira/browse/HARMONY-58 > Project: Harmony > Type: Test > Components: Classlib > Environment: x86, WinXP, repo revision 373866 > Reporter: Tim Ellison > Attachments: security2ClasslibTestsPatch.txt > > With a combination of Stepan and Geir's instructions I have: > Built the classlib successfully code by: > - putting a JDK on the path, unset JAVA_HOME and CLASSPATH > - invoke the default target in trunk/make/build.xml > - put in the VM > Built the security tests successfully by: > - cd modules/security2/make > - ant tests.run (ignore the run failures) > Tried to run the tests by: > - set CLASSPATH=%CLASSPATH%;; > - set JAVA_HOME= > - set PATH=%JAVA_HOME%/bin;%PATH% > - hack the build.xml to remove the clean-ups > - ant tests.run > After a few targets going by it trys to run the test, but seems to hang with CPU at 100% and the following output on the console: > --------------------- > <> > run: > [junit] Running java.security.AccessControlExceptionTest > [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.04 sec > [junit] Running java.security.AlgorithmParameterGeneratorSpiTests > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.209 sec > [junit] Running java.security.AlgorithmParameterGeneratorTest1 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira