harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhanghuang...@apache.org
Subject svn commit: r589634 [1/4] - in /harmony/enhanced/buildtest/branches/2.0/tests/stress: patches/ qa/ qa/config/ qa/src/test/ qa/src/test/stress/org/apache/harmony/test/share/stress/ qa/src/test/stress/org/apache/harmony/test/stress/api/java/io/ObjectOutp...
Date Mon, 29 Oct 2007 14:06:15 GMT
Author: zhanghuangzhu
Date: Mon Oct 29 07:05:57 2007
New Revision: 589634

URL: http://svn.apache.org/viewvc?rev=589634&view=rev
Log:
committed HARMONY-4992: comparative tests on memory fragmentation

Added:
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/share/stress/AbstractTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/chain/ChainBadFinalizeTest1/ChainBadFinalizeTest1.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/Fragmentation/
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/Fragmentation/FragmentationTest1024.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/Fragmentation/FragmentationTest64.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/Fragmentation/FragmentationThreadTest16.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationEmptyFinalizerTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizer/
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizer/FragmentationEmptyFinalizerTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizer/FragmentationFinalizerReviveTest64.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizer/FragmentationFinalizerTest1024.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizer/FragmentationFinalizerTest16.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizer/FragmentationFinalizerTest16_1024.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizer/FragmentationFinalizerTest16_65536.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizer/FragmentationFinalizerTest16_8192.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizer/FragmentationFinalizerTest256.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizer/FragmentationFinalizerTest64.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizer/FragmentationFinalizerWaitTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizerReviveTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizerTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizerWaitTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationReference/
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationReference/FragmentationSoftRefTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationReference/FragmentationSoftRefTest1024.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationReference/FragmentationWeakRefTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSoftRefTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationWeakRefTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/share/GcTest.java
Removed:
    harmony/enhanced/buildtest/branches/2.0/tests/stress/patches/build.2.xml.patch
    harmony/enhanced/buildtest/branches/2.0/tests/stress/patches/build.3.xml.patch
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/chain/ChainBadFinalizeTest1/ChainFinalizeTest1.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationBadFinalizeTest1/FragmentationBadFinalizeTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationBadFinalizeTest2/FragmentationBadFinalizeTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizeTest1/FragmentationFinalizeTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizeTest2/FragmentationFinalizeTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationFinalizeTest3/FragmentationFinalizeTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationGCFinalizeTest1/FragmentationGCFinalizeTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationGCFinalizeTest2/FragmentationGCFinalizeTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationGCFinalizeTest3/FragmentationGCFinalizeTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationRandomTest1/FragmentationRandomTest1.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationRandomTest2/FragmentationRandomTest2.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationRandomTest3/FragmentationRandomTest3.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleRandomTest1/FragmentationSimpleRandomTest1.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleRandomTest2/FragmentationSimpleRandomTest2.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleRandomTest3/FragmentationSimpleRandomTest3.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleRandomTest4/FragmentationSimpleRandomTest4.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleRandomTest5/FragmentationSimpleRandomTest5.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleRandomTest6/FragmentationSimpleRandomTest6.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleRandomTest7/FragmentationSimpleRandomTest7.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleRandomTest8/FragmentationSimpleRandomTest8.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleRandomTest9/FragmentationSimpleRandomTest9.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleTest1/FragmentationSimpleTest1.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleTest2/FragmentationSimpleTest2.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleTest3/FragmentationSimpleTest3.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleTest4/FragmentationSimpleTest4.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleTest5/FragmentationSimpleTest5.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleTest6/FragmentationSimpleTest6.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleTest7/FragmentationSimpleTest7.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleTest8/FragmentationSimpleTest8.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSimpleTest9/FragmentationSimpleTest9.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationSoftRefTest1/FragmentationSoftRefTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationTest1/FragmentationTest1.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationTest2/FragmentationTest2.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationTest3/FragmentationTest3.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationThreadBadFinalizeTest1/FragmentationThreadBadFinalizeTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationThreadFinalizeSoftRefTest1/FragmentationThreadFinalizeSoftRefTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/FragmentationThreadFinalizeTest1/FragmentationThreadFinalizeTest.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/share/FragmentationAbstractTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/share/FragmentationBadFinalizeTest1.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/share/FragmentationBadFinalizeTest2.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/share/FragmentationFinalizeTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/share/FragmentationGCFinalizeTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/share/FragmentationRandomTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/share/FragmentationSimpleRandomTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/share/FragmentationSimpleTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/share/FragmentationSoftRefTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/share/FragmentationTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/share/FragmentationThreadBadFinalizeTest1.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/share/FragmentationThreadFinalizeSoftRefTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/gc/frag/share/FragmentationThreadFinalizeTest.java
Modified:
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/build-settings.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/build.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/config/cfg_env.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/depends.properties
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/share/stress/ReliabilityRunner.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/api/java/io/ObjectOutputStream/share/BigSimple.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/api/java/io/stress/readers/FileReader/FileReaderProvider.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/classloader/NotSynchThreads/LargeCode/testCodeLmt_0.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/classloader/NotSynchThreads/SubClasses/testManySubClasses_0.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/classloader/NotSynchThreads/SupIntf/testManySupIntf_01.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/classloader/OneThread/LargeCode/testCodeLmt.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/classloader/OneThread/ManyClasses/testNewClassLoader1.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/classloader/OneThread/SubClasses/testManySubClasses.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/jni/arrays/ArraysTest8.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/misc/MiscWrapper.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressInterruptTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressInterruptTest/noOOME/noSOE/StressInterruptTest01.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressInterruptTest/noOOME/withSOE/StressInterruptTest02.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressInterruptTest/withOOME/noSOE/StressInterruptTest03.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressInterruptTest/withOOME/withSOE/StressInterruptTest04.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressJoinTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressJoinTest/chain/noOOME/noSOE/StressJoinTest01.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressJoinTest/chain/noOOME/withSOE/StressJoinTest02.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressJoinTest/chain/withOOME/noSOE/StressJoinTest03.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressJoinTest/chain/withOOME/withSOE/StressJoinTest04.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressJoinTest/leader/noOOME/noSOE/StressJoinTest05.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressJoinTest/leader/noOOME/withSOE/StressJoinTest06.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressJoinTest/leader/withOOME/noSOE/StressJoinTest07.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressJoinTest/leader/withOOME/withSOE/StressJoinTest08.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSleepTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSleepTest/noOOME/noSOE/StressSleepTest01.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSleepTest/noOOME/withSOE/StressSleepTest02.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSleepTest/withOOME/noSOE/StressSleepTest03.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSleepTest/withOOME/withSOE/StressSleepTest04.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSuspendTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSuspendTest/noOOME/noSOE/StressSuspendTest01.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSuspendTest/noOOME/withSOE/StressSuspendTest02.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSuspendTest/withOOME/noSOE/StressSuspendTest03.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSuspendTest/withOOME/withSOE/StressSuspendTest04.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSynchronizationTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSynchronizationTest/combination/noOOME/noSOE/StressSynchronizationTest09.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSynchronizationTest/combination/noOOME/withSOE/StressSynchronizationTest10.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSynchronizationTest/combination/withOOME/noSOE/StressSynchronizationTest11.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSynchronizationTest/combination/withOOME/withSOE/StressSynchronizationTest12.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSynchronizationTest/synchronized/noOOME/noSOE/StressSynchronizationTest01.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSynchronizationTest/synchronized/noOOME/withSOE/StressSynchronizationTest02.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSynchronizationTest/synchronized/withOOME/noSOE/StressSynchronizationTest03.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSynchronizationTest/synchronized/withOOME/withSOE/StressSynchronizationTest04.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSynchronizationTest/unsynchronized/noOOME/noSOE/StressSynchronizationTest05.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSynchronizationTest/unsynchronized/noOOME/withSOE/StressSynchronizationTest06.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSynchronizationTest/unsynchronized/withOOME/noSOE/StressSynchronizationTest07.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressSynchronizationTest/unsynchronized/withOOME/withSOE/StressSynchronizationTest08.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressThreads09Test/StressThreads09Test.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressThreads09Test/StressThreads09Test.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressThreads11Test/StressThreads11Test.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressThreads11Test/StressThreads11Test.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressThreads12Test/StressThreads12Test.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressThreads12Test/StressThreads12Test.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressThreads13Test/StressThreads13Test.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressThreads13Test/StressThreads13Test.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressWaitNotifyTest.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressWaitNotifyTest/noOOME/noSOE/StressWaitNotifyTest01.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressWaitNotifyTest/noOOME/withSOE/StressWaitNotifyTest02.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressWaitNotifyTest/withOOME/noSOE/StressWaitNotifyTest03.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/StressWaitNotifyTest/withOOME/withSOE/StressWaitNotifyTest04.xml
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/share/StressTestParameters.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/threads/share/StressTestThreadSO.java
    harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/test.dtd

