This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Avoid loading .bs files twice when using XSLoader
[perl5.git] / ext / XS-APItest / APItest_BS
index 270dc9c..d9ec22f 100644 (file)
@@ -1,7 +1,7 @@
 #
-# test that non-empty .bs files get executed
+# test that non-empty .bs files get executed (but only once)
 
 $bscode = <<'EOF';
-$::bs_file_got_executed = 1;
+$::bs_file_got_executed++;
 EOF