1 ################################################################################
3 # !!!!! Do NOT edit this file directly! !!!!!
5 # Edit mktests.PL and/or parts/inc/pvs instead.
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.
11 ################################################################################
14 if ($ENV{'PERL_CORE'}) {
16 @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext';
17 require Config; import Config;
19 if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) {
20 print "1..0 # Skip -- Perl configured without Devel::PPPort module\n";
30 require 'testutil.pl' if $@;
43 package Devel::PPPort;
46 @ISA = qw(DynaLoader);
47 bootstrap Devel::PPPort;
53 ok(Devel::PPPort::newSVpvs(), "newSVpvs");
54 ok(Devel::PPPort::newSVpvs_flags(), "newSVpvs_flags");
56 Devel::PPPort::sv_catpvs($x);
57 ok($x, "foosv_catpvs");
59 Devel::PPPort::sv_setpvs($x);
62 my %h = ('hv_fetchs' => 42);
63 Devel::PPPort::hv_stores(\%h, 4711);
64 ok(scalar keys %h, 2);
65 ok(exists $h{'hv_stores'});
66 ok($h{'hv_stores'}, 4711);
67 ok(Devel::PPPort::hv_fetchs(\%h), 42);