Explorar el Código

build: Enable failed test case reporting from the TAP::Harness

Set the «failures» argument for the harness, so that we can get the
failing test case entries, particularly important for the C test suite,
as perl will not report a line number for those.
Guillem Jover hace 12 años
padre
commit
d4dfad8cff
Se han modificado 2 ficheros con 3 adiciones y 0 borrados
  1. 1 0
      check.am
  2. 2 0
      debian/changelog

+ 1 - 0
check.am

@@ -15,6 +15,7 @@ TEST_RUNNER = '\
 	    lib => [ "$(top_srcdir)/scripts" ], \
 	    lib => [ "$(top_srcdir)/scripts" ], \
 	    color => 1, \
 	    color => 1, \
 	    verbosity => $(TEST_VERBOSE), \
 	    verbosity => $(TEST_VERBOSE), \
+	    failures => 1, \
 	}); \
 	}); \
 	$$harness->runtests(@ARGV);'
 	$$harness->runtests(@ARGV);'
 
 

+ 2 - 0
debian/changelog

@@ -15,6 +15,8 @@ dpkg (1.17.8) UNRELEASED; urgency=low
   * Use the perl TAP::Harness for the C test suite instead of the automake
   * Use the perl TAP::Harness for the C test suite instead of the automake
     tap-driver, to avoid requiring automake >= 1.12, currently not present
     tap-driver, to avoid requiring automake >= 1.12, currently not present
     in stable.
     in stable.
+  * Enable failed test case reporting from the TAP::Harness, so that we get
+    more meaningful reports on failure from the C test suite.
 
 
   [ Updated programs translations ]
   [ Updated programs translations ]
   * German (Sven Joachim).
   * German (Sven Joachim).