Variant tests failing on big endian machines



Hi,

the variant tests added with commit d0c52b8bb are failing on big endian machines. As it can be seen from the 
log output below, the VariantClass field is always empty.

Could somebody help me debug the issue and/or point me on the right direction about looking into it?

Let me know if you need any further info.

==== make test log ====
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef 
*Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1.t ...................... ok
t/2.t ...................... ok
t/3.t ...................... ok
t/4.t ...................... ok
t/5.t ...................... ok
t/6.t ...................... ok
t/64bit.t .................. ok
t/7.t ...................... ok
t/8.t ...................... ok
t/9.t ...................... ok
t/a.t ...................... ok
t/b.t ...................... ok
t/boxed_errors.t ........... ok
t/c.t ...................... ok
t/constants.t .............. ok
t/d.t ...................... ok
t/e.t ...................... ok
t/f.t ...................... ok
t/filename.t ............... ok
t/g.t ...................... ok
t/h.t ...................... ok
t/lazy_loader.t ............ ok
t/make_helper.t ............ ok
# Distribution version: 1.310
t/module_versions.t ........ ok
t/options.t ................ ok
t/signal_emission_hooks.t .. ok
t/signal_marshal.t ......... ok
t/signal_query.t ........... ok
t/tied_definedness.t ....... ok
t/tied_flags.t ............. ok
t/tied_set_property.t ...... ok

#   Failed test at t/variant.t line 48.
#          got: ''
#     expected: 'b'

#   Failed test at t/variant.t line 48.
#          got: ''
#     expected: 'y'

#   Failed test at t/variant.t line 48.
#          got: ''
#     expected: 'n'

#   Failed test at t/variant.t line 48.
#          got: ''
#     expected: 'q'

#   Failed test at t/variant.t line 48.
#          got: ''
#     expected: 'i'

#   Failed test at t/variant.t line 48.
#          got: ''
#     expected: 'u'

#   Failed test at t/variant.t line 48.
#          got: ''
#     expected: 'x'

#   Failed test at t/variant.t line 48.
#          got: ''
#     expected: 't'

#   Failed test at t/variant.t line 48.
#          got: ''
#     expected: 'h'

#   Failed test at t/variant.t line 48.
#          got: ''
#     expected: 'd'

#   Failed test at t/variant.t line 48.
#          got: ''
#     expected: 's'

#   Failed test at t/variant.t line 48.
#          got: ''
#     expected: 'o'

#   Failed test at t/variant.t line 48.
#          got: ''
#     expected: 'g'

#   Failed test at t/variant.t line 63.
#          got: ''
#     expected: 'v'

#   Failed test at t/variant.t line 92.
#          got: ''
#     expected: 'a'

#   Failed test at t/variant.t line 119.
#          got: ''
#     expected: 'm'

#   Failed test at t/variant.t line 127.
#          got: ''
#     expected: 'm'

#   Failed test at t/variant.t line 136.
#          got: ''
#     expected: 'm'

#   Failed test at t/variant.t line 151.
#          got: ''
#     expected: 'a'

#   Failed test at t/variant.t line 158.
#          got: ''
#     expected: 'a'

#   Failed test at t/variant.t line 166.
#          got: ''
#     expected: 'a'

#   Failed test at t/variant.t line 181.
#          got: ''
#     expected: '('

#   Failed test at t/variant.t line 188.
#          got: ''
#     expected: '('

#   Failed test at t/variant.t line 202.
#          got: ''
#     expected: '{'
# Looks like you failed 24 tests of 211.
t/variant.t ................ 
Dubious, test returned 24 (wstat 6144, 0x1800)
Failed 24/211 subtests 

Test Summary Report
-------------------
t/variant.t              (Wstat: 6144 Tests: 211 Failed: 24)
  Failed tests:  6, 13, 20, 27, 34, 41, 48, 55, 62, 69, 76
                83, 90, 96, 102, 108, 113, 119, 125, 129
                134, 139, 143, 148
  Non-zero exit status: 24
Files=32, Tests=1170,  4 wallclock secs ( 0.18 usr  0.02 sys +  1.49 cusr  0.08 csys =  1.77 CPU)
Result: FAIL
Failed 1/32 test programs. 24/1170 subtests failed.
Makefile:1163: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 24
==== make test log ====


Att
--
Rafael Fonseca


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]