-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andy Wardley via RT wrote:
Show quoted text> I've added your string eval test and can confirm that it fails on my
> machine. Interestingly, the string eval test fails on my Macbook, but
> the DateTime tests pass. On a Fedora 64 bit machine all the tests fail.
Running on Strawberry perl 5.10.0.5 on a Vista x64 machine:
As you can see the datetime seems to work, but the string eval seems to
fail:
(TT 2.22 and DateTime 0.50 from CPAN was used)
C:\Users\robin\perl\TT-XS-Stash-DateTime>dmake test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib\lib', 'blib\arch')" t/datetime.t t/string_eval.t
t/datetime.t ..... - dotop(date_time)
- - fetch item: date_time
- - fetching hash item
- - got value, triggering any tied magic
- - TT_RET_OK
- - dotop(date_time_sub)
- - fetch item: date_time_sub
- - fetching hash item
- - got value, triggering any tied magic
- - calling coderef
t/datetime.t ..... 1/2 in call_coderef()
- - about to push args
- - pushed args
- - calling call_sv()
# Creating DateTime object
# Created DateTime object, returning
- - called call_sv()
- - called coderef, returning result
- - TT_RET_CODEREF
t/datetime.t ..... ok
t/string_eval.t .. - dotop(eval_fail)
- - fetch item: eval_fail
- - fetching hash item
- - got value, triggering any tied magic
- - calling coderef
- - in call_coderef()
- - about to push args
- - pushed args
- - calling call_sv()
# About to use NonExistantClass
# Caught expected failure to use Nonexistent::Class at t/string_eval.t
line 24.
# No tests run!
t/string_eval.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests
Test Summary Report
- -------------------
t/string_eval.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 1 tests but ran 0.
Files=2, Tests=2, 1 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU)
Result: FAIL
Failed 1/2 test programs. 0/2 subtests failed.
dmake: Error code 255, while making 'test_dynamic'
C:\Users\robin\perl\TT-XS-Stash-DateTime>
C:\Users\robin\perl\TT-XS-Stash-DateTime>perl t/string_eval.t
1..1
- - dotop(eval_fail)
- - fetch item: eval_fail
- - fetching hash item
- - got value, triggering any tied magic
- - calling coderef
- - in call_coderef()
- - about to push args
- - pushed args
- - calling call_sv()
# About to use NonExistantClass
# Caught expected failure to use Nonexistent::Class at t/string_eval.t
line 24.
# No tests run!
C:\Users\robin\perl\TT-XS-Stash-DateTime>
Maybe this can help you to get one step closer to the problem.
- -- Robin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/
iEYEARECAAYFAkplyvgACgkQHAwEVD/in27biACfar+XRWh6LPu0sC7o0iGGkWhd
bhYAn1aY9zttW9yKu29My4I8FSLOnozm
=dbD1
-----END PGP SIGNATURE-----