[med-svn] r22569 - in trunk/packages/rostlab/reprof/trunk/debian: . tests tests/pkg-perl

Tatiana Malygina latticetower-guest at moszumanska.debian.org
Sun Jul 17 00:52:52 UTC 2016


Author: latticetower-guest
Date: 2016-07-17 00:52:51 +0000 (Sun, 17 Jul 2016)
New Revision: 22569

Added:
   trunk/packages/rostlab/reprof/trunk/debian/tests/pkg-perl/smoke-tests
Modified:
   trunk/packages/rostlab/reprof/trunk/debian/changelog
   trunk/packages/rostlab/reprof/trunk/debian/tests/control
   trunk/packages/rostlab/reprof/trunk/debian/tests/test-models.t
Log:
add debian/tests/pkg-perl/smoke-tests, fixed debian/tests/control and debian/tests/test-models.t

Modified: trunk/packages/rostlab/reprof/trunk/debian/changelog
===================================================================
--- trunk/packages/rostlab/reprof/trunk/debian/changelog	2016-07-16 21:18:16 UTC (rev 22568)
+++ trunk/packages/rostlab/reprof/trunk/debian/changelog	2016-07-17 00:52:51 UTC (rev 22569)
@@ -12,6 +12,8 @@
     latest version of `libai-fann-perl` package.
   * add files for autopkgtest-pkg-perl. See more at:
     https://pkg-perl.alioth.debian.org/autopkgtest.html
+  * add debian/tests/pkg-perl/smoke-tests, fixed debian/tests/control and 
+    debian/tests/test-models.t to make all tests work and remove redundancy
 
  -- Tatiana Malygina <merlettaia at gmail.com>  Thu, 14 Jul 2016 10:18:46 +0300
 

Modified: trunk/packages/rostlab/reprof/trunk/debian/tests/control
===================================================================
--- trunk/packages/rostlab/reprof/trunk/debian/tests/control	2016-07-16 21:18:16 UTC (rev 22568)
+++ trunk/packages/rostlab/reprof/trunk/debian/tests/control	2016-07-17 00:52:51 UTC (rev 22569)
@@ -11,9 +11,6 @@
 Test-Command: /usr/share/pkg-perl-autopkgtest/runner heavy-deps
 Depends: @, pkg-perl-autopkgtest, pkg-perl-autopkgtest-heavy
 
-Test-Command: perl debian/tests/test-models.t
-Depends: librg-reprof-bundle-perl, libai-fann-perl
-
 Tests: installation-test
-Depends: @, libai-fann-perl
+Depends: librg-reprof-bundle-perl, reprof, libai-fann-perl
 Restrictions: allow-stderr

Added: trunk/packages/rostlab/reprof/trunk/debian/tests/pkg-perl/smoke-tests
===================================================================
--- trunk/packages/rostlab/reprof/trunk/debian/tests/pkg-perl/smoke-tests	                        (rev 0)
+++ trunk/packages/rostlab/reprof/trunk/debian/tests/pkg-perl/smoke-tests	2016-07-17 00:52:51 UTC (rev 22569)
@@ -0,0 +1 @@
+debian/tests/test-models.t

Modified: trunk/packages/rostlab/reprof/trunk/debian/tests/test-models.t
===================================================================
--- trunk/packages/rostlab/reprof/trunk/debian/tests/test-models.t	2016-07-16 21:18:16 UTC (rev 22568)
+++ trunk/packages/rostlab/reprof/trunk/debian/tests/test-models.t	2016-07-17 00:52:51 UTC (rev 22569)
@@ -10,8 +10,8 @@
 
 foreach (("a", "b", "bb", "bu", "fa", "fb", "fbb", "fbu", "fub", "fuu", "u", 
         "ub", "uu")) {
-    my $filename = "share/".$_.".model";
-    print $filename."\n";
+    my $filename = "/usr/share/reprof/".$_.".model";
+    print "Try to load ".$filename." to libai-fann-perl\n";
     ok(defined AI::FANN->new_from_file($filename), 
       "Load ".$filename." to libai-fann-perl");
 }




More information about the debian-med-commit mailing list