r47280 - in /packages/healpix/healpix-java/trunk/debian: junit rules

lsinger-guest at users.alioth.debian.org lsinger-guest at users.alioth.debian.org
Thu Jun 2 19:53:48 UTC 2016


Author: lsinger-guest
Date: Thu Jun  2 19:53:48 2016
New Revision: 47280

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=47280
Log:
healpix-java: now runs unit tests

Added:
    packages/healpix/healpix-java/trunk/debian/junit   (with props)
Modified:
    packages/healpix/healpix-java/trunk/debian/rules

Added: packages/healpix/healpix-java/trunk/debian/junit
URL: http://svn.debian.org/wsvn/debian-science/packages/healpix/healpix-java/trunk/debian/junit?rev=47280&op=file
==============================================================================
--- packages/healpix/healpix-java/trunk/debian/junit	(added)
+++ packages/healpix/healpix-java/trunk/debian/junit	Thu Jun  2 19:53:48 2016
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+for filename in src/healpix/essentials/test/*.java
+do
+	junit -text $(echo $filename | sed -e s/\.java\$// -e s,^src/,, -e s,/,\.,g)
+done

Propchange: packages/healpix/healpix-java/trunk/debian/junit
------------------------------------------------------------------------------
    svn:executable = *

Modified: packages/healpix/healpix-java/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/healpix/healpix-java/trunk/debian/rules?rev=47280&op=diff
==============================================================================
--- packages/healpix/healpix-java/trunk/debian/rules	(original)
+++ packages/healpix/healpix-java/trunk/debian/rules	Thu Jun  2 19:53:48 2016
@@ -8,3 +8,6 @@
 
 override_dh_installchangelogs:
 	dh_installchangelogs CHANGES
+
+override_dh_auto_test:
+	CLASSPATH=jhealpix.jar debian/junit




More information about the debian-science-commits mailing list