1 ################################################################################
3 # !!!!! Do NOT edit this file directly! !!!!!
5 # Edit mktests.PL and/or parts/inc/Sv_set 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;
52 ok(&Devel::PPPort::TestSvUV_set($foo, 12345), 42);
53 ok(&Devel::PPPort::TestSvPVX_const("mhx"), 43);
54 ok(&Devel::PPPort::TestSvPVX_mutable("mhx"), 44);
59 ok($bar->x(), 'foobar');
61 Devel::PPPort::TestSvSTASH_set($bar, 'bar');
62 ok($bar->x(), 'hacker');