Browse Source

Add test data, and use it during build

Christoph Biedl 7 years ago
parent
commit
869441f540

+ 8 - 0
debian/patches/enhance-test-script.patch

@@ -58,3 +58,11 @@ Last-Update: 2014-07-22
      if [ $? == 0 ]; then
          echo "success"
      else
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -11,4 +11,5 @@
+ 	rm -f test_out/*.bgp.gz
+ 
+ test: check-clean bgpdump
++	./test.sh debian/tests/
+ 	@[ -d test_data ] && ./test.sh || echo "Skipping upstream tests as they are huge (see README.Debian)"

+ 2 - 0
debian/source/include-binaries

@@ -0,0 +1,2 @@
+debian/tests/test_data/issue-17.1346938280.gz
+debian/tests/test_expect/issue-17.1346938280.gz.bgp.gz

BIN
debian/tests/test_data/issue-17.1346938280.gz


BIN
debian/tests/test_expect/issue-17.1346938280.gz.bgp.gz