summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTakayuki MATSUOKA <takayuki.matsuoka@gmail.com>2015-05-15 00:27:44 (GMT)
committerTakayuki MATSUOKA <takayuki.matsuoka@gmail.com>2015-05-15 00:27:44 (GMT)
commitfe11e0b142e383f8602ef54fc56011cc60cdfaf7 (patch)
treed332d96b36405f54d9c816d1ce432f8dd16c60b6 /Makefile
parentf02c4671cdeab39635b924b922a8cb29b466e796 (diff)
downloadlz4-fe11e0b142e383f8602ef54fc56011cc60cdfaf7.zip
lz4-fe11e0b142e383f8602ef54fc56011cc60cdfaf7.tar.gz
lz4-fe11e0b142e383f8602ef54fc56011cc60cdfaf7.tar.bz2
Issue #103 : Add compatibility test between releases
Add forward/backward compatibility test between all versions - Add new Makefile target "versionstest". - Standard test procedure like "make versionstest && make clean" works properly. test/test-lz4-versions.py - This script creates test/lz4test and checkout all Release tagged versions. After that, compile all versions of lz4c and lz4c32 and compress/decompress between all versions. - This test clones entire git repository to checkout all tags. - Since Travis's default command does not clone entire repository, we could not checkout all tags from Travis' default clone. - After that, test script shows all unique .lz4 files. In this list, 'r999' means 'head' of current working copy.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 88c4016..93cf846 100644
--- a/Makefile
+++ b/Makefile
@@ -71,6 +71,7 @@ clean:
@cd $(PRGDIR); $(MAKE) clean > $(VOID)
@cd $(LZ4DIR); $(MAKE) clean > $(VOID)
@cd examples; $(MAKE) clean > $(VOID)
+ @cd test; $(MAKE) clean > $(VOID)
@echo Cleaning completed
@@ -113,6 +114,9 @@ armtest: clean
cd lib; $(MAKE) -e all CC=arm-linux-gnueabi-gcc CPPFLAGS="-Werror"
cd programs; $(MAKE) -e bins CC=arm-linux-gnueabi-gcc CPPFLAGS="-Werror"
+versionstest: clean
+ @cd test; $(MAKE) -e versionstest
+
streaming-examples:
cd examples; $(MAKE) -e test