Seems, it does not work :(

Output is (note, it does not depend on if/unless in the string <target
name="-test-module" unless/if="test.portlib"):

support-jar:
     [jar] Building jar:
C:\harmony.top\classlib\trunk\deploy\build\test\support.jar
test-modules:
-compile-native-tests:
-run-native-tests:
   [mkdir] Created dir: C:\harmony.top\classlib\trunk\build\test_report
    [echo] init: passed
    [echo] hyerror: passed
    [echo] hytime: passed
    [exec] Result: 1
    [echo] hyfile: FAILED
touch-errors-file:
-test-module:
-check-for-empty:
-process-empty:
process-empty:
full-report:

but if you add 'if="test.portlib"' to the targets '-compile-native-tests'
and '-run-native-tests' no tests will be run and build failed on the
'-check-for-empty' target only with message "build\test_report not found".

Thanks, Vladimir


On 1/24/07, Mark Hindess <[EMAIL PROTECTED]> wrote:


On 24 January 2007 at 15:53, "Vladimir Ivanov" <[EMAIL PROTECTED]>
wrote:
>
> Thanks Mark,
> now these tests compiled on windows platform but one of them failed:
> -run-native-tests:
>     [mkdir] Created dir: C:\harmony.top\classlib\trunk\build\test_report
>      [echo] init: passed
>      [echo] hyerror: passed
>      [echo] hytime: passed
>      [exec] Result: 1
>      [echo] hyfile: FAILED
>
> Also these tests continue to hang up on x86_64 platform.
> May be special key (-Drun.native.tests=true) will be useful for the time
of
> development infrustructure for first native tests?
>  thanks, Vladimir

I've added test.portlib but I'd really like to understand why it fails
on windows.  Please can someone test it with:

ant -Dbuild.module=portlib -Dtest.portlib=true test

and then look at:

build/test_report/html/native/portlib/1_hyfile-out.txt

Regards,
-Mark.



Reply via email to