tt761_keys_revamp branch is ready

Moritz Lenz moritz at faui2k3.org
Mon Jul 13 22:35:34 UTC 2009


Hi,

Vasily Chekalkin wrote:
> There is still 2 test failures in t/compilers/pct related to hash keys 
> order. I'll be very appreciated if someone can give me idea how to fix them.

Tested on Debian Lenny/amd64, and I had a bit more fallout:

Test Summary Report
-------------------
t/pmc/packfile.t                          (Wstat: 6 Tests: 10 Failed: 0)
  Non-zero wait status: 6
  Parse errors: Bad plan.  You planned 34 tests but ran 10.
t/pmc/packfileannotations.t               (Wstat: 6 Tests: 1 Failed: 0)
  Non-zero wait status: 6
  Parse errors: Bad plan.  You planned 17 tests but ran 1.
t/pmc/packfileconstanttable.t             (Wstat: 6 Tests: 0 Failed: 0)
  Non-zero wait status: 6
  Parse errors: Bad plan.  You planned 14 tests but ran 0.
t/pmc/packfiledirectory.t                 (Wstat: 6 Tests: 4 Failed: 0)
  Non-zero wait status: 6
  Parse errors: Bad plan.  You planned 23 tests but ran 4.
t/pmc/packfilefixupentry.t                (Wstat: 6 Tests: 0 Failed: 0)
  Non-zero wait status: 6
  Parse errors: Bad plan.  You planned 3 tests but ran 0.
t/pmc/packfilefixuptable.t                (Wstat: 6 Tests: 0 Failed: 0)
  Non-zero wait status: 6
  Parse errors: Bad plan.  You planned 3 tests but ran 0.
t/pmc/packfilerawsegment.t                (Wstat: 6 Tests: 0 Failed: 0)
  Non-zero wait status: 6
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
t/compilers/pct/past.t                    (Wstat: 512 Tests: 10 Failed: 2)
  Failed tests:  7, 9
  Non-zero exit status: 2
t/compilers/pct/post.t                    (Wstat: 256 Tests: 6 Failed: 1)
  Failed test:  5
  Non-zero exit status: 1
Files=322, Tests=9871, 76 wallclock secs ( 2.95 usr  0.69 sys + 83.59
cusr 24.67
 csys = 111.90 CPU)
Result: FAIL
make: *** [test_core] Error 1


An example of more verbose test output:
perl t/harness t/pmc/packfileconstanttable.t
./src/pmc/hash.pmc:1427: failed assertion '(INTVAL)hash->key_type == k_type'
Backtrace - Obtained 29 stack frames (max trace depth is 32).
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0
[0x7fcfe480a463]
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0(Parrot_confess+0x87)
[0x7fcfe480a597]
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0
[0x7fcfe4998f5a]
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0
[0x7fcfe487f4a5]
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0
[0x7fcfe487f5cb]
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0
[0x7fcfe494bee4]
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0
[0x7fcfe487e97c]
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0
[0x7fcfe48801d7]
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0(Parrot_thaw+0x68)
[0x7fcfe4880368]
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0(PackFile_Constant_unpack_pmc+0x108)
[0x7fcfe4875668]
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0(PackFile_Constant_unpack+0x16e)
[0x7fcfe487583e]
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0(PackFile_ConstTable_unpack+0x178)
[0x7fcfe48759f8]
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0(PackFile_Segment_unpack+0xe4)
[0x7fcfe4878b14]
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0
[0x7fcfe48794a5]
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0(PackFile_Segment_unpack+0xe4)
[0x7fcfe4878b14]
/home/moritz/tmp/tt761_keys_revamp/blib/lib/libparrot.so.1.3.0(PackFile_unpack+0x41d)
[0x7fcfe4879a5d]
[...]


Cheers,
Moritz


More information about the parrot-dev mailing list