diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile | 2 | ||||
-rw-r--r-- | tests/test-lz4-list.py | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile index 3d3cfa2..dbb7bd5 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -466,6 +466,8 @@ test-mem: lz4 datagen fuzzer frametest fullbench valgrind --leak-check=yes --error-exitcode=1 $(LZ4) -bi1 ftmdg7M valgrind --leak-check=yes --error-exitcode=1 ./fullbench -i1 ftmdg7M ftmdg16K2 valgrind --leak-check=yes --error-exitcode=1 $(LZ4) -B4D -f -vq ftmdg7M $(VOID) + valgrind --leak-check=yes --error-exitcode=1 $(LZ4) --list -m ftm*.lz4 + valgrind --leak-check=yes --error-exitcode=1 $(LZ4) --list -m -v ftm*.lz4 $(RM) ftm* valgrind --leak-check=yes --error-exitcode=1 ./fuzzer -i64 -t1 valgrind --leak-check=yes --error-exitcode=1 ./frametest -i256 diff --git a/tests/test-lz4-list.py b/tests/test-lz4-list.py index 4738e99..ce89757 100644 --- a/tests/test-lz4-list.py +++ b/tests/test-lz4-list.py @@ -8,9 +8,9 @@ import unittest SIZES = [3, 11] # Always 2 sizes MIB = 1048576 -LZ4 = os.getcwd() + "/../lz4" +LZ4 = os.path.dirname(os.path.realpath(__file__)) + "/../lz4" if not os.path.exists(LZ4): - LZ4 = os.getcwd() + "/../programs/lz4" + LZ4 = os.path.dirname(os.path.realpath(__file__)) + "/../programs/lz4" TEMP = tempfile.gettempdir() |