summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorNick Terrell <terrelln@fb.com>2018-05-04 20:35:10 (GMT)
committerNick Terrell <terrelln@fb.com>2018-05-04 20:50:23 (GMT)
commita7cc0b590a634e3c2612976c1dc83e74f8448d43 (patch)
tree38c40dc788d0207e249a61069b30948d156b3c1c /tests/Makefile
parentd358e33faa87e0293f27f272a8579de73f4ba938 (diff)
downloadlz4-a7cc0b590a634e3c2612976c1dc83e74f8448d43.zip
lz4-a7cc0b590a634e3c2612976c1dc83e74f8448d43.tar.gz
lz4-a7cc0b590a634e3c2612976c1dc83e74f8448d43.tar.bz2
Fix make install
* Uninstall didn't remove the pkg-config correctly. * Fix `mandir` * Allow overriding either upper- or lower-case location variables, but always use the lower case variables. * Add test case that ensures overriding both upper- and lower-case variables is the same, and that the directory is empty after uninstall.
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index d4847b1..196426e 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -141,11 +141,14 @@ endif
DD:=dd
-test: test-lz4 test-lz4c test-frametest test-fullbench test-fuzzer
+test: test-lz4 test-lz4c test-frametest test-fullbench test-fuzzer test-install
test32: CFLAGS+=-m32
test32: test
+test-install:
+ lz4_root=.. ./test_install.sh
+
test-lz4-sparse: lz4 datagen
@echo "\n ---- test sparse file support ----"
./datagen -g5M -P100 > tmplsdg5M