Now all that is needed to add a new unit test is to create a `t/*.pl`
file and list it in the `handwritten_tests` variable.
To run the test suite, run:
./autogen && ./configure && make check
Fixes #147
8 lines
210 B
Perl
8 lines
210 B
Perl
use Test::More;
|
|
use version;
|
|
|
|
eval { require 'ddclient'; ddclient->import(); 1; } or die($@);
|
|
|
|
is(ddclient->VERSION(), version->parse('v@PACKAGE_VERSION@'), "version matches Autoconf config");
|
|
|
|
done_testing();
|