#
# And even when that will be fixed, this is a basic
# test and should not rely on shared variables
-#
+#
# This will test the basic API, it will not use any coderefs
# as they are more advanced
#
use ExtUtils::testlib;
use strict;
-BEGIN { print "1..15\n" };
+BEGIN { $| = 1; print "1..15\n" };
use threads;
sub ok {
my ($id, $ok, $name) = @_;
-
+
# You have to do it this way or VMS will get confused.
print $ok ? "ok $id - $name\n" : "not ok $id - $name\n";
printf "# Failed test at line %d\n", (caller)[2] unless $ok;
-
+
return $ok;
}
DEBUG_P(debprofdump());
+#if defined(PERLIO_LAYERS)
+ /* No more IO - including error messages ! */
+ PerlIO_cleanup(aTHX);
+#endif
+
/* The exit() function will do everything that needs doing. */
return STATUS_NATIVE_EXPORT;;
}
if (PL_sv_count != 0 && ckWARN_d(WARN_INTERNAL))
Perl_warner(aTHX_ WARN_INTERNAL,"Scalars leaked: %ld\n", (long)PL_sv_count);
-#if 1 && defined(PERLIO_LAYERS)
+#if defined(PERLIO_LAYERS)
/* No more IO - including error messages ! */
PerlIO_cleanup(aTHX);
#endif