debian/{rules,control}: activate unit tests.
authorgregor herrmann <gregoa@debian.org>
Tue, 1 Jan 2013 17:34:06 +0000 (18:34 +0100)
committergregor herrmann <gregoa@debian.org>
Tue, 1 Jan 2013 17:34:06 +0000 (18:34 +0100)
debian/control
debian/rules

index 927b913..547304b 100644 (file)
@@ -24,6 +24,7 @@ Build-Depends-Indep: ant,
                      libpostgresql-jdbc-java,
                      libreoffice-java-common (>= 1:3.5),
                      libspin-java,
+                     junit,
                      ure,
                      velocity
 Standards-Version: 3.9.4
index 6f31b72..93a33bd 100755 (executable)
@@ -13,6 +13,9 @@ override_dh_auto_build:
        convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
        convert -geometry 16x16 src/images/JabRef-icon-48.png build/jabref16.xpm
 
+override_dh_auto_test:
+       ANT_OPTS=-Dfile.encoding=iso-8859-1 ant compiletest
+
 override_dh_auto_install:
        dh_auto_install
        install -m 755 debian/jabref-wrapper $(CURDIR)/debian/jabref/usr/bin/jabref