On Sun, 18 Sep 2005, Sisyphus wrote:
> Something is not quite right. Everything compiles ok, but when I run
> 'dmake test' I get:
[...] 


> t\test....ok 1/18not ok 5
> Can't add a user so there really isn't any point in continuing...
> t\test....dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 5-18
>         Failed 14/18 tests, 22.22% okay
> Failed Test Stat Wstat Total Fail  Failed  List of Failed
> ----------------------------------------------------------------------------
> ---
> t\test.t     255 65280    18   28 155.56%  5-18
> Failed 1/1 test scripts, 0.00% okay. 14/18 subtests failed, 22.22% okay.
> dmake:  Error code 255, while making 'test_dynamic'
> dmake:  Error code 255, while making 'test'
> 
> And no other tests get run. (I guess the failure arises because I'm not
> running as Administrator - but the other tests in the test suite should
> still be run.)

This happens because the test exits with a non-zero exit code.
Unfortunately a lot of the libwin32 regression tests are in a
pretty sorry state. A few of them are not even proper test but just
sample programs.

I'll try to fix this properly, but a quick workaround for you would be
to add

    exit unless Win32::IsAdminUser();

after the 4th test of Win32API/t/test.t.

Cheers,
-Jan


Reply via email to