summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2016-11-17 22:39:49 (GMT)
committerYann Collet <cyan@fb.com>2016-11-17 22:39:49 (GMT)
commit7d535484738f5536ec3a4eab58146f8c3f6f6834 (patch)
tree70e1cb125a5481356d209e496e4f0b7971037af2 /tests
parent279344a177c3e472932bad8844ce62ba41868690 (diff)
downloadlz4-7d535484738f5536ec3a4eab58146f8c3f6f6834.zip
lz4-7d535484738f5536ec3a4eab58146f8c3f6f6834.tar.gz
lz4-7d535484738f5536ec3a4eab58146f8c3f6f6834.tar.bz2
added v1.x.y to versions tests
Diffstat (limited to 'tests')
-rw-r--r--tests/.gitignore1
-rw-r--r--tests/Makefile1
-rw-r--r--tests/test-lz4-versions.py4
3 files changed, 5 insertions, 1 deletions
diff --git a/tests/.gitignore b/tests/.gitignore
index 06891ac..4c0f311 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -11,3 +11,4 @@ fasttest
# test artefacts
tmp*
+versionsTest
diff --git a/tests/Makefile b/tests/Makefile
index 4b0f503..c1ec43d 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -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) \
diff --git a/tests/test-lz4-versions.py b/tests/test-lz4-versions.py
index 54b7e13..12c1c66 100644
--- a/tests/test-lz4-versions.py
+++ b/tests/test-lz4-versions.py
@@ -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