Skip to content

Commit

Permalink
add more beef to the grant update
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed Jun 1, 2011
1 parent 8c2dba9 commit 4b43311
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions blog_posts/tpf/TPF_grant_update_6.md
@@ -1,4 +1,4 @@
# Grant Update
# Yet Another TPF Parrot Embed/Extend Grant Update

I am excited to announce that I have completed my next grant milestone! I
recently increased test coverage of extend_vtable.c to at least 95.5%, achiving
Expand All @@ -16,4 +16,20 @@ This was a fruitful exercise, because it was decided by Parrot developers that
some VTABLE functions escaped accidentally and were removed from the public API.
Whiteknight++ removed Parrot_PMC_destroy, which I was using incorrectly in the
extend_vtable tests and which was actually coredumping Parrot, but only on certain
platforms. I then asked
platforms. I then asked ...

The remaining, untested functions in extend_vtable are clone_pmc, cmp_pmc,
get_pointer_keyed_int, get_pointer_keyed_str, remove_vtable_override,
set_pointer_keyed and set_pointer_keyed_str. I leave the testing of these
funcitons as an exercise to the interested reader :)

## Grant Refactoring

This reminds me of a saying, I can't remember it exactly, but it is something
about the best laid plans of camels and butterflies often taste like onions.
Anyway, since I wrote my grant, the Parrot Embed API was deprecated and replaced
with a shinier and better documented system. After talking with cotto++ and
whiteknight++ on IRC, it was decided that working on test coverage for the new
embed API was a better use of resources than writing tests for the old embed
API that my original grant referred to, which will most likely be removed from
Parrot soon.

0 comments on commit 4b43311

Please sign in to comment.