Skip to content

Instantly share code, notes, and snippets.

@kapace
kapace / capture.t
Created January 1, 2011 20:41
Set_pmc?
.sub 'test_set_capture'
.local pmc capt
.local pmc capt2
$P1 = new ['String']
capt = new ['Capture']
capt2 = new ['Capture']
capt[0] = 1337
@kapace
kapace / gist:760159
Created December 30, 2010 19:13
parrot/parrot
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = https://kapace@github.com/kapace/parrot.git
[branch "master"]
remote = origin
#!./parrot
# Copyright (C) 2006-2008, Parrot Foundation.
=head1 NAME
t/pmc/parrotlibrary.t - test the ParrotLibrary PMC
=head1 SYNOPSIS
% prove t/pmc/parrotlibrary.t
@kapace
kapace / embed.c
Created December 29, 2010 01:58
parrot embed/api.c tests
c_output_is(linedirective(__LINE__) . <<'CODE', <<'OUTPUT', 'Test Std handles');
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "parrot/parrot.h"
#include "parrot/api.h"
#include "parrot/embed.h"
#include "parrot/extend.h"
@kapace
kapace / coverage.pod
Created December 21, 2010 22:02
Make Cover Documentation

Make Cover

docs/dev/coverage.pod - Make Cover Documentation.

Overview

"make cover" is a very useful tool which generates reports on how well tested parrot code is. The coverage reports are outputted in various formats in cover_db/ after make cover has run.