Issue #103 : Add compatibility test between releases
authorTakayuki MATSUOKA <takayuki.matsuoka@gmail.com>
Fri, 15 May 2015 00:27:44 +0000 (09:27 +0900)
committerTakayuki MATSUOKA <takayuki.matsuoka@gmail.com>
Fri, 15 May 2015 00:27:44 +0000 (09:27 +0900)
commitfe11e0b142e383f8602ef54fc56011cc60cdfaf7
treed332d96b36405f54d9c816d1ce432f8dd16c60b6
parentf02c4671cdeab39635b924b922a8cb29b466e796
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.
.travis.yml
Makefile
test/Makefile [new file with mode: 0644]
test/test-lz4-versions.py [new file with mode: 0644]