Attempt to fix travis
authorNick Terrell <terrelln@fb.com>
Fri, 4 May 2018 21:33:59 +0000 (14:33 -0700)
committerNick Terrell <terrelln@fb.com>
Fri, 4 May 2018 21:33:59 +0000 (14:33 -0700)
tests/Makefile
tests/test_install.sh

index 196426e..d238561 100644 (file)
@@ -71,6 +71,9 @@ all32: all
 lz4:
        $(MAKE) -C $(PRGDIR) $@ CFLAGS="$(CFLAGS)"
 
+lib liblz4.pc:
+       $(MAKE) -C $(LZ4DIR) $@ CFLAGS="$(CFLAGS)"
+
 lz4c unlz4 lz4cat: lz4
        ln -sf $(LZ4) $(PRGDIR)/$@
 
@@ -146,7 +149,7 @@ test: test-lz4 test-lz4c test-frametest test-fullbench test-fuzzer test-install
 test32: CFLAGS+=-m32
 test32: test
 
-test-install:
+test-install: lz4 lib liblz4.pc
        lz4_root=.. ./test_install.sh
 
 test-lz4-sparse: lz4 datagen
index 2e1a5a5..f9de402 100755 (executable)
@@ -2,7 +2,6 @@
 set -e
 
 make="make -C $lz4_root"
-$make CFLAGS=-O0 > /dev/null
 for cmd in install uninstall; do
   for upper in DUMMY PREFIX EXEC_PREFIX LIBDIR INCLUDEDIR PKGCONFIGDIR BINDIR MANDIR MAN1DIR ; do
     lower=$(echo $upper | tr '[:upper:]' '[:lower:]')