Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Monday October 20, 2008
11:02 AM

Running Perl 6 Tests In Vim

[ #37704 ]

As a follow up to my post about configuring vim for Perl 6, as a quick hack to get Perl 6 tests to run, add the following line after setfiletype perl6 in the s:PerlTestSetup() function. Then you can hit ',t' in your editor and it will properly run the Perl 6 test in verbose mode (you'll need to fix the path).

noremap <buffer> <leader>t :!perl ~/code/parrot/languages/perl6/t/harness --verbosity 1 "%"<CR>

That's when I discovered that the t/02-test-pm tests are not being run unless you use the undocumented make testtest command. However, those tests have parsing failures. Still investigating.

(And what do you do when you're home sick?)

Update: Seems that has problems. The better way is to run !make "%" from the languages/perl6 directory (those are for standard Perl 6 spec tests). I'll have to play with this more. Damn.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.