1#!perl -w
2#
3# check that .bs files are loaded and executed.
4# During build of  XS::APItest, the presence of APItest_BS should
5# cause a non-empty APItest.bs file to auto-generated. When loading
6# APItest.so, the .bs should be automatically executed, which should
7# set $::bs_file_got_executed.
8
9use strict;
10
11use Test::More;
12use XS::APItest;
13
14is $::bs_file_got_executed, 1, "BS file was executed once";
15
16done_testing();
17
18