no warnings 'uninitialized';
-diag "Testing Mouse/$Mouse::VERSION (", exists $INC{'Mouse/PurePerl.pm'} ? 'Pure Perl' : 'XS', ")";
+my $xs = !exists( $INC{'Mouse/PuprePerl.pm'} );
+
+diag "Testing Mouse/$Mouse::VERSION (", $xs ? 'XS' : 'Pure Perl', ")";
diag "Soft dependency versions:";
eval { require Moose };
diag " Class::MOP: $Class::MOP::VERSION";
diag " Moose: $Moose::VERSION";
+
+if($xs) { # display info for CPAN testers
+ if(open my $in, '<', 'Makefile') {
+ diag 'xsubpp settings:';
+ while(<$in>) {
+ if(/^XSUBPP/) {
+ diag $_;
+ }
+ }
+ }
+}
+