| 1 | # Before ake install' is performed this script should be runnable with | ||||||||||
| 2 | # `make test'. After `make install' it should work as erl test.pl' | ||||||||||
| 3 | |||||||||||
| 4 | ######################### We start with some black magic to print on failure. | ||||||||||
| 5 | |||||||||||
| 6 | # Change 1..1 below to 1..last_test_to_print . | ||||||||||
| 7 | # (It may become useful if the test is moved to ./t subdirectory.) | ||||||||||
| 8 | |||||||||||
| 9 | 1 | ▶ | BEGIN { $| = 1; print "1..1\n"; } | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | 1 | ▶ | END {print "not ok 1\n" unless $loaded;} | ||||||||
|
Subroutine
END: called CC=2 SCAR=7.6
Branch: 1 branch
| |||||||||||
| 11 | 1 | $loaded = 1; | |||||||||
| 12 | |||||||||||
| 13 | 1 | print "There are no other tests for Get.pm | |||||||||
| 14 | |||||||||||
| 15 | ok 1 | ||||||||||
| 16 | "; | ||||||||||