I forgot to add test run example:
build.bat -Dbuild.module=lang-management
-Dtest.case=org.apache.harmony.lang.management.OperatingSystemMXBeanImplTest
test
<snip>
run-tests-api:
   [mkdir] Created dir: C:\harmony.top\classlib\trunk\build\test_report
   [junit] Running
org.apache.harmony.lang.management.OperatingSystemMXBeanImplTest
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
   [junit] Test
org.apache.harmony.lang.management.OperatingSystemMXBeanImplTest
FAILED

touch-failures-file:

touch-errors-file:

run-tests-impl:
   [junit] Running
org.apache.harmony.lang.management.OperatingSystemMXBeanImplTest
   [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.15 sec

thanks, Vladimir

On 2/15/07, Vladimir Ivanov <[EMAIL PROTECTED]> wrote:
Hello everybody,

when I ran separated TestCase'es I met a small issue: in the case when
we have 'api' and 'impl' tests, for example in the lang-management
module, any test always failed in one run due to 'NoClassDefFound'.

Is it OK to add some elements to classpath or should we change a run a
little bit or is it expected behavior?

 thanks, Vladimir

Reply via email to