Modified: harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/build-settings.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/build-settings.xml?rev=589634&r1=589633&r2=589634&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/build-settings.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/build-settings.xml Mon Oct 29 07:05:57 2007
@@ -17,57 +17,51 @@
  specific language governing permissions and limitations
  under the License.
 -->
-<!-- 
-Author: Alexei Fedotov
-Version: $Revision: 1.9 $
--->
 <project name="vm.settings">
-    <description>
-        Stress build settings
-    </description>
-
-    <property name="root" location="${basedir}/.." />
-
-    <!-- Set test.jre.home to specify VM to run tests -->
-    <property name="production.runtime" value="${java.home}/../bin/java" />
-    <property name="reference.runtime" location="${production.runtime}" />
-    <!--<property name="tested.runtime" location="${production.runtime}" />-->
-    <property name="qa.location" location="${root}/qa" />
-
-    <!-- DO NOT EDIT SETTINGS BELOW -->
-    <!-- THEY ARE CALCULATED FROM SETTINGS ABOVE-->
-    <property name="harness.cfg" location="${qa.location}/config/cfg_env.xml" />
-    <property name="qa.bin" location="${qa.location}/bin" />
-    <property name="qa.config" location="${qa.location}/config" />
-    <property name="qa.bin.classes" location="${qa.bin}/classes" />
-    <property name="qa.bin.tools" location="${qa.bin}/tools" />
-    <property name="qa.bin.lib" location="${qa.bin}/lib" />
-    <property name="qa.src" location="${qa.location}/src/test/stress" />
-
-    <!-- Specify QA exclude list file name, relative to ${qa.location} -->
-    <property name="qa.exclude.list" value="config/exclude.file" />
-
-    <!-- Specify tool settings -->    
-    <property name="th.src" location="${root}/../tools/harness" />
-    <property name="share.src" location="${root}/../tools/share" />
-    <property name="th.dest" location="${qa.bin.tools}/th.dest" />
-    <property name="th.jar" location="${qa.bin.tools}/th.jar" />    
-    <property name="th.main" value="org.apache.harmony.harness.Main" />
-    
-    <property name="vmtt.src" location="${root}/../tools/vmtt" />
-    <property name="vmtt.dest" location="${qa.bin.tools}/vmtt.dest" />
-    <property name="vmtt.jar" location="${qa.bin.tools}/vmtt.jar" />
-    <property name="vmtt.main.class" value="org.apache.harmony.vmtt.VMTT" />
-    
-    <!-- Specify base directory of DRLVM -->
-    <property name="vm.base.dir" location="${root}/drlvm/trunk" />
-    <property name="vm.component_name" value="gc_mf" />
-
-    <!-- Specify build compiler and mode -->
-    <property name="vm.config" value="debug" />
-    <property name="compiler.win" value="msvc" />
-    <property name="compiler.linux" value="gcc" />
-    <property name="jni.library.name" value="jnitests"/> 
-
+	<description> Stress build settings </description>
+	
+	<property name="root" location="${basedir}/.."/>
+	
+	<!-- Set test.jre.home to specify VM to run tests -->
+	<property name="production.runtime" value="${java.home}/../bin/java"/>
+	<property name="reference.runtime" location="${production.runtime}"/>
+	<!--<property name="tested.runtime" location="${production.runtime}" />-->
+	<property name="qa.location" location="${root}/qa"/>
+	
+	<!-- DO NOT EDIT SETTINGS BELOW -->
+	<!-- THEY ARE CALCULATED FROM SETTINGS ABOVE-->
+	<property name="harness.cfg" location="${qa.location}/config/cfg_env.xml"/>
+	<property name="qa.bin" location="${qa.location}/bin"/>
+	<property name="qa.config" location="${qa.location}/config"/>
+	<property name="qa.bin.classes" location="${qa.bin}/classes"/>
+	<property name="qa.bin.tools" location="${qa.bin}/tools"/>
+	<property name="qa.bin.lib" location="${qa.bin}/lib"/>
+	<property name="qa.src" location="${qa.location}/src/test/stress"/>
+	
+	<!-- Specify QA exclude list file name, relative to ${qa.location} -->
+	<property name="qa.exclude.list" value="config/exclude.file"/>
+	
+	<!-- Specify tool settings -->
+	<property name="th.src" location="${root}/../tools/harness"/>
+	<property name="share.src" location="${root}/../tools/share"/>
+	<property name="th.dest" location="${qa.bin.tools}/th.dest"/>
+	<property name="th.jar" location="${qa.bin.tools}/th.jar"/>
+	<property name="th.main" value="org.apache.harmony.harness.Main"/>
+	
+	<property name="vmtt.src" location="${root}/../tools/vmtt"/>
+	<property name="vmtt.dest" location="${qa.bin.tools}/vmtt.dest"/>
+	<property name="vmtt.jar" location="${qa.bin.tools}/vmtt.jar"/>
+	<property name="vmtt.main.class" value="org.apache.harmony.vmtt.VMTT"/>
+	
+	<!-- Specify base directory of DRLVM -->
+	<property name="vm.base.dir" location="${root}/drlvm/trunk"/>
+	<property name="vm.component_name" value="gc_mf"/>
+	
+	<!-- Specify build compiler and mode -->
+	<property name="vm.config" value="debug"/>
+	<property name="compiler.win" value="msvc"/>
+	<property name="compiler.linux" value="gcc"/>
+	<property name="jni.library.name" value="jnitests"/>
+	
 </project>
 

