[sextractor] 01/01: Add CI test

Ole Streicher olebole at moszumanska.debian.org
Fri Apr 10 08:45:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

olebole pushed a commit to branch debian
in repository sextractor.

commit fc087789f1b67e1076b4bc0e9bf736ef650e64be
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Fri Apr 10 10:45:01 2015 +0200

    Add CI test
---
 debian/tests/control  |  3 +++
 debian/tests/sex-test | 20 ++++++++++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..354dbfc
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Test: sex-test
+Depends: sextractor
+Restrictions: allow-stderr
diff --git a/debian/tests/sex-test b/debian/tests/sex-test
new file mode 100755
index 0000000..7c58385
--- /dev/null
+++ b/debian/tests/sex-test
@@ -0,0 +1,20 @@
+#! /bin/sh
+
+cp -r tests/galaxies* tests/default.* "$ADTTMP"
+cd "$ADTTMP"
+
+sextractor galaxies.fits \
+    -WEIGHT_IMAGE galaxies.weight.fits \
+    -CATALOG_NAME galaxies.cat
+
+#
+# MD5 sums were taken from a test run
+#
+exec md5sum -c <<EOF
+2a51e035adc34ed83c4e1b93eeade700  galaxies.fits
+f6257418ba72798e074a3261ffcabb75  galaxies.weight.fits
+b26b2d0eb0fe3f62c043657cca235894  galaxies.cat
+bda4a6048ec6ae7bc82b84e49d6c4b8f  orig.fits
+515e3fc37e1a0314d5cb926dd579b940  prof.fits
+88ee9b64596a5fb6d26ea598d2cce0dd  subprof.fits
+EOF

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/sextractor.git



More information about the debian-science-commits mailing list