mirror of
https://github.com/clearlinux/bsdiff.git
synced 2026-08-18 12:16:04 +00:00
Fix distcheck
The remaining test files need to be distributed in order to run the test suite, and export abs_builddir to the test script to point to the binaries. Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This commit is contained in:
+32
@@ -103,7 +103,39 @@ install-exec-hook:
|
||||
perl findstatic.pl */*.o | grep -v Checking ||:
|
||||
|
||||
TEST_EXTENSIONS = .sh
|
||||
|
||||
EXTRA_DIST += \
|
||||
test/data/5.bspatch.diff \
|
||||
test/data/5.bspatch.original \
|
||||
test/data/6.bspatch.diff \
|
||||
test/data/6.bspatch.original \
|
||||
test/data/7.bspatch.diff \
|
||||
test/data/7.bspatch.original \
|
||||
test/data/8.bspatch.diff \
|
||||
test/data/8.bspatch.original \
|
||||
test/data/9.bspatch.diff \
|
||||
test/data/9.bspatch.modified \
|
||||
test/data/9.bspatch.original \
|
||||
test/data/10.bspatch.diff \
|
||||
test/data/10.bspatch.modified \
|
||||
test/data/10.bspatch.original \
|
||||
test/data/11.bspatch.diff \
|
||||
test/data/12.bspatch.diff \
|
||||
test/data/12.bspatch.modified \
|
||||
test/data/12.bspatch.original \
|
||||
test/data/13.bspatch.modified \
|
||||
test/data/13.bspatch.original \
|
||||
test/data/14.bspatch.modified \
|
||||
test/data/14.bspatch.original \
|
||||
test/data/15.bspatch.modified \
|
||||
test/data/15.bspatch.original \
|
||||
test/data/16.bspatch.diff \
|
||||
test/data/16.bspatch.original
|
||||
|
||||
if ENABLE_TESTS
|
||||
AM_TESTS_ENVIRONMENT = \
|
||||
abs_builddir=$(abs_builddir); export abs_builddir;
|
||||
|
||||
tap_driver = env AM_TAP_AWK='$(AWK)' $(SHELL) \
|
||||
$(top_srcdir)/tap-driver.sh
|
||||
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ testnum=0
|
||||
|
||||
sudo rm -f *.diff *.out
|
||||
|
||||
libdir="$(readlink -f "../.libs")"
|
||||
libdir="$abs_builddir/.libs"
|
||||
ldpath="LD_LIBRARY_PATH=$libdir"
|
||||
BSDIFF="sudo $ldpath valgrind -q $libdir/bsdiff"
|
||||
BSPATCH="sudo $ldpath valgrind -q $libdir/bspatch"
|
||||
|
||||
Reference in New Issue
Block a user