Modified: harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/build.xml?rev=589634&r1=589633&r2=589634&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/build.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/build.xml Mon Oct 29 07:05:57 2007
@@ -17,331 +17,327 @@
  specific language governing permissions and limitations
  under the License.
 -->
-<!--
-Author: Vladimir Nenashev, Alexei Fedotov
-Version: $Revision: 1.18 $
--->
 <project name="stress.build" default="run.tests">
-    <description>
-        Building stress test suite
-    </description>
-    
-    <import file="build-settings.xml" />
-
-    <!--
-        Set configuration.
-    -->
-    <condition property="if.win" value="true">
-        <os family="Windows" />
-    </condition>
-
-    <condition property="if.linux" value="true">
-        <and>
-            <os name="linux" />
-            <os family="unix" />
-        </and>
-    </condition>
-
-    <condition property="if.x86_64" value="true">
-        <contains string="${os.arch}" substring="x86_64"/>
-    </condition>
-
-    <condition property="if.x86" value="true">
-        <and>
-            <contains string="${os.arch}" substring="86"/>
-            <not>
-                <isset property="if.x86_64"/>
-            </not>
-        </and>
-    </condition>
-
-    <condition property="build.osname" value="win" else="lnx">
-        <isset property="if.win" />
-    </condition>
-    <condition property="compiler" value="${compiler.win}" else="${compiler.linux}">
-        <isset property="if.win" />
-    </condition>
-    <condition property="exe.extension" value=".exe" else="">
-        <isset property="if.win" />
-    </condition>
-    <condition property="build.arch" value="ia32" else="em64t">
-        <isset property="if.x86" />
-    </condition>
-
-    <!--
-        Set DRLVM build location.
-    -->
-    <property name="configuration" value="${build.osname}_${build.arch}_${compiler}" />
-    <property name="vm.build.name" value="${configuration}_${vm.build.arch}_${compiler}_${vm.config}" />
-    <property name="vm.semis.dir" value="${vm.base.dir}/build/${vm.build.name}/semis" />
-    <property name="test.jre.home" value="${vm.base.dir}/build/${vm.build.name}/deploy/jre" />
-    
-    <condition property="vm.component_filename" value="${vm.component_name}.dll" else="lib${vm.component_name}.so" >
-        <isset property="if.win" />
-    </condition>
-
-    <!--
-        Download dependencies.
-    -->
-    <property file="depends.properties"/>
-
-    <target name="get.all" description="Downloading files">
-
-        <echo message="${root}"/>
-        <echo message="${junit.jar}"/>
-
-        <mkdir dir="${junit.dir}" />
-        <download-one-file src="${junit.url}" dest="${junit.jar}"
-            md5="${junit.md5}" />
-
-        <mkdir dir="${cpptasks.dir}" />
-        <download-one-file src="${cpptasks.url}" dest="${cpptasks.jar}"
-            md5="${cpptasks.md5}" />
-
-        <mkdir dir="${antcontrib.dir}" />
-        <download-one-file src="${antcontrib.url}" dest="${antcontrib.jar}"
-            md5="${antcontrib.md5}" />
-
-        <mkdir dir="${jasmin.dir}" />
-        <download-one-file src="${jasmin.url}" dest="${jasmin.zip}"
-            md5="${jasmin.md5}" />
-        <unzip src="${jasmin.zip}" dest="${jasmin.dir}" overwrite="false">
-            <patternset includes="${jasmin.extract.pattern}" />
-        </unzip>
-    </target>
-
-    <macrodef name="download-one-file">
-        <attribute name="src" />
-        <attribute name="dest" />
-        <attribute name="md5" />
-        <sequential>
-            <echo>Checking @{dest}</echo>
-            <available file="@{dest}" type="file"
-                       property="@{dest}.exists" />
-            <antcall target="get.file">
-                <param name="src" value="@{src}" />
-                <param name="dest" value="@{dest}" />
-            </antcall>
-            <checksum file="@{dest}" property="@{dest}.md5" />
-            <condition property="@{dest}.md5.verified" value="true">
-                <equals arg1="${@{dest}.md5}" arg2="@{md5}" />
-            </condition>
-            <antcall target="remove.file.if_bad">
-                <param name="dest" value="@{dest}" />
-            </antcall>
-            <fail unless="@{dest}.md5.verified">
-...
-
-File @{dest} has incorrect md5 checksum.  Expected:
-  @{md5}
-found:
-  ${@{dest}.md5}
-
-            </fail>
-            <echo>Checksum verified (${@{dest}.md5.verified})</echo>
-        </sequential>
-    </macrodef>
-
-    <target name="get.file" unless="${dest}.exists">
-        <echo>Fetching ${dest}</echo>
-        <get src="${src}" dest="${dest}" usetimestamp="true" verbose="true" />
-    </target>
-
-    <target name="remove.file.if_bad" unless="${dest}.md5.verified">
-        <delete file="${dest}" />
-    </target>
-
-    <!--
-        Run tests.
-    -->
-    <target name="run.tests" depends="check.config">
-        <replace file="${harness.cfg}">
-            <replacefilter token="#TestSuiteRoot#" value="${qa.location}" />
-            <replacefilter token="#TestSuiteClassRoot#" value="${qa.bin.classes}" />
-            <replacefilter token="#TestSuiteLibRoot#" value="${qa.bin.lib}" />
-            <replacefilter token="#TestResultRoot#" value="${qa.location}_result" />
-            <replacefilter token="#TestedRuntime#" value="${tested.runtime}" />
-            <replacefilter token="#ReferenceRuntime#" value="${reference.runtime}" />
-            <replacefilter token="#TestedCompile#" value="${java.home}/../bin/javac" /> <!-- not used -->
-            <replacefilter token="#TempStorage#" value="${qa.location}_temporary/" />
-        </replace>
-
-        <java fork="yes" jvm="${production.runtime}" classname="${th.main}" dir="${qa.location}" failonerror="true">
-            <classpath>
-                <pathelement location="${qa.bin.classes}" />
-                <pathelement location="${qa.bin.lib}" />
-                <pathelement location="${th.jar}" />
-                <pathelement location="${junit.jar}" />
-            </classpath>
-            <arg value="-cfp" />
-            <arg value="${harness.cfg}" />
-            <arg value="-exclude" />
-            <arg value="${qa.exclude.list}" />
-            <arg line="-version -failonerror" />
-        </java>
-    </target>
-
-    <!--
-        Set ANT extensions.
-    -->
-    <target name="set.tasks">
-        <taskdef resource="net/sf/antcontrib/antlib.xml">
-            <classpath>
-                <pathelement location="${antcontrib.jar}"/>
-            </classpath>
-        </taskdef>
-    
-        <taskdef resource="cpptasks.tasks">
-            <classpath>
-                <pathelement location="${cpptasks.jar}"/>
-            </classpath>
-        </taskdef>
-        <typedef resource="cpptasks.types">
-            <classpath>
-                <pathelement location="${cpptasks.jar}"/>
-            </classpath>
-        </typedef>
-    </target>    
-
-    <!--
-        Build tests.
-    -->
-    <target name="clean">
-        <delete dir="${qa.bin}" />
-    </target>
-
-    <target name="update" depends="get.all, build.th, build.vmtt, build.qa" />
-
-    <target name="build.qa" depends="build.java, build.native" />
-    
-    <target name="build.ccode" depends="set.tasks">
-        <mkdir dir="${qa.bin.classes}"/>
-        
-        <foreach target="compile.ccode" param="ccodesource" inheritall="true">
-            <path>
-                <fileset dir="${qa.src}" includes="**/*.ccode, **/*.ccodeh">
-                    <depend targetdir="${qa.bin.classes}">
-                        <mapper type="regexp" from="^(.*)\.ccodeh?$$" to="\1.class" />
-                    </depend>
-                </fileset>
-            </path>
-        </foreach>
-    </target>
-    
-    <target name="build.jasmin">
-        <apply executable="${production.runtime}" dest="${qa.bin.classes}"
-            parallel="true" maxparallel="100"
-            verbose="true" skipemptyfilesets="true"
-            failonerror="true" failifexecutionfails="true">
-            <arg value="-jar" />
-            <arg value="${jasmin.jar}" />
-            <arg value="-d" />
-            <arg value="${qa.bin.classes}" />
-            <fileset dir="${qa.src}" includes="**/*.j, **/*.jj" />
-            <mapper type="regexp" from="^(.*)\.jj?$$" to="\1.class" />
-        </apply>
-    </target>
-    
-    <target name="build.java" depends="build.ccode, build.jasmin">
-        <javac debug="true" target="1.5"
-            srcdir="${qa.src}"
-            destdir="${qa.bin.classes}">
-            <classpath>
-                <pathelement location="${th.jar}" />
-                <pathelement location="${junit.jar}" />
-            </classpath>
-        </javac>
-    </target>
-    
-    <target name="build.native">           
-        <mkdir dir="${qa.bin.lib}"/>
-        
-        <cc name="${compiler}"
-            outfile="${qa.bin.lib}/${jni.library.name}"
-            objdir="${qa.bin.lib}"
-            outtype="shared">
-            <fileset dir="${qa.src}">
-                <include name="**/*.c" />
-                <include name="**/*.cpp" />
-            </fileset>
-            <includepath path="${java.home}/../include" />
-            <includepath path="${java.home}/../include/win32"
-                if="if.win" />
-            <includepath path="${java.home}/../include/linux"
-                if="if.linux" />
-        </cc>
-    </target>
-    
-    <target name="compile.ccode">
-        <dirname property="vmtt.class.file.dir" file="${ccodesource}" />
-        <propertyregex property="vmtt.class.file.dir.rembs" input="${vmtt.class.file.dir}" regexp="\\" replace="\/" defaultValue="${vmtt.class.file.dir}" />
-        <propertyregex property="vmtt.package" input="${vmtt.class.file.dir.rembs}" regexp=".*?(\/org\/.*)" select="\1" casesensitive="false" />
-
-        <echo message="VMTT: ${ccodesource} -> ${qa.bin.classes}${vmtt.package}" />
-        <mkdir dir="${qa.bin.classes}${vmtt.package}" />
-        <java classpath="${vmtt.jar}" classname="${vmtt.main.class}"
-            failonerror="true">
-            <arg value="-C" />
-            <arg value="-d${qa.bin.classes}${vmtt.package}" />
-            <arg value="${ccodesource}" />
-        </java>
-    </target>
-
-    <target name="check.config">
-        <echo message="Configuration:         ${configuration}" />
-        <echo message="VM build $${vm.config}: ${vm.config}" />
-
-        <available file="${test.jre.home}/bin/java${exe.extension}"
-            property="test.jre.exists" />
-
-        <condition property="tested.runtime" value="${test.jre.home}/bin/java${exe.extension}" else="${production.runtime}">
-            <isset property="test.jre.exists" />
-        </condition>
-
-        <echo>Tested Java runtime $${tested.runtime}:
-    ${tested.runtime}</echo>
-        <exec executable="${tested.runtime}">
-            <arg value="-version"/>
-        </exec>
-         
-        <echo>Harness configuration file $${harness.cfg}:
-    ${harness.cfg}</echo>
-        <available file="${harness.cfg}" type="file" 
-            property="harness.cfg.exists" />
-        <fail unless="harness.cfg.exists"
-            message="harness configuration file not found"/>
-
-        <echo>Exclude file $${qa.exclude.list}:
-    ${qa.exclude.list}</echo>
-        <available file="${qa.exclude.list}" type="file"
-            property="qa.exclude.list.exists" />
-        <fail unless="qa.exclude.list.exists"
-            message="exclude file not found"/>
-    </target>
-
-    <!--
-        Build tools.
-    -->
-    <target name="build.th">
-        <mkdir dir="${th.dest}" />
-        <javac target="1.5"
-            classpath="${junit.jar}"
-            destdir="${th.dest}" >
-            <src path="${th.src}" />
-            <src path="${share.src}" />
-        </javac>
-        <jar destfile="${th.jar}"
-            basedir="${th.dest}" />
-    </target>
- 
-    <target name="build.vmtt">
-        <mkdir dir="${vmtt.dest}" />
-        <javac target="1.5"
-            srcdir="${vmtt.src}"
-            destdir="${vmtt.dest}"/>
-        <jar destfile="${vmtt.jar}"
-            basedir="${vmtt.dest}"/>
-    </target>
-    
+	<description> Building stress test suite </description>
+	
+	<import file="build-settings.xml"/>
+	
+	<!--
+	Set configuration.
+	-->
+	<condition property="if.win" value="true">
+		<os family="Windows"/>
+	</condition>
+	
+	<condition property="if.linux" value="true">
+		<and>
+			<os name="linux"/>
+			<os family="unix"/>
+		</and>
+	</condition>
+	
+	<condition property="if.x86_64" value="true">
+		<contains string="${os.arch}" substring="x86_64"/>
+	</condition>
+	
+	<condition property="if.x86" value="true">
+		<and>
+			<contains string="${os.arch}" substring="86"/>
+			<not>
+				<isset property="if.x86_64"/>
+			</not>
+		</and>
+	</condition>
+	
+	<condition property="build.osname" value="win" else="lnx">
+		<isset property="if.win"/>
+	</condition>
+	<condition property="compiler" value="${compiler.win}"
+		else="${compiler.linux}">
+		<isset property="if.win"/>
+	</condition>
+	<condition property="exe.extension" value=".exe" else="">
+		<isset property="if.win"/>
+	</condition>
+	<condition property="build.arch" value="ia32" else="em64t">
+		<isset property="if.x86"/>
+	</condition>
+	
+	<!--
+	Set DRLVM build location.
+	-->
+	<property name="configuration"
+		value="${build.osname}_${build.arch}_${compiler}"/>
+	<property name="vm.build.name"
+		value="${configuration}_${vm.build.arch}_${compiler}_${vm.config}"/>
+	<property name="vm.semis.dir"
+		value="${vm.base.dir}/build/${vm.build.name}/semis"/>
+	<property name="test.jre.home"
+		value="${vm.base.dir}/build/${vm.build.name}/deploy/jre"/>
+	
+	<condition property="vm.component_filename" value="${vm.component_name}.dll"
+		else="lib${vm.component_name}.so">
+		<isset property="if.win"/>
+	</condition>
+	
+	<!--
+	Download dependencies.
+	-->
+	<property file="depends.properties"/>
+	
+	<target name="get.all" description="Downloading files">
+		
+		<mkdir dir="${cpptasks.dir}"/>
+		<download-one-file src="${cpptasks.url}" dest="${cpptasks.jar}"
+			md5="${cpptasks.md5}"/>
+		
+		<mkdir dir="${antcontrib.dir}"/>
+		<download-one-file src="${antcontrib.url}" dest="${antcontrib.jar}"
+			md5="${antcontrib.md5}"/>
+		
+		<mkdir dir="${jasmin.dir}"/>
+		<download-one-file src="${jasmin.url}" dest="${jasmin.zip}"
+			md5="${jasmin.md5}"/>
+		<unzip src="${jasmin.zip}" dest="${jasmin.dir}" overwrite="false">
+			<patternset includes="${jasmin.extract.pattern}"/>
+		</unzip>
+		
+		<mkdir dir="${punit.repository}"/>
+		<exec executable="svn" dir="${punit.repository}" failonerror="true">
+			<arg value="checkout"/>
+			<arg value="${punit.url}"/>
+		</exec>
+		<ant dir="${punit.dir}"/>
+		<ant dir="${punit.extension.dir}"/>
+	</target>
+	
+	<macrodef name="download-one-file">
+		<attribute name="src"/>
+		<attribute name="dest"/>
+		<attribute name="md5"/>
+		<sequential>
+			<echo>Checking @{dest}</echo>
+			<available file="@{dest}" type="file" property="@{dest}.exists"/>
+			<antcall target="get.file">
+				<param name="src" value="@{src}"/>
+				<param name="dest" value="@{dest}"/>
+			</antcall>
+			<checksum file="@{dest}" property="@{dest}.md5"/>
+			<condition property="@{dest}.md5.verified" value="true">
+				<equals arg1="${@{dest}.md5}" arg2="@{md5}"/>
+			</condition>
+			<antcall target="remove.file.if_bad">
+				<param name="dest" value="@{dest}"/>
+			</antcall>
+			<fail unless="@{dest}.md5.verified"> ... File @{dest} has incorrect md5
+				checksum. Expected: @{md5} found: ${@{dest}.md5} </fail>
+			<echo>Checksum verified (${@{dest}.md5.verified})</echo>
+		</sequential>
+	</macrodef>
+	
+	<target name="get.file" unless="${dest}.exists">
+		<echo>Fetching ${dest}</echo>
+		<get src="${src}" dest="${dest}" usetimestamp="true" verbose="true"/>
+	</target>
+	
+	<target name="remove.file.if_bad" unless="${dest}.md5.verified">
+		<delete file="${dest}"/>
+	</target>
+	
+	<!--
+	Run tests.
+	-->
+	<target name="run.tests" depends="check.config">
+		<replace file="${harness.cfg}">
+			<replacefilter token="#TestSuiteRoot#" value="${qa.location}"/>
+			<replacefilter token="#TestSuiteClassRoot#"
+				value="${qa.bin.classes}"/>
+			<replacefilter token="#TestSuiteLibRoot#" value="${qa.bin.lib}"/>
+			<replacefilter token="#TestResultRoot#"
+				value="${qa.location}_result"/>
+			<replacefilter token="#TestedRuntime#" value="${tested.runtime}"/>
+			<replacefilter token="#ReferenceRuntime#"
+				value="${reference.runtime}"/>
+			<replacefilter token="#TestedCompile#"
+				value="${java.home}/../bin/javac"/> <!-- not used -->
+			<replacefilter token="#TempStorage#"
+				value="${qa.location}_temporary/"/>
+		</replace>
+		
+		<java fork="yes" jvm="${production.runtime}" classname="${th.main}"
+			dir="${qa.location}" failonerror="true">
+			<classpath>
+				<pathelement location="${qa.bin.classes}"/>
+				<pathelement location="${qa.bin.lib}"/>
+				<pathelement location="${th.jar}"/>
+				<pathelement location="${junit.jar}"/>
+				<pathelement location="${punit.jar}"/>
+				<pathelement location="${punit.ext.jars}"/>
+			</classpath>
+			<arg value="-cfp"/>
+			<arg value="${harness.cfg}"/>
+			<arg value="-exclude"/>
+			<arg value="${qa.exclude.list}"/>
+			<!--<arg line="-logl 1" />-->
+			<arg line="-version -failonerror"/>
+		</java>
+	</target>
+	
+	<!--
+	Set ANT extensions.
+	-->
+	<target name="set.tasks">
+		<taskdef resource="net/sf/antcontrib/antlib.xml">
+			<classpath>
+				<pathelement location="${antcontrib.jar}"/>
+			</classpath>
+		</taskdef>
+		
+		<taskdef resource="cpptasks.tasks">
+			<classpath>
+				<pathelement location="${cpptasks.jar}"/>
+			</classpath>
+		</taskdef>
+		<typedef resource="cpptasks.types">
+			<classpath>
+				<pathelement location="${cpptasks.jar}"/>
+			</classpath>
+		</typedef>
+	</target>
+	
+	<!--
+	Build tests.
+	-->
+	<target name="clean">
+		<delete dir="${qa.bin}"/>
+	</target>
+	
+	<target name="update" depends="get.all, build.th, build.vmtt, build.qa"/>
+	
+	<target name="build.qa" depends="build.java, build.native"/>
+	
+	<target name="build.ccode" depends="set.tasks">
+		<mkdir dir="${qa.bin.classes}"/>
+		
+		<foreach target="compile.ccode" param="ccodesource" inheritall="true">
+			<path>
+				<fileset dir="${qa.src}" includes="**/*.ccode, **/*.ccodeh">
+					<depend targetdir="${qa.bin.classes}">
+						<mapper type="regexp" from="^(.*)\.ccodeh?$$"
+							to="\1.class"/>
+					</depend>
+				</fileset>
+			</path>
+		</foreach>
+	</target>
+	
+	<target name="build.jasmin">
+		<apply executable="${production.runtime}" dest="${qa.bin.classes}"
+			parallel="true" maxparallel="100" verbose="true"
+			skipemptyfilesets="true" failonerror="true"
+			failifexecutionfails="true">
+			<arg value="-jar"/>
+			<arg value="${jasmin.jar}"/>
+			<arg value="-d"/>
+			<arg value="${qa.bin.classes}"/>
+			<fileset dir="${qa.src}" includes="**/*.j, **/*.jj"/>
+			<mapper type="regexp" from="^(.*)\.jj?$$" to="\1.class"/>
+		</apply>
+	</target>
+	
+	<target name="build.java" depends="build.ccode, build.jasmin">
+		<javac target="1.5" srcdir="${qa.src}" destdir="${qa.bin.classes}">
+			<classpath>
+				<pathelement location="${th.jar}"/>
+				<pathelement location="${junit.jar}"/>
+				<pathelement location="${punit.jar}"/>
+			</classpath>
+		</javac>
+	</target>
+	
+	<target name="build.native">
+		<mkdir dir="${qa.bin.lib}"/>
+		
+		<cc name="${compiler}" outfile="${qa.bin.lib}/${jni.library.name}"
+			objdir="${qa.bin.lib}" outtype="shared">
+			<fileset dir="${qa.src}">
+				<include name="**/*.c"/>
+				<include name="**/*.cpp"/>
+			</fileset>
+			<includepath path="${java.home}/../include"/>
+			<includepath path="${java.home}/../include/win32" if="if.win"/>
+			<includepath path="${java.home}/../include/linux" if="if.linux"/>
+		</cc>
+	</target>
+	
+	<target name="compile.ccode">
+		<dirname property="vmtt.class.file.dir" file="${ccodesource}"/>
+		<propertyregex property="vmtt.class.file.dir.rembs"
+			input="${vmtt.class.file.dir}" regexp="\\" replace="\/"
+			defaultValue="${vmtt.class.file.dir}"/>
+		<propertyregex property="vmtt.package"
+			input="${vmtt.class.file.dir.rembs}" regexp=".*?(\/org\/.*)"
+			select="\1" casesensitive="false"/>
+		
+		<echo
+			message="VMTT: ${ccodesource} -> ${qa.bin.classes}${vmtt.package}"/>
+		<mkdir dir="${qa.bin.classes}${vmtt.package}"/>
+		<java classpath="${vmtt.jar}" classname="${vmtt.main.class}"
+			failonerror="true">
+			<arg value="-C"/>
+			<arg value="-d${qa.bin.classes}${vmtt.package}"/>
+			<arg value="${ccodesource}"/>
+		</java>
+	</target>
+	
+	<target name="check.config">
+		<echo message="Configuration:         ${configuration}"/>
+		<echo message="VM build $${vm.config}: ${vm.config}"/>
+		
+		<available file="${test.jre.home}/bin/java${exe.extension}"
+			property="test.jre.exists"/>
+		
+		<condition property="tested.runtime"
+			value="${test.jre.home}/bin/java${exe.extension}"
+			else="${production.runtime}">
+			<isset property="test.jre.exists"/>
+		</condition>
+		
+		<echo>Tested Java runtime $${tested.runtime}: ${tested.runtime}</echo>
+		<exec executable="${tested.runtime}">
+			<arg value="-version"/>
+		</exec>
+		
+		<echo>Harness configuration file $${harness.cfg}: ${harness.cfg}</echo>
+		<available file="${harness.cfg}" type="file"
+			property="harness.cfg.exists"/>
+		<fail unless="harness.cfg.exists"
+			message="harness configuration file not found"/>
+		
+		<echo>Exclude file $${qa.exclude.list}: ${qa.exclude.list}</echo>
+		<available file="${qa.exclude.list}" type="file"
+			property="qa.exclude.list.exists"/>
+		<fail unless="qa.exclude.list.exists" message="exclude file not found"/>
+	</target>
+	
+	<!--
+	Build tools.
+	-->
+	<target name="build.th">
+		<mkdir dir="${th.dest}"/>
+		<javac target="1.5" debug="true" classpath="${junit.jar}"
+			destdir="${th.dest}">
+			<src path="${th.src}"/>
+			<src path="${share.src}"/>
+		</javac>
+		<jar destfile="${th.jar}" basedir="${th.dest}"/>
+	</target>
+	
+	<target name="build.vmtt">
+		<mkdir dir="${vmtt.dest}"/>
+		<javac target="1.5" srcdir="${vmtt.src}" destdir="${vmtt.dest}"/>
+		<jar destfile="${vmtt.jar}" basedir="${vmtt.dest}"/>
+	</target>
+	
 </project>
 

