File: 25_increment.t

package info (click to toggle)
libppi-perl 1.213-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,808 kB
  • ctags: 648
  • sloc: perl: 12,089; makefile: 8
file content (32 lines) | stat: -rw-r--r-- 687 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/perl

# code/dump-style regression tests for known lexing problems.

# Some other regressions tests are included here for simplicity.

use strict;
BEGIN {
	no warnings 'once';
	$| = 1;
	$PPI::XS_DISABLE = 1;
	$PPI::Lexer::X_TOKENIZER ||= $ENV{X_TOKENIZER};
}

# For each new item in t/data/08_regression add another 14 tests
use Test::More tests => 3606;
use Test::NoWarnings;
use File::Spec::Functions ':ALL';
use Params::Util qw{_INSTANCE};
use PPI::Lexer;
use PPI::Dumper;
use t::lib::PPI;





#####################################################################
# Code/Dump Testing
# ntests = 2 + 14 * nfiles

t::lib::PPI->increment_testdir(qw{ t data 08_regression });