Move Test::Simple from lib to ext.
[p5sagit/p5-mst-13.2.git] / ext / Test-Simple / t / skipall.t
CommitLineData
3e887aae 1#!/usr/bin/perl -w
2
15db8fc4 3BEGIN {
a9153838 4 if( $ENV{PERL_CORE} ) {
5 chdir 't';
6 @INC = ('../lib', 'lib');
7 }
8 else {
9 unshift @INC, 't/lib';
10 }
11}
15db8fc4 12
33459055 13use strict;
14
3e887aae 15use Test::More;
3f2ec160 16
3e887aae 17my $Test = Test::Builder->create;
18$Test->plan(tests => 2);
3f2ec160 19
3e887aae 20my $out = '';
21my $err = '';
22{
23 my $tb = Test::More->builder;
24 $tb->output(\$out);
25 $tb->failure_output(\$err);
3f2ec160 26
3e887aae 27 plan 'skip_all';
28}
3f2ec160 29
30END {
3e887aae 31 $Test->is_eq($out, "1..0 # SKIP\n");
32 $Test->is_eq($err, "");
3f2ec160 33}