Modified: harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/config/cfg_env.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/config/cfg_env.xml?rev=589634&r1=589633&r2=589634&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/config/cfg_env.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/config/cfg_env.xml Mon Oct 29 07:05:57 2007
@@ -19,11 +19,6 @@
 -->
 <!DOCTYPE env_configuration SYSTEM "cfg_env.dtd">
 
-<!-- 
-Author: Alexander Morozov, Andrey N. Tyuryushkin, Aleksey V. Yantsen, Vladimir Nenashev
-Version: $Revision: 1.13 $
--->
-
 <env_configuration>
 
     <properties>

Modified: harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/depends.properties
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/depends.properties?rev=589634&r1=589633&r2=589634&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/depends.properties (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/depends.properties Mon Oct 29 07:05:57 2007
@@ -18,11 +18,6 @@
 ibiblio.base=http://www.ibiblio.org
 sf.base=http://mesh.dl.sourceforge.net/sourceforge
 
-junit.dir=${depends.jars}/junit_3.8.2
-junit.jar=${junit.dir}/junit.jar
-junit.url=${ibiblio.base}/maven2/junit/junit/3.8.2/junit-3.8.2.jar
-junit.md5=28e7eb9eeefe31a657c68755bfccc541
-
 cpptasks.dir=${depends.jars}/cpptasks_1.0b3
 cpptasks.jar=${cpptasks.dir}/cpptasks.jar
 cpptasks.url=${ibiblio.base}/maven2/ant-contrib/cpptasks/1.0b3/cpptasks-1.0b3.jar
@@ -40,3 +35,12 @@
 jasmin.extract.pattern=jasmin-1.1/jasmin.jar
 jasmin.jar=${jasmin.dir}/${jasmin.extract.pattern}
 
+punit.repository=${depends.dir}/punit
+punit.version=0.12
+punit.url=http://p-unit.svn.sourceforge.net/svnroot/p-unit/trunk
+punit.dir=${punit.repository}/trunk/punit
+punit.extension.dir=${punit.repository}/trunk/punit.extension
+punit.libdir=${punit.extension.dir}/lib
+junit.jar=${punit.libdir}/junit-4.3.1.jar
+punit.jar=${punit.dir}/p-unit-${punit.version}.jar
+punit.extension.jars=${punit.extension.dir}/p-unit-extension-${punit.version}.jar;${punit.libdir}/itext-2.0.2.jar;${punit.libdir}/jcommon-1.0.9.jar;${punit.libdir}/jfreechart-1.0.5.jar

Added: harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/share/stress/AbstractTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/share/stress/AbstractTest.java?rev=589634&view=auto
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/share/stress/AbstractTest.java (added)
+++ harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/share/stress/AbstractTest.java Mon Oct 29 07:05:57 2007
@@ -0,0 +1,120 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.harmony.test.share.stress;
+
+import java.io.PrintStream;
+
+import org.punit.assertion.Assert;
+import org.punit.listener.FieldSetter;
+import org.punit.runner.ConcurrentRunner;
+import org.punit.runner.Runner;
+import org.punit.type.Loop;
+import org.punit.type.Test;
+import org.punit.util.MemoryUtil;
+
+/**
+ * Class <code>ReliabilityTest</code> runs a PUnit stress test.
+ * 
+ * Test timeout in seconds is specified by <code>timeToWork</code> property.
+ * After the timeout is expired, tests are signaled to stop gracefully.
+ * 
+ * @author Alexei Fedotov
+ */
+public abstract class AbstractTest implements Loop, Test {
+
+    public static int concurrentCount = 8;
+
+    public long timeToWork = 30000;
+
+    public long toWork() {
+        return timeToWork;
+    }
+
+    protected static Runner _runner;
+    
+    /**
+     * Is called from the <code>main()</code> method of a test to run the test
+     * in a stand-alone mode.
+     */
+    protected static void runTestClass() {
+        _runner = new ConcurrentRunner(concurrentCount);
+        _runner.addEventListener(new FieldSetter(System.getProperties()));
+
+        try {
+            _runner.run(getClassFromStack());
+        } catch (Throwable t) {
+            error(t);
+        }
+
+        // DRL harness fail and pass codes
+        System.exit((_runner.testResult().failures().size() == 0) ? 104 : 105);
+    }
+
+    /**
+     * @return a child class which calls the {@link #runTestClass()} method.
+     */
+    private static Class<?> getClassFromStack() {
+        final int CLASS_STACK_POS = 4;
+
+        final StackTraceElement ste = Thread.currentThread().getStackTrace()[CLASS_STACK_POS];
+        final String testClassName = ste.getClassName();
+        Assert.assertEquals("main", ste.getMethodName());
+
+        try {
+            return Class.forName(testClassName);
+        } catch (ClassNotFoundException cnfe) {
+            throw new RuntimeException(cnfe);
+        }
+    }
+
+    private static final PrintStream log = System.out;
+
+    public static boolean debug = true;
+
+    public static synchronized void debug(String msg) {
+        if (debug) {
+            MemoryUtil.releaseWilderness();
+            log.println("[debug] " + msg);
+            MemoryUtil.allocateWilderness();
+        }
+    }
+
+    public static synchronized void error(Throwable t) {
+        MemoryUtil.releaseWilderness();
+        log.println("[error] Unexpected " + t);
+        t.printStackTrace(log);
+        MemoryUtil.allocateWilderness();
+
+        // DRL harness error code
+        System.exit(106);
+    }
+
+    public void setUpBeforeWatchers() throws Exception {
+    }
+
+    public void setUpAfterWatchers() throws Exception {
+    }
+
+    public void tearDownBeforeWatchers() throws Exception {
+    }
+
+    public void tearDownAfterWatchers() throws Exception {
+    }    
+}

Modified: harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/share/stress/ReliabilityRunner.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/share/stress/ReliabilityRunner.java?rev=589634&r1=589633&r2=589634&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/share/stress/ReliabilityRunner.java (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/stress/qa/src/test/stress/org/apache/harmony/test/share/stress/ReliabilityRunner.java Mon Oct 29 07:05:57 2007
@@ -31,14 +31,14 @@
 import org.apache.harmony.test.share.stress.util.Parser;
 
 /**
- * Class <code>ReliabilityRunner</code> runs a stress test scenario buit from
+ * Class <code>ReliabilityRunner</code> runs a stress test scenario built from
  * simple building blocks. It receives a list of activities via command line or
  * <code>org.apache.harmony.test.ReliabilityRunner.params</code> property.
  * 
  * Timeouts in seconds are specified by the properties
  * <code>org.apache.harmony.test.ReliabilityRunner.timeToWork</code>,
  * <code>org.apache.harmony.test.ReliabilityRunner.timeToAbort</code>. After
- * the first timeout is expired, tests are signalled to terminate gracefully. VM
+ * the first timeout is expired, tests are signaled to terminate gracefully. VM
  * is aborted after the expiration of the second timeout.
  * 
  * Decorator syntax is the following: FIXME



Mime
View raw message