[parrot/parrot] caba76: [test] adjust tests for make test VALGRIND=valgrin...

GitHub noreply at github.com
Wed Nov 26 16:23:03 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: caba76f589a9aa1006ba389a4d40d06a6a77a153
      https://github.com/parrot/parrot/commit/caba76f589a9aa1006ba389a4d40d06a6a77a153
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-26 (Wed, 26 Nov 2014)

  Changed paths:
    M ChangeLog
    M lib/Parrot/Test.pm
    M lib/Parrot/Test/PGE.pm
    M t/compilers/imcc/syn/macro.t
    M t/compilers/pct/complete_workflow.t
    M t/compilers/pge/pge_globs.t
    M t/dynoplibs/sysinfo.t
    M t/dynoplibs/time_old.t
    M t/native_pbc/Test.pm
    M t/native_pbc/testdata/integer.pasm
    M t/op/basic.t
    M t/op/exceptions.t
    M t/op/interp.t
    M t/pmc/config.t
    M t/pmc/coroutine.t
    M t/pmc/filehandle.t
    M t/pmc/os.t

  Log Message:
  -----------
  [test] adjust tests for make test VALGRIND=valgrind

result should not interleave with post-exit valgrind ==pid== output
e.g. => "42==16469== Memcheck, a memory error detector"
We need to add "42\n" because ==... is only filtered at new lines.

Some of the filtered valgrind lines are darwin specific:
--$pid:0:syswrap- WARNING: Ignoring sigreturn( ..., UC_RESET_ALT_STACK );
on longjmp, darwin only.
or UNKNOWN task message [id 3403, to mach_task_self(), reply 0x813]

Closes GH #1150


  Commit: ac68d44a0582a6fd514d166fe19d8ffe048f64e0
      https://github.com/parrot/parrot/commit/ac68d44a0582a6fd514d166fe19d8ffe048f64e0
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-26 (Wed, 26 Nov 2014)

  Changed paths:
    M lib/Parrot/Test.pm

  Log Message:
  -----------
  [test] refactor, new valgrind_filter function

also print LEAK SUMMARY: definitely lost: $1 bytes in $2 blocks
if so. GH #1150


Compare: https://github.com/parrot/parrot/compare/bb6326b900c1...ac68d44a0582


More information about the parrot-commits mailing list