1 ################################################################################
3 # !!!!! Do NOT edit this file directly! !!!!!
5 # Edit mktests.PL and/or parts/inc/pvs instead.
7 ################################################################################
10 if ($ENV{'PERL_CORE'}) {
12 @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext';
13 require Config; import Config;
15 if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) {
16 print "1..0 # Skip -- Perl configured without Devel::PPPort module\n";
26 require 'testutil.pl';
40 ok(Devel::PPPort::newSVpvs(), "newSVpvs");
42 Devel::PPPort::sv_catpvs($x);
43 ok($x, "foosv_catpvs");
45 Devel::PPPort::sv_setpvs($x);
48 my %h = ('hv_fetchs' => 42);
49 Devel::PPPort::hv_stores(\%h, 4711);
50 ok(scalar keys %h, 2);
51 ok(exists $h{'hv_stores'});
52 ok($h{'hv_stores'}, 4711);
53 ok(Devel::PPPort::hv_fetchs(\%h), 42);