Browse Source

Clarify upstream's tests are skipped

Christoph Biedl 4 years ago
parent
commit
b723089cac
2 changed files with 8 additions and 4 deletions
  1. 7 3
      debian/README.debian
  2. 1 1
      debian/patches/re-autoconfig.patch

+ 7 - 3
debian/README.debian

@@ -8,13 +8,17 @@ the libbgpdump library, file a bugreport severity wishlist.
 Running upstream's test
 -----------------------
 Upstream included some huge dump files to be tested for regressions
-during build. They have been removed from the source package as they
-are pretty huge: Full upstream tarball: 42 Mbyte, after re-packing
+during build. They have been removed from the Debian source package as
+they are pretty huge: Full upstream tarball: 42 Mbyte, after re-packing
 some 41 kbyte.
 
-To run the test during build
+To run the test during build:
 
+* Download the full upstream tarball from
+    https://bitbucket.org/ripencc/bgpdump/downloads
+* Unpack the test files:
 $ tar --wildcards --strip-components=1 -xjvf <upstream.tar>.bz2 '*/test_*'
+* Add the list to include-binaries so dpkg-source will not complain:
 $ ls -1 test_*/* >>debian/source/include-binaries
 
 Then rebuild as usual.

+ 1 - 1
debian/patches/re-autoconfig.patch

@@ -19,7 +19,7 @@ Last-Update: 2016-07-20
 +	rm -f test_out/*.bgp.gz
 +
 +test: check-clean bgpdump
-+	[ ! -d test_data ] || ./test.sh
++	@[ -d test_data ] && ./test.sh || echo "Skipping upstream tests as they are huge (see README.Debian)"
 --- /dev/null
 +++ b/configure.ac
 @@ -0,0 +1,43 @@