Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 1 | # ########################################################################## |
| 2 | # ZSTD programs - Makefile |
| 3 | # Copyright (C) Yann Collet 2015 |
| 4 | # |
| 5 | # GPL v2 License |
| 6 | # |
| 7 | # This program is free software; you can redistribute it and/or modify |
| 8 | # it under the terms of the GNU General Public License as published by |
| 9 | # the Free Software Foundation; either version 2 of the License, or |
| 10 | # (at your option) any later version. |
| 11 | # |
| 12 | # This program is distributed in the hope that it will be useful, |
| 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | # GNU General Public License for more details. |
| 16 | # |
| 17 | # You should have received a copy of the GNU General Public License along |
| 18 | # with this program; if not, write to the Free Software Foundation, Inc., |
| 19 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 20 | # |
| 21 | # You can contact the author at : |
| 22 | # - ZSTD source repository : http://code.google.com/p/zstd/ |
| 23 | # - Public forum : https://groups.google.com/forum/#!forum/lz4c |
| 24 | # ########################################################################## |
| 25 | # zstd : Command Line Utility, supporting gzip-like arguments |
| 26 | # datagen : Synthetic and parametrable data generator, for tests |
| 27 | # fuzzer : Test tool, to check zstd integrity on target platform |
| 28 | # fuzzer32: Same as fuzzer, but forced to compile in 32-bits mode |
| 29 | # fullbench : Precisely measure speed for each zstd inner function |
| 30 | # fullbench32: Same as fullbench, but forced to compile in 32-bits mode |
| 31 | # ########################################################################## |
| 32 | |
Yann Collet | 5f9f987 | 2015-12-30 19:52:08 +0100 | [diff] [blame] | 33 | # Version numbers |
| 34 | LIBVER_MAJOR_SCRIPT:=`sed -n '/define ZSTD_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ../lib/zstd.h` |
| 35 | LIBVER_MINOR_SCRIPT:=`sed -n '/define ZSTD_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ../lib/zstd.h` |
| 36 | LIBVER_PATCH_SCRIPT:=`sed -n '/define ZSTD_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ../lib/zstd.h` |
| 37 | LIBVER_SCRIPT:= $(LIBVER_MAJOR_SCRIPT).$(LIBVER_MINOR_SCRIPT).$(LIBVER_PATCH_SCRIPT) |
| 38 | LIBVER_MAJOR := $(shell echo $(LIBVER_MAJOR_SCRIPT)) |
| 39 | LIBVER_MINOR := $(shell echo $(LIBVER_MINOR_SCRIPT)) |
| 40 | LIBVER_PATCH := $(shell echo $(LIBVER_PATCH_SCRIPT)) |
| 41 | LIBVER := $(shell echo $(LIBVER_SCRIPT)) |
Yann Collet | 722504c | 2015-12-31 18:32:15 +0100 | [diff] [blame] | 42 | VERSION?= $(LIBVER) |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 43 | |
| 44 | DESTDIR?= |
Yann Collet | bf50409 | 2015-08-26 00:19:06 +0100 | [diff] [blame] | 45 | PREFIX ?= /usr/local |
Yann Collet | b096cbf | 2015-11-27 16:18:56 +0100 | [diff] [blame] | 46 | CPPFLAGS= -I../lib -DZSTD_VERSION=\"$(VERSION)\" |
Yann Collet | 91a9796 | 2015-11-26 09:59:49 +0100 | [diff] [blame] | 47 | CFLAGS ?= -O3 # -falign-loops=32 # not always beneficial |
Yann Collet | 977f1f3 | 2016-01-21 15:38:47 +0100 | [diff] [blame^] | 48 | CFLAGS += -std=c99 -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wstrict-prototypes -Wundef |
Yann Collet | 17867ce | 2015-07-07 00:14:27 -0800 | [diff] [blame] | 49 | FLAGS = $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(MOREFLAGS) |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 50 | |
Yann Collet | bf50409 | 2015-08-26 00:19:06 +0100 | [diff] [blame] | 51 | BINDIR = $(PREFIX)/bin |
| 52 | MANDIR = $(PREFIX)/share/man/man1 |
| 53 | ZSTDDIR = ../lib |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 54 | |
Yann Collet | 00fd7a2 | 2015-11-28 16:03:22 +0100 | [diff] [blame] | 55 | ZSTD_FILES := $(ZSTDDIR)/zstd_compress.c $(ZSTDDIR)/zstd_decompress.c $(ZSTDDIR)/fse.c $(ZSTDDIR)/huff0.c |
| 56 | ZSTD_LEGACY:= $(ZSTDDIR)/legacy/zstd_v01.c $(ZSTDDIR)/legacy/zstd_v02.c $(ZSTDDIR)/legacy/zstd_v03.c |
Yann Collet | b096cbf | 2015-11-27 16:18:56 +0100 | [diff] [blame] | 57 | |
Yann Collet | aead1bf | 2015-11-30 14:18:47 +0100 | [diff] [blame] | 58 | ifeq ($(ZSTD_LEGACY_SUPPORT), 0) |
Yann Collet | b096cbf | 2015-11-27 16:18:56 +0100 | [diff] [blame] | 59 | CPPFLAGS += -DZSTD_LEGACY_SUPPORT=0 |
| 60 | else |
| 61 | ZSTD_FILES+= $(ZSTD_LEGACY) |
| 62 | CPPFLAGS += -I../lib/legacy -I./legacy -DZSTD_LEGACY_SUPPORT=1 |
| 63 | ZSTD_FILEIO_LEGACY = legacy/fileio_legacy.c |
| 64 | endif |
| 65 | |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 66 | |
| 67 | # Define *.exe as extension for Windows systems |
| 68 | ifneq (,$(filter Windows%,$(OS))) |
| 69 | EXT =.exe |
| 70 | VOID = nul |
| 71 | else |
| 72 | EXT = |
| 73 | VOID = /dev/null |
| 74 | endif |
| 75 | |
Yann Collet | 7447ee9 | 2015-11-26 10:52:30 +0100 | [diff] [blame] | 76 | ZBUFFTEST = -T2mn |
Yann Collet | 1c2ddba | 2015-12-04 17:45:35 +0100 | [diff] [blame] | 77 | FUZZERTEST= -T5mn |
Yann Collet | 7447ee9 | 2015-11-26 10:52:30 +0100 | [diff] [blame] | 78 | |
Yann Collet | 5f2ec63 | 2015-11-26 10:32:17 +0100 | [diff] [blame] | 79 | .PHONY: default all clean install uninstall test test32 test-all |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 80 | |
| 81 | default: zstd |
| 82 | |
Yann Collet | 5f2ec63 | 2015-11-26 10:32:17 +0100 | [diff] [blame] | 83 | all: zstd zstd32 fullbench fullbench32 fuzzer fuzzer32 zbufftest zbufftest32 paramgrill datagen |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 84 | |
Yann Collet | b096cbf | 2015-11-27 16:18:56 +0100 | [diff] [blame] | 85 | zstd : $(ZSTD_FILES) $(ZSTDDIR)/zstd_buffered.c \ |
Yann Collet | 0338635 | 2015-12-01 01:28:32 +0100 | [diff] [blame] | 86 | zstdcli.c fileio.c $(ZSTD_FILEIO_LEGACY) bench.c xxhash.c datagen.c |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 87 | $(CC) $(FLAGS) $^ -o $@$(EXT) |
| 88 | |
Yann Collet | b096cbf | 2015-11-27 16:18:56 +0100 | [diff] [blame] | 89 | zstd32: $(ZSTD_FILES) $(ZSTDDIR)/zstd_buffered.c \ |
Yann Collet | 0338635 | 2015-12-01 01:28:32 +0100 | [diff] [blame] | 90 | zstdcli.c fileio.c $(ZSTD_FILEIO_LEGACY) bench.c xxhash.c datagen.c |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 91 | $(CC) -m32 $(FLAGS) $^ -o $@$(EXT) |
| 92 | |
Yann Collet | a85a8dd | 2015-11-30 11:53:11 +0100 | [diff] [blame] | 93 | zstd_nolegacy : |
Yann Collet | aead1bf | 2015-11-30 14:18:47 +0100 | [diff] [blame] | 94 | $(MAKE) zstd ZSTD_LEGACY_SUPPORT=0 |
Yann Collet | a85a8dd | 2015-11-30 11:53:11 +0100 | [diff] [blame] | 95 | |
Yann Collet | 0338635 | 2015-12-01 01:28:32 +0100 | [diff] [blame] | 96 | zstd-pgo : MOREFLAGS = -fprofile-generate |
| 97 | zstd-pgo : clean zstd |
| 98 | ./zstd -b $(PROFILE_WITH) |
| 99 | rm zstd |
| 100 | $(MAKE) zstd MOREFLAGS=-fprofile-use |
| 101 | |
Yann Collet | 28e7cef | 2015-12-03 12:11:30 +0100 | [diff] [blame] | 102 | zstd-noBench: $(ZSTD_FILES) $(ZSTDDIR)/zstd_buffered.c \ |
| 103 | zstdcli.c fileio.c $(ZSTD_FILEIO_LEGACY) |
| 104 | $(CC) $(FLAGS) -DZSTD_NOBENCH $^ -o zstd$(EXT) |
| 105 | |
Yann Collet | f6f3d75 | 2015-12-13 13:35:21 +0100 | [diff] [blame] | 106 | zstd-frugal: clean |
| 107 | $(MAKE) zstd-noBench ZSTD_LEGACY_SUPPORT=0 |
Yann Collet | 28e7cef | 2015-12-03 12:11:30 +0100 | [diff] [blame] | 108 | |
Yann Collet | b096cbf | 2015-11-27 16:18:56 +0100 | [diff] [blame] | 109 | fullbench : $(ZSTD_FILES) \ |
| 110 | datagen.c fullbench.c |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 111 | $(CC) $(FLAGS) $^ -o $@$(EXT) |
| 112 | |
Yann Collet | b096cbf | 2015-11-27 16:18:56 +0100 | [diff] [blame] | 113 | fullbench32: $(ZSTD_FILES) \ |
Yann Collet | aa07405 | 2015-10-30 11:21:50 +0100 | [diff] [blame] | 114 | datagen.c fullbench.c |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 115 | $(CC) -m32 $(FLAGS) $^ -o $@$(EXT) |
| 116 | |
Yann Collet | b096cbf | 2015-11-27 16:18:56 +0100 | [diff] [blame] | 117 | fuzzer : $(ZSTD_FILES) \ |
Yann Collet | aa07405 | 2015-10-30 11:21:50 +0100 | [diff] [blame] | 118 | datagen.c xxhash.c fuzzer.c |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 119 | $(CC) $(FLAGS) $^ -o $@$(EXT) |
| 120 | |
Yann Collet | b096cbf | 2015-11-27 16:18:56 +0100 | [diff] [blame] | 121 | fuzzer32: $(ZSTD_FILES) \ |
Yann Collet | aa07405 | 2015-10-30 11:21:50 +0100 | [diff] [blame] | 122 | datagen.c xxhash.c fuzzer.c |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 123 | $(CC) -m32 $(FLAGS) $^ -o $@$(EXT) |
| 124 | |
Yann Collet | b096cbf | 2015-11-27 16:18:56 +0100 | [diff] [blame] | 125 | zbufftest : $(ZSTD_FILES) $(ZSTDDIR)/zstd_buffered.c \ |
Yann Collet | 91a9796 | 2015-11-26 09:59:49 +0100 | [diff] [blame] | 126 | datagen.c xxhash.c zbufftest.c |
| 127 | $(CC) $(FLAGS) $^ -o $@$(EXT) |
| 128 | |
Yann Collet | b096cbf | 2015-11-27 16:18:56 +0100 | [diff] [blame] | 129 | zbufftest32: $(ZSTD_FILES) $(ZSTDDIR)/zstd_buffered.c \ |
Yann Collet | 5f2ec63 | 2015-11-26 10:32:17 +0100 | [diff] [blame] | 130 | datagen.c xxhash.c zbufftest.c |
| 131 | $(CC) -m32 $(FLAGS) $^ -o $@$(EXT) |
| 132 | |
Yann Collet | b096cbf | 2015-11-27 16:18:56 +0100 | [diff] [blame] | 133 | paramgrill : $(ZSTD_FILES) \ |
Yann Collet | 29a2c83 | 2015-11-26 16:02:04 +0100 | [diff] [blame] | 134 | datagen.c xxhash.c paramgrill.c |
Yann Collet | 1077bb8 | 2015-10-28 12:32:25 +0100 | [diff] [blame] | 135 | $(CC) $(FLAGS) $^ -lm -o $@$(EXT) |
Yann Collet | 78d0f39 | 2015-10-26 00:07:32 +0100 | [diff] [blame] | 136 | |
Yann Collet | 6610cb3 | 2015-02-09 08:00:26 +0100 | [diff] [blame] | 137 | datagen : datagen.c datagencli.c |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 138 | $(CC) $(FLAGS) $^ -o $@$(EXT) |
| 139 | |
| 140 | clean: |
Yann Collet | 0338635 | 2015-12-01 01:28:32 +0100 | [diff] [blame] | 141 | @rm -f core *.o tmp* result* *.gcda \ |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 142 | zstd$(EXT) zstd32$(EXT) \ |
| 143 | fullbench$(EXT) fullbench32$(EXT) \ |
Yann Collet | 5f2ec63 | 2015-11-26 10:32:17 +0100 | [diff] [blame] | 144 | fuzzer$(EXT) fuzzer32$(EXT) zbufftest$(EXT) zbufftest32$(EXT) \ |
Yann Collet | 0b87939 | 2015-10-26 00:11:16 +0100 | [diff] [blame] | 145 | datagen$(EXT) paramgrill$(EXT) |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 146 | @echo Cleaning completed |
| 147 | |
| 148 | |
| 149 | #------------------------------------------------------------------------ |
| 150 | #make install is validated only for Linux, OSX, kFreeBSD and Hurd targets |
| 151 | ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU)) |
| 152 | |
Yann Collet | c620b48 | 2015-12-01 01:56:02 +0100 | [diff] [blame] | 153 | install: zstd |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 154 | @echo Installing binaries |
| 155 | @install -d -m 755 $(DESTDIR)$(BINDIR)/ $(DESTDIR)$(MANDIR)/ |
| 156 | @install -m 755 zstd$(EXT) $(DESTDIR)$(BINDIR)/zstd$(EXT) |
| 157 | @ln -sf zstd$(EXT) $(DESTDIR)$(BINDIR)/zstdcat |
Johan Förberg | 273d049 | 2015-03-24 20:15:56 +0100 | [diff] [blame] | 158 | @ln -sf zstd$(EXT) $(DESTDIR)$(BINDIR)/unzstd |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 159 | @echo Installing man pages |
| 160 | @install -m 644 zstd.1 $(DESTDIR)$(MANDIR)/zstd.1 |
Yann Collet | 5abd820 | 2015-08-27 03:16:04 +0100 | [diff] [blame] | 161 | @ln -sf zstd.1 $(DESTDIR)$(MANDIR)/zstdcat.1 |
| 162 | @ln -sf zstd.1 $(DESTDIR)$(MANDIR)/unzstd.1 |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 163 | @echo zstd installation completed |
| 164 | |
| 165 | uninstall: |
| 166 | rm -f $(DESTDIR)$(BINDIR)/zstdcat |
Johan Förberg | 273d049 | 2015-03-24 20:15:56 +0100 | [diff] [blame] | 167 | rm -f $(DESTDIR)$(BINDIR)/unzstd |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 168 | [ -x $(DESTDIR)$(BINDIR)/zstd$(EXT) ] && rm -f $(DESTDIR)$(BINDIR)/zstd$(EXT) |
Yann Collet | 5abd820 | 2015-08-27 03:16:04 +0100 | [diff] [blame] | 169 | rm -f $(DESTDIR)$(MANDIR)/zstdcat.1 |
| 170 | rm -f $(DESTDIR)$(MANDIR)/unzstd.1 |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 171 | [ -f $(DESTDIR)$(MANDIR)/zstd.1 ] && rm -f $(DESTDIR)$(MANDIR)/zstd.1 |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 172 | @echo zstd programs successfully uninstalled |
| 173 | |
Yann Collet | 5f2ec63 | 2015-11-26 10:32:17 +0100 | [diff] [blame] | 174 | test: test-zstd test-fullbench test-fuzzer test-zbuff |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 175 | |
Yann Collet | 5f2ec63 | 2015-11-26 10:32:17 +0100 | [diff] [blame] | 176 | test32: test-zstd32 test-fullbench32 test-fuzzer32 test-zbuff32 |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 177 | |
Yann Collet | 83fae97 | 2015-10-23 15:21:53 +0100 | [diff] [blame] | 178 | test-all: test test32 valgrindTest |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 179 | |
Yann Collet | 00fd7a2 | 2015-11-28 16:03:22 +0100 | [diff] [blame] | 180 | zstd-playTests: datagen |
Konstantin Tokarev | 0b570b5 | 2015-12-08 18:47:43 +0300 | [diff] [blame] | 181 | ZSTD=$(ZSTD) ./playTests.sh --test-large-data |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 182 | |
Yann Collet | 00fd7a2 | 2015-11-28 16:03:22 +0100 | [diff] [blame] | 183 | test-zstd: ZSTD = ./zstd |
| 184 | test-zstd: zstd zstd-playTests |
| 185 | |
| 186 | test-zstd32: ZSTD = ./zstd32 |
| 187 | test-zstd32: zstd32 zstd-playTests |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 188 | |
Yann Collet | a85a8dd | 2015-11-30 11:53:11 +0100 | [diff] [blame] | 189 | test-zstd_nolegacy: ZSTD = ./zstd |
| 190 | test-zstd_nolegacy: zstd_nolegacy zstd-playTests |
| 191 | |
Yann Collet | 759433d | 2015-01-24 13:31:55 +0100 | [diff] [blame] | 192 | test-fullbench: fullbench datagen |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 193 | ./fullbench -i1 |
Yann Collet | f66d2ba | 2015-02-11 08:34:50 +0100 | [diff] [blame] | 194 | ./fullbench -i1 -P0 |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 195 | |
Yann Collet | 759433d | 2015-01-24 13:31:55 +0100 | [diff] [blame] | 196 | test-fullbench32: fullbench32 datagen |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 197 | ./fullbench32 -i1 |
Yann Collet | f66d2ba | 2015-02-11 08:34:50 +0100 | [diff] [blame] | 198 | ./fullbench32 -i1 -P0 |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 199 | |
| 200 | test-fuzzer: fuzzer |
Yann Collet | 1c2ddba | 2015-12-04 17:45:35 +0100 | [diff] [blame] | 201 | ./fuzzer $(FUZZERTEST) |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 202 | |
| 203 | test-fuzzer32: fuzzer32 |
Yann Collet | 1c2ddba | 2015-12-04 17:45:35 +0100 | [diff] [blame] | 204 | ./fuzzer32 $(FUZZERTEST) |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 205 | |
Yann Collet | 5f2ec63 | 2015-11-26 10:32:17 +0100 | [diff] [blame] | 206 | test-zbuff: zbufftest |
Yann Collet | 7447ee9 | 2015-11-26 10:52:30 +0100 | [diff] [blame] | 207 | ./zbufftest $(ZBUFFTEST) |
Yann Collet | 5f2ec63 | 2015-11-26 10:32:17 +0100 | [diff] [blame] | 208 | |
| 209 | test-zbuff32: zbufftest32 |
Yann Collet | 7447ee9 | 2015-11-26 10:52:30 +0100 | [diff] [blame] | 210 | ./zbufftest32 $(ZBUFFTEST) |
Yann Collet | 5f2ec63 | 2015-11-26 10:32:17 +0100 | [diff] [blame] | 211 | |
Yann Collet | 26415d3 | 2015-11-26 12:43:28 +0100 | [diff] [blame] | 212 | valgrindTest: zstd datagen fuzzer fullbench zbufftest |
Yann Collet | 078a9a2 | 2015-06-20 19:37:53 -0800 | [diff] [blame] | 213 | @echo "\n ---- valgrind tests : memory analyzer ----" |
Yann Collet | bf50409 | 2015-08-26 00:19:06 +0100 | [diff] [blame] | 214 | valgrind --leak-check=yes --error-exitcode=1 ./datagen -g50M > $(VOID) |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 215 | ./datagen -g16KB > tmp |
Yann Collet | bf50409 | 2015-08-26 00:19:06 +0100 | [diff] [blame] | 216 | valgrind --leak-check=yes --error-exitcode=1 ./zstd -vf tmp $(VOID) |
Yann Collet | fc04bcc | 2015-10-30 07:11:07 +0100 | [diff] [blame] | 217 | ./datagen -g2930KB > tmp |
Yann Collet | 26415d3 | 2015-11-26 12:43:28 +0100 | [diff] [blame] | 218 | valgrind --leak-check=yes --error-exitcode=1 ./zstd -5 -vf tmp tmp2 |
| 219 | valgrind --leak-check=yes --error-exitcode=1 ./zstd -vdf tmp2 $(VOID) |
Yann Collet | 674d91b | 2015-07-07 00:36:49 -0800 | [diff] [blame] | 220 | ./datagen -g64MB > tmp |
Yann Collet | bf50409 | 2015-08-26 00:19:06 +0100 | [diff] [blame] | 221 | valgrind --leak-check=yes --error-exitcode=1 ./zstd -vf tmp $(VOID) |
Yann Collet | 6434adc | 2015-01-29 07:00:43 +0100 | [diff] [blame] | 222 | @rm tmp |
Yann Collet | e47c4e5 | 2015-12-05 09:23:53 +0100 | [diff] [blame] | 223 | valgrind --leak-check=yes --error-exitcode=1 ./fuzzer -T1mn -t1 |
Yann Collet | 078a9a2 | 2015-06-20 19:37:53 -0800 | [diff] [blame] | 224 | valgrind --leak-check=yes --error-exitcode=1 ./fullbench -i1 |
Yann Collet | 26415d3 | 2015-11-26 12:43:28 +0100 | [diff] [blame] | 225 | valgrind --leak-check=yes --error-exitcode=1 ./zbufftest -T1mn |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 226 | |
| 227 | endif |