summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2018-01-15 00:57:25 (GMT)
committerYann Collet <cyan@fb.com>2018-01-15 00:57:25 (GMT)
commitb077a99347a384225d03f5458c2b57bedb134c62 (patch)
treeca1440d172263fcb4964f7b5e8cb6ba8a3072b9b /tests/Makefile
parentdfed9fa1d77f0434306d377c4da1f7191d3ba08a (diff)
downloadlz4-b077a99347a384225d03f5458c2b57bedb134c62.zip
lz4-b077a99347a384225d03f5458c2b57bedb134c62.tar.gz
lz4-b077a99347a384225d03f5458c2b57bedb134c62.tar.bz2
added checkTag
checkTag verifies that provided tag and library version match. It's started automatically in circleCI when a new tag is created.
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 819ba43..ddc0d2e 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -111,7 +111,7 @@ clean:
fullbench$(EXT) fullbench32$(EXT) \
fuzzer$(EXT) fuzzer32$(EXT) \
frametest$(EXT) frametest32$(EXT) \
- fasttest$(EXT) datagen$(EXT)
+ fasttest$(EXT) datagen$(EXT) checkTag$(EXT)
@rm -fR $(TESTDIR)
@echo Cleaning completed
@@ -119,6 +119,9 @@ clean:
versionsTest:
$(PYTHON) test-lz4-versions.py
+checkTag: checkTag.c $(LZ4DIR)/lz4.h
+ $(CC) $(FLAGS) $< -o $@$(EXT)
+
#-----------------------------------------------------------------------------
# validated only for Linux, OSX, BSD, Hurd and Solaris targets