Limereg_1.3.2 test automation
Hi Andreas,
thanks for mentioning this, test automation is an important topic. The
test you mentioned is allready implemented, it is done by automake
during the 'make check' step of git-buildpackage:
tests/test_commandLineTool.c:
[...]
char command[] = "../exe/limereg --tfile " IMGDIR "T_512.bmp
--rfile " IMGDIR "R_512.bmp --nogui "
"| tee /dev/tty | grep -G 'w = \\[5.* deg, 0.5.*,
14.6.*\\]'";
[...]
retcode = system(command);
[...]
I verified (on SID) that the following lines occur during
git-buildpackage, looks good to me :)
============================================================================
Testsuite summary for limereg 1.3.2
============================================================================
# TOTAL: 4
# PASS: 4
Regards,
Roelof
On 03.05.2015 21:37, Andreas Tille wrote:
[...]
Without having tested it myself I'd suggest to add this as
override_dh_auto_test as well as autopkgtest (feel free to ask if you
have no idea what this means). Kind regards Andreas.
Reply to: