This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Time-HiRes uses PERL compare macro
[perl5.git] / dist / Devel-PPPort / t / newSV_type.t
CommitLineData
8565c31a
MHM
1################################################################################
2#
3# !!!!! Do NOT edit this file directly! !!!!!
4#
5# Edit mktests.PL and/or parts/inc/newSV_type instead.
6#
7# This file was automatically generated from the definition files in the
8# parts/inc/ subdirectory by mktests.PL. To learn more about how all this
9# works, please read the F<HACKERS> file that came with this distribution.
10#
11################################################################################
12
6004d0b5
KW
13use FindBin ();
14
8565c31a
MHM
15BEGIN {
16 if ($ENV{'PERL_CORE'}) {
17 chdir 't' if -d 't';
6004d0b5 18 unshift @INC, '../lib' if -d '../lib' && -d '../ext';
190ae7ea 19 require Config; Config->import;
8565c31a
MHM
20 use vars '%Config';
21 if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) {
22 print "1..0 # Skip -- Perl configured without Devel::PPPort module\n";
23 exit 0;
24 }
25 }
6004d0b5
KW
26
27 use lib "$FindBin::Bin";
28 use lib "$FindBin::Bin/../parts/inc";
29
30 die qq[Cannot find "$FindBin::Bin/../parts/inc"] unless -d "$FindBin::Bin/../parts/inc";
8565c31a
MHM
31
32 sub load {
8d83133d 33 require 'testutil.pl';
6004d0b5 34 require 'inctools';
8565c31a
MHM
35 }
36
37 if (1) {
38 load();
39 plan(tests => 1);
40 }
41}
42
43use Devel::PPPort;
44use strict;
91900b62 45BEGIN { $^W = 1; }
8565c31a
MHM
46
47package Devel::PPPort;
48use vars '@ISA';
49require DynaLoader;
50@ISA = qw(DynaLoader);
190ae7ea 51Devel::PPPort->bootstrap;
8565c31a
MHM
52
53package main;
54
8154c0b1 55is(Devel::PPPort::newSV_type(), 4);
8565c31a 56