diff options
author | Przemyslaw Skibinski <inikep@gmail.com> | 2016-11-08 09:43:18 (GMT) |
---|---|---|
committer | Przemyslaw Skibinski <inikep@gmail.com> | 2016-11-08 09:43:18 (GMT) |
commit | 2302649138b58c1981ede7c117c098a03b34fb8d (patch) | |
tree | a3c4e479d3422e7b88fd7cd7b86600b53d8b8342 /tests/Makefile | |
parent | c201327f14debdec7572f297eeae195c510e6a9f (diff) | |
download | lz4-2302649138b58c1981ede7c117c098a03b34fb8d.zip lz4-2302649138b58c1981ede7c117c098a03b34fb8d.tar.gz lz4-2302649138b58c1981ede7c117c098a03b34fb8d.tar.bz2 |
tests\Makefile: added test-platform
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile index d5aad60..d901647 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -43,9 +43,8 @@ PYTHON?= python3 CFLAGS ?= -O3 # can select custom flags. For example : CFLAGS="-O2 -g" make CFLAGS += -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -CFLAGS += $(MOREFLAGS) CPPFLAGS:= -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_ -DLZ4_DLL_EXPORT=1 -FLAGS := $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) +FLAGS := $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(MOREFLAGS) # Define *.exe as extension for Windows systems @@ -250,6 +249,13 @@ test-lz4c32-basic: lz4c32 datagen ./datagen -g256MB | $(PRGDIR)/lz4c32 -vqB4D | $(PRGDIR)/lz4c32 -qt ./datagen -g6GB | $(PRGDIR)/lz4c32 -vqB5D | $(PRGDIR)/lz4c32 -qt +test-platform: + @echo "\n ---- test lz4 $(QEMU_SYS) platform ----" + $(QEMU_SYS) ./datagen -g16KB | $(QEMU_SYS) $(PRGDIR)/lz4 -9 | $(QEMU_SYS) $(PRGDIR)/lz4 -t + $(QEMU_SYS) ./datagen | $(QEMU_SYS) $(PRGDIR)/lz4 | $(QEMU_SYS) $(PRGDIR)/lz4 -t + $(QEMU_SYS) ./datagen -g256MB | $(QEMU_SYS) $(PRGDIR)/lz4 -vqB4D | $(QEMU_SYS) $(PRGDIR)/lz4 -qt + $(QEMU_SYS) ./datagen -g6GB | $(QEMU_SYS) $(PRGDIR)/lz4 -vqB5D | $(QEMU_SYS) $(PRGDIR)/lz4 -qt + test-lz4c32: test-lz4c32-basic test-interop-32-64 test-fullbench: fullbench |