Skip to content

Instantly share code, notes, and snippets.

@leto
Created July 12, 2011 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leto/1078861 to your computer and use it in GitHub Desktop.
Save leto/1078861 to your computer and use it in GitHub Desktop.
#! parrot-nqp
INIT { pir::load_bytecode('rosella/harness.pbc'); }
my $factory := Rosella::construct(Rosella::Harness::TestRun::Factory);
$factory.add_test_files("PIR", "t/pir/001_load.t");
$factory.add_test_files("Winxed", "t/winxed/001_load.t");
my $testrun := $factory.create();
my $harness := Rosella::construct(Rosella::Harness);
my $testview := $harness.default_view();
$testview.add_run($testrun, 0);
$harness.run($testrun, $testview);
$testview.show_results();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment