Author: plessy Date: 2013-02-09 03:57:03 +0000 (Sat, 09 Feb 2013) New Revision: 12953
Added: trunk/packages/boxshade/trunk/debian/tests/ trunk/packages/boxshade/trunk/debian/tests/control trunk/packages/boxshade/trunk/debian/tests/test-with-example-data Modified: trunk/packages/boxshade/trunk/debian/control trunk/packages/boxshade/trunk/debian/examples Log: Regression tests for users and autopkgtest. Modified: trunk/packages/boxshade/trunk/debian/control =================================================================== --- trunk/packages/boxshade/trunk/debian/control 2013-02-09 03:38:23 UTC (rev 12952) +++ trunk/packages/boxshade/trunk/debian/control 2013-02-09 03:57:03 UTC (rev 12953) @@ -10,6 +10,7 @@ Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/boxshade/trunk/ Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/boxshade/trunk/ Homepage: http://www.ch.embnet.org/software/BOX_form.html +XS-Testsuite: autopkgtest Package: boxshade Architecture: any Modified: trunk/packages/boxshade/trunk/debian/examples =================================================================== --- trunk/packages/boxshade/trunk/debian/examples 2013-02-09 03:38:23 UTC (rev 12952) +++ trunk/packages/boxshade/trunk/debian/examples 2013-02-09 03:57:03 UTC (rev 12953) @@ -1,3 +1,4 @@ debian/input.aln debian/input.msf debian/output.txt +debian/test-with-example-data Added: trunk/packages/boxshade/trunk/debian/tests/control =================================================================== --- trunk/packages/boxshade/trunk/debian/tests/control (rev 0) +++ trunk/packages/boxshade/trunk/debian/tests/control 2013-02-09 03:57:03 UTC (rev 12953) @@ -0,0 +1 @@ +Tests: test-with-example-data Added: trunk/packages/boxshade/trunk/debian/tests/test-with-example-data =================================================================== --- trunk/packages/boxshade/trunk/debian/tests/test-with-example-data (rev 0) +++ trunk/packages/boxshade/trunk/debian/tests/test-with-example-data 2013-02-09 03:57:03 UTC (rev 12953) @@ -0,0 +1,17 @@ +#!/bin/sh -e + +# Create a temporary file + +TEST_OUTPUT=$(mktemp) + +# Run on alignments in MSF or ALN format, and compare to reference ASCII output. + +boxshade -in=/usr/share/doc/boxshade/examples/input.msf -out=$TEST_OUTPUT -def -dev=b +diff $TEST_OUTPUT /usr/share/doc/boxshade/examples/output.txt + +boxshade -in=/usr/share/doc/boxshade/examples/input.msf -out=$TEST_OUTPUT -def -dev=b +diff $TEST_OUTPUT /usr/share/doc/boxshade/examples/output.txt + +# Clean + +rm $TEST_OUTPUT Property changes on: trunk/packages/boxshade/trunk/debian/tests/test-with-example-data ___________________________________________________________________ Added: svn:executable + * _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
