3 # Checking that testing is sane: use
6 # We've to output the TAP header at begin time to ensure it is outputted,
7 # as the use() below might not work, causing this program to not even compile,
8 # causing the TAP header to not be printed.
10 # --iblech, 2005-06-14
12 # Ok. PIL2JS uses pugs -CPIL ... to get the PIL of a program.
13 # But the "1..1" is outputted at compile-time, too, in addition of the PIL
14 # tree. So now, I removed the BEGIN and put the say "1..1" back into normal
15 # runtime. "But then, when the compilation fails, the TAP header is not
16 # printed?" -- yes. *But*: The test will still not succeed, as a. the header is
17 # not printed, and b. there's no "ok 1" line. Therefore it's ok to output the
18 # plan at runtime. --iblech, 2005-09-19.
21 # L<S11/Compile-time Importation>
23 # We try to load an arbitrary module.