Kaynağa Gözat

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 12 yıl önce
ebeveyn
işleme
d4dfad8cff
2 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 1 0
      check.am
  2. 2 0
      debian/changelog

+ 1 - 0
check.am

@@ -15,6 +15,7 @@ TEST_RUNNER = '\
 	    lib => [ "$(top_srcdir)/scripts" ], \
 	    color => 1, \
 	    verbosity => $(TEST_VERBOSE), \
+	    failures => 1, \
 	}); \
 	$$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
     tap-driver, to avoid requiring automake >= 1.12, currently not present
     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 ]
   * German (Sven Joachim).