added v1.x.y to versions tests
authorYann Collet <cyan@fb.com>
Thu, 17 Nov 2016 22:39:49 +0000 (14:39 -0800)
committerYann Collet <cyan@fb.com>
Thu, 17 Nov 2016 22:39:49 +0000 (14:39 -0800)
tests/.gitignore
tests/Makefile
tests/test-lz4-versions.py

index 06891ac..4c0f311 100644 (file)
@@ -11,3 +11,4 @@ fasttest
 
 # test artefacts
 tmp*
+versionsTest
index 4b0f503..c1ec43d 100644 (file)
@@ -104,6 +104,7 @@ datagen : $(PRGDIR)/datagen.c datagencli.c
 
 clean:
        @$(MAKE) -C $(LIBDIR) $@ > $(VOID)
+       @$(MAKE) -C $(PRGDIR) $@ > $(VOID)
        @$(RM) core *.o *.test tmp* \
         fullbench-dll$(EXT) fullbench-lib$(EXT) \
         fullbench$(EXT) fullbench32$(EXT) \
index 54b7e13..12c1c66 100644 (file)
@@ -21,7 +21,7 @@ make_cmd = 'make'
 git_cmd = 'git'
 test_dat_src = 'README.md'
 test_dat = 'test_dat'
-head = 'r999'
+head = 'v999'
 
 def proc(cmd_args, pipe=True, dummy=False):
     if dummy:
@@ -43,6 +43,8 @@ def git(args, pipe=True):
 def get_git_tags():
     stdout, stderr = git(['tag', '-l', 'r[0-9][0-9][0-9]'])
     tags = stdout.decode('utf-8').split()
+    stdout, stderr = git(['tag', '-l', 'v[1-9].[0-9].[0-9]'])
+    tags += stdout.decode('utf-8').split()
     return tags
 
 # https://stackoverflow.com/a/19711609/2132223