On Tue Sep 09 06:32:42 2014, TSCH wrote:
Show quoted text> On 30.08.2014 23:40, David Dick via RT wrote:
> > Breakpoint 1, regress_test_array_int_in (n_ints=0, ints=0x10054120)
> > at /usr/share/gobject-introspection-1.0/tests/regress.c:599
> > 599 int i, sum = 0;
> > (gdb) p n_ints
> > $1 = 0
>
> Aha, so we have a problem with the inbound array length arg. Please
> try
> again with the ppc64-fixes branch:
> <
https://git.gnome.org/browse/perl-Glib-Object-
> Introspection/log/?h=ppc64-fixes>,
> <
https://git.gnome.org/browse/perl-Glib-Object-
> Introspection/snapshot/ppc64-fixes.zip>.
This is better...
$ make test
cp build/IFiles.pm blib/arch/Glib/Object/Introspection/Install/Files.pm
cp lib/Glib/Object/Introspection.pm blib/lib/Glib/Object/Introspection.pm
[ XS GObjectIntrospection.xs ]
[ CC GObjectIntrospection.c ]
Running Mkbootstrap for Glib::Object::Introspection ()
chmod 644 Introspection.bs
rm -f blib/arch/auto/Glib/Object/Introspection/Introspection.so
[ LD blib/arch/auto/Glib/Object/Introspection/Introspection.so ]
chmod 755 blib/arch/auto/Glib/Object/Introspection/Introspection.so
cp Introspection.bs blib/arch/auto/Glib/Object/Introspection/Introspection.bs
chmod 644 blib/arch/auto/Glib/Object/Introspection/Introspection.bs
LD_LIBRARY_PATH=:build PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-basic-types.t ............ ok
t/arg-checks.t ................ ok
t/arrays.t .................... ok
t/boxed.t ..................... ok
t/cairo-integration.t ......... ok
t/callbacks.t ................. 1/25
# Failed test at t/callbacks.t line 14.
# got: '2'
# expected: '23'
# Failed test at t/callbacks.t line 16.
# got: '-1138286488'
# expected: '23'
# Failed test at t/callbacks.t line 17.
# got: '-1138286488'
# expected: '23'
# Failed test at t/callbacks.t line 18.
# got: '366961760'
# expected: '46'
# Failed test at t/callbacks.t line 22.
# got: '876071792'
# expected: '23'
# Failed test at t/callbacks.t line 26.
# got: '876069584'
# expected: '23'
# Looks like you failed 6 tests of 25.
t/callbacks.t ................. Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/25 subtests
t/closures.t .................. ok
t/constants.t ................. ok
t/enums.t ..................... Failed 3/4 subtests
t/hashes.t .................... ok
t/interface-implementation.t .. ok
t/objects.t ................... ok
t/structs.t ................... ok
t/values.t .................... ok
t/vfunc-chaining.t ............ ok
t/vfunc-ref-counting.t ........ ok
Test Summary Report
-------------------
t/callbacks.t (Wstat: 1536 Tests: 25 Failed: 6)
Failed tests: 3, 6, 9, 14, 19, 25
Non-zero exit status: 6
t/enums.t (Wstat: 11 Tests: 1 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 4 tests but ran 1.
Files=16, Tests=326, 2 wallclock secs ( 0.11 usr 0.03 sys + 0.94 cusr 0.15 csys = 1.23 CPU)
Result: FAIL
Failed 2/16 test programs. 6/326 subtests failed.
make: *** [test_dynamic] Error 255