From 3c3624c3a6e1b1f7a85590e288b28e2b6eaf501b Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Sat, 29 May 2021 23:41:46 +0900 Subject: Fix g++-4.4 warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit g++-4.4 creates the following warning for this line. ``` g++-4.4 -Wno-deprecated -O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror -I../lib -I../programs -DXXH_NAMESPACE=LZ4_ lz4frame.o lz4.o lz4hc.o xxhash.o checkFrame.c -o checkFrame checkFrame.c: In function ‘int frameCheck(cRess_t, FILE*, unsigned int, size_t)’: checkFrame.c:156: error: comparison between signed and unsigned integer expressions ``` --- tests/checkFrame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checkFrame.c b/tests/checkFrame.c index 2b50bae..946805f 100644 --- a/tests/checkFrame.c +++ b/tests/checkFrame.c @@ -153,7 +153,7 @@ int frameCheck(cRess_t ress, FILE* const srcFile, unsigned bsid, size_t blockSiz if (LZ4F_isError(nextToLoad)) EXM_THROW(22, "Error getting frame info: %s", LZ4F_getErrorName(nextToLoad)); - if (frameInfo.blockSizeID != bsid) + if (frameInfo.blockSizeID != (LZ4F_blockSizeID_t) bsid) EXM_THROW(23, "Block size ID %u != expected %u", frameInfo.blockSizeID, bsid); pos += remaining; -- cgit v0.12 From 6443b85af46a3b2a17d88420ee24635427f25fdc Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Sun, 30 May 2021 17:10:19 +0900 Subject: Split c_standards into multiple Makefile targets To support older compiler which doesn't have explicit dialect option for C90 (gcc-4.4), this change set split "c_standards" into multiple part. Original "make c_standards" still works as intended. But this change gives extra freedom of choice for external program For example, CI can choose test for standards which is supported by specimen compiler. With this separation, we can also introduce C17 smoothly. --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 04c0ef4..b98bb68 100644 --- a/Makefile +++ b/Makefile @@ -215,11 +215,20 @@ ctocpptest: clean CC=$(TESTCC) $(MAKE) -C $(TESTDIR) CFLAGS="$(CFLAGS)" all .PHONY: c_standards -c_standards: clean +c_standards: clean c_standards_c11 c_standards_c99 c_standards_c90 + +.PHONY: c_standards_c90 +c_standards_c90: clean $(MAKE) clean; CFLAGS="-std=c90 -Werror -pedantic -Wno-long-long -Wno-variadic-macros" $(MAKE) allmost $(MAKE) clean; CFLAGS="-std=gnu90 -Werror -pedantic -Wno-long-long -Wno-variadic-macros" $(MAKE) allmost + +.PHONY: c_standards_c99 +c_standards_c99: clean $(MAKE) clean; CFLAGS="-std=c99 -Werror -pedantic" $(MAKE) all $(MAKE) clean; CFLAGS="-std=gnu99 -Werror -pedantic" $(MAKE) all + +.PHONY: c_standards_c11 +c_standards_c11: clean $(MAKE) clean; CFLAGS="-std=c11 -Werror" $(MAKE) all endif # MSYS POSIX -- cgit v0.12 From bf140842d9909d92491ffec7d86ed15483395f5b Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Sun, 30 May 2021 18:39:33 +0900 Subject: Remove QEMU test from .travis.yml We have same test in GitHub Actions. --- .travis.yml | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.travis.yml b/.travis.yml index d5918a2..ad356f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -109,20 +109,20 @@ matrix: - make c_standards - make -C tests test-lz4 MOREFLAGS=-Werror - - name: (Trusty) arm + aarch64 compilation - dist: trusty - install: - - sudo apt-get install -qq - qemu-system-arm - qemu-user-static - gcc-arm-linux-gnueabi - libc6-dev-armel-cross - gcc-aarch64-linux-gnu - libc6-dev-arm64-cross - script: - - make platformTest CC=arm-linux-gnueabi-gcc QEMU_SYS=qemu-arm-static - - make platformTest CC=aarch64-linux-gnu-gcc QEMU_SYS=qemu-aarch64-static - +# - name: (Trusty) arm + aarch64 compilation +# dist: trusty +# install: +# - sudo apt-get install -qq +# qemu-system-arm +# qemu-user-static +# gcc-arm-linux-gnueabi +# libc6-dev-armel-cross +# gcc-aarch64-linux-gnu +# libc6-dev-arm64-cross +# script: +# - make platformTest CC=arm-linux-gnueabi-gcc QEMU_SYS=qemu-arm-static +# - make platformTest CC=aarch64-linux-gnu-gcc QEMU_SYS=qemu-aarch64-static +# - name: aarch64 real-hw tests arch: arm64 script: @@ -157,14 +157,14 @@ matrix: script: - make -C tests test-lz4 CC=clang-3.8 - - name: (Trusty) PowerPC + PPC64 compilation - dist: trusty - install: - - sudo apt-get install -qq qemu-system-ppc qemu-user-static gcc-powerpc-linux-gnu - script: - - make platformTest CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc-static - - make platformTest CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc64-static MOREFLAGS=-m64 - +# - name: (Trusty) PowerPC + PPC64 compilation +# dist: trusty +# install: +# - sudo apt-get install -qq qemu-system-ppc qemu-user-static gcc-powerpc-linux-gnu +# script: +# - make platformTest CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc-static +# - make platformTest CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc64-static MOREFLAGS=-m64 +# - name: (Trusty) scan-build + cppcheck dist: trusty compiler: clang -- cgit v0.12 From 4392dc326151f1eee65ea4889afceac826c3b56a Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 10:45:07 +0900 Subject: Disable "(macOS) General Test" lz4-platform-macos-latest[1] in ci.yml contains the following test command ``` make # test library build make test MOREFLAGS='-Werror -Wconversion -Wno-sign-conversion' | tee ``` [1] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L450 --- .travis.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index ad356f3..c3035b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,15 +3,15 @@ language: c matrix: fast_finish: true include: - # OS X Mavericks - - name: (macOS) General Test - os: osx - compiler: clang - script: - - make # test library build - - make clean - - make test MOREFLAGS='-Werror -Wconversion -Wno-sign-conversion' | tee # test scenario where `stdout` is not the console - +# # OS X Mavericks +# - name: (macOS) General Test +# os: osx +# compiler: clang +# script: +# - make # test library build +# - make clean +# - make test MOREFLAGS='-Werror -Wconversion -Wno-sign-conversion' | tee # test scenario where `stdout` is not the console +# # Container-based 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes) - name: (Precise) benchmark test dist: precise -- cgit v0.12 From a44ef30cd58fcb60cb7a23d9549a3dd9ee412e86 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 10:47:59 +0900 Subject: Disable "(Precise) benchmark test" Disable "(Precise) benchmark test" lz4-benchmark[1] in ci.yml contains the following command ``` make -C tests test-lz4 test-lz4c test-fullbench ``` [1] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L167-L189 --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index c3035b2..41cf01c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,12 +12,12 @@ matrix: # - make clean # - make test MOREFLAGS='-Werror -Wconversion -Wno-sign-conversion' | tee # test scenario where `stdout` is not the console # - # Container-based 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes) - - name: (Precise) benchmark test - dist: precise - script: - - make -C tests test-lz4 test-lz4c test-fullbench - +# # Container-based 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes) +# - name: (Precise) benchmark test +# dist: precise +# script: +# - make -C tests test-lz4 test-lz4c test-fullbench +# - name: (Precise) frame and fuzzer test dist: precise install: -- cgit v0.12 From 8704584f6c533d5cfe62d1a0ee86ab29d77edfca Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 10:50:40 +0900 Subject: Disable "(Precise) frame and fuzzer test" [lz4-frame] in ci.yml contains the following command ``` make -C tests test-frametest ``` [lz4-fuzzer] in ci.yml contains the following command ``` make -C tests test-fuzzer ``` --- .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 41cf01c..1f89265 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,13 +18,13 @@ matrix: # script: # - make -C tests test-lz4 test-lz4c test-fullbench # - - name: (Precise) frame and fuzzer test - dist: precise - install: - - sudo sysctl -w vm.mmap_min_addr=4096 - script: - - make -C tests test-frametest test-fuzzer - +# - name: (Precise) frame and fuzzer test +# dist: precise +# install: +# - sudo sysctl -w vm.mmap_min_addr=4096 +# script: +# - make -C tests test-frametest test-fuzzer +# - name: ASAN tests with fuzzer and frametest install: - sudo sysctl -w vm.mmap_min_addr=4096 -- cgit v0.12 From 485907563ffc98c70d463256e8fcad2584bb29b0 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 10:56:38 +0900 Subject: Disable "ASAN tests with fuzzer and frametest" [lz4-asan-x64] contains the following command ``` sudo sysctl -w vm.mmap_min_addr=4096 CC=clang MOREFLAGS=-fsanitize=address make -C tests test-frametest test-fuzzer ``` [lz4-asan-x64] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L361-L376 --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1f89265..6413103 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,12 +25,12 @@ matrix: # script: # - make -C tests test-frametest test-fuzzer # - - name: ASAN tests with fuzzer and frametest - install: - - sudo sysctl -w vm.mmap_min_addr=4096 - script: - - CC=clang MOREFLAGS=-fsanitize=address make -C tests test-frametest test-fuzzer - +# - name: ASAN tests with fuzzer and frametest +# install: +# - sudo sysctl -w vm.mmap_min_addr=4096 +# script: +# - CC=clang MOREFLAGS=-fsanitize=address make -C tests test-frametest test-fuzzer +# - name: Custom LZ4_DISTANCE_MAX ; lz4-wlib (CLI linked to dynamic library); LZ4_USER_MEMORY_FUNCTIONS script: - MOREFLAGS=-DLZ4_DISTANCE_MAX=8000 make check -- cgit v0.12 From 9e72f2c01f2bab0056147a19979f926c477be096 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 10:57:16 +0900 Subject: Disable "Custom LZ4_DISTANCE_MAX ; ..." [lz4-custom-distance] contains the following command ``` MOREFLAGS='-DLZ4_DISTANCE_MAX=8000' make V=1 check make V=1 -C programs lz4-wlib make V=1 -C tests fullbench-wmalloc # test LZ4_USER_MEMORY_FUNCTIONS CC="c++ -Wno-deprecated" make V=1 -C tests fullbench-wmalloc # stricter function signature check ``` Actually, there're 3+1 tests (1) Test for Custom LZ4_DISTANCE_MAX. 6654c2c, #753, #755 (2) Test for dynamic link library. 3dd34df, #888 (3-1) Test for LZ4_USER_MEMORY_FUNCTIONS. 52646e8, #937, #946 (3-2) Same as (3-1), but compile it with c++. After we'll stabilize CI tests, this test should be split into 3 individual parts for clarity. [lz4-custom-distance] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L241-L255 --- .travis.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6413103..5215474 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,16 +31,16 @@ matrix: # script: # - CC=clang MOREFLAGS=-fsanitize=address make -C tests test-frametest test-fuzzer # - - name: Custom LZ4_DISTANCE_MAX ; lz4-wlib (CLI linked to dynamic library); LZ4_USER_MEMORY_FUNCTIONS - script: - - MOREFLAGS=-DLZ4_DISTANCE_MAX=8000 make check - - make clean - - make -C programs lz4-wlib - - make clean - - make -C tests fullbench-wmalloc # test LZ4_USER_MEMORY_FUNCTIONS - - make clean - - CC="c++ -Wno-deprecated" make -C tests fullbench-wmalloc # stricter function signature check - +# - name: Custom LZ4_DISTANCE_MAX ; lz4-wlib (CLI linked to dynamic library); LZ4_USER_MEMORY_FUNCTIONS +# script: +# - MOREFLAGS=-DLZ4_DISTANCE_MAX=8000 make check +# - make clean +# - make -C programs lz4-wlib +# - make clean +# - make -C tests fullbench-wmalloc # test LZ4_USER_MEMORY_FUNCTIONS +# - make clean +# - CC="c++ -Wno-deprecated" make -C tests fullbench-wmalloc # stricter function signature check +# - name: (Precise) g++ and clang CMake test dist: precise script: -- cgit v0.12 From 33580eb4a6d7759260b16d24d740f531d280f697 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 11:00:53 +0900 Subject: Disable "(Precise) g++ and clang CMake test" [lz4-compilers] contains the following commands. Note that `make all` contains `make examples` ``` make cxxtest make clean make examples make clean cmake make clean clangtest ``` [lz4-build-make-travis-install] contains the following commands. ``` make travis-install ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154 [lz4-build-make-travis-install] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L498-L510 --- .travis.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5215474..47010db 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,16 +41,16 @@ matrix: # - make clean # - CC="c++ -Wno-deprecated" make -C tests fullbench-wmalloc # stricter function signature check # - - name: (Precise) g++ and clang CMake test - dist: precise - script: - - make cxxtest - - make clean - - make examples - - make clean cmake - - make clean travis-install - - make clean clangtest - +# - name: (Precise) g++ and clang CMake test +# dist: precise +# script: +# - make cxxtest +# - make clean +# - make examples +# - make clean cmake +# - make clean travis-install +# - make clean clangtest +# - name: x32 compatibility test addons: apt: -- cgit v0.12 From abbd46b0d0a2ad73ef37b07eb47a2500fa03d22c Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 11:03:04 +0900 Subject: Disable "x32 compatibility test" [lz4-c-compilers] contains the following command ``` make -C tests test MOREFLAGS=-mx32 ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154 --- .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 47010db..7456402 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,14 +51,14 @@ matrix: # - make clean travis-install # - make clean clangtest # - - name: x32 compatibility test - addons: - apt: - packages: - - gcc-multilib - script: - - make -C tests test MOREFLAGS=-mx32 - +# - name: x32 compatibility test +# addons: +# apt: +# packages: +# - gcc-multilib +# script: +# - make -C tests test MOREFLAGS=-mx32 +# # 14.04 LTS Server Edition 64 bit # presume clang >= v3.9.0 - name: (Trusty) USan test -- cgit v0.12 From e88b2b14d0f509075a322cc074710b625a3cee81 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 11:04:58 +0900 Subject: Disable "(Trusty) USan test" [lz4-ubsan-x64] contains the following command ``` make usan MOREFLAGS=-Wcomma -Werror ``` [lz4-ubsan-x64] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L322-L336 --- .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7456402..6c74c7a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -59,14 +59,14 @@ matrix: # script: # - make -C tests test MOREFLAGS=-mx32 # - # 14.04 LTS Server Edition 64 bit - # presume clang >= v3.9.0 - - name: (Trusty) USan test - dist: trusty - compiler: clang - script: - - make usan MOREFLAGS=-Wcomma -Werror - +# # 14.04 LTS Server Edition 64 bit +# # presume clang >= v3.9.0 +# - name: (Trusty) USan test +# dist: trusty +# compiler: clang +# script: +# - make usan MOREFLAGS=-Wcomma -Werror +# - name: (Trusty) valgrind test dist: trusty install: -- cgit v0.12 From 81ee36cf40d202b8756fdfedde9a21fff3459b74 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 11:17:35 +0900 Subject: Disable "(Trusty) valgrind test" [lz4-c-compilers] contains the following command ``` make c_standards ``` [lz4-valgrind] contains the following command ``` make -C tests test-lz4 test-mem ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154 [lz4-valgrind] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L305-L316 --- .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6c74c7a..5686c86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,14 +67,14 @@ matrix: # script: # - make usan MOREFLAGS=-Wcomma -Werror # - - name: (Trusty) valgrind test - dist: trusty - install: - - sudo apt-get install -qq valgrind - script: - - make c_standards - - make -C tests test-lz4 test-mem - +# - name: (Trusty) valgrind test +# dist: trusty +# install: +# - sudo apt-get install -qq valgrind +# script: +# - make c_standards +# - make -C tests test-lz4 test-mem +# - name: (Trusty) c-to-c++ test dist: trusty script: -- cgit v0.12 From 40f4acb6ce69631a89b51c702fed473cad7aaa17 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 11:18:17 +0900 Subject: Disable "(Trusty) c-to-c++ test" [lz4-c-compilers] contains the following command ``` make ctocpptest ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154 --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5686c86..4971e45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -75,11 +75,11 @@ matrix: # - make c_standards # - make -C tests test-lz4 test-mem # - - name: (Trusty) c-to-c++ test - dist: trusty - script: - - make ctocpptest - +# - name: (Trusty) c-to-c++ test +# dist: trusty +# script: +# - make ctocpptest +# - name: (Trusty) i386 benchmark + version test dist: trusty install: -- cgit v0.12 From febc3ec9b23157c175a2bee03a88c8349795c1c7 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 11:19:54 +0900 Subject: Disable "(Trusty) i386 benchmark + version test" [lz4-c-compilers] contains the following command ``` make -C tests test-lz4c32 ``` [lz4-benchmark] contains the following command ``` make -C tests test-fullbench32 ``` [lz4-versions] contains the following command ``` make -C tests versionsTest ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154 [lz4-benchmark] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L167-L189 [lz4-versions] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L211-L221 --- .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4971e45..9819a30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -80,13 +80,13 @@ matrix: # script: # - make ctocpptest # - - name: (Trusty) i386 benchmark + version test - dist: trusty - install: - - sudo apt-get install -qq python3 libc6-dev-i386 gcc-multilib - script: - - make -C tests test-lz4c32 test-fullbench32 versionsTest - +# - name: (Trusty) i386 benchmark + version test +# dist: trusty +# install: +# - sudo apt-get install -qq python3 libc6-dev-i386 gcc-multilib +# script: +# - make -C tests test-lz4c32 test-fullbench32 versionsTest +# - name: (Trusty) i386 frame + fuzzer test dist: trusty install: -- cgit v0.12 From 3887bc6d817bd3559db11e3f2c81e30f7eed41b5 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 11:20:45 +0900 Subject: Disable "(Trusty) i386 frame + fuzzer test" [lz4-frame] contains the following command ``` make -C tests test-frametest32 ``` ` [lz4-fuzzer] contains the following command ``` make -C tests test-fuzzer32 ``` [lz4-frame] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L224-L237 [lz4-fuzzer] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L192-L208 --- .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9819a30..cab5c95 100644 --- a/.travis.yml +++ b/.travis.yml @@ -87,14 +87,14 @@ matrix: # script: # - make -C tests test-lz4c32 test-fullbench32 versionsTest # - - name: (Trusty) i386 frame + fuzzer test - dist: trusty - install: - - sudo apt-get install -qq libc6-dev-i386 gcc-multilib - - sudo sysctl -w vm.mmap_min_addr=4096 - script: - - make -C tests test-frametest32 test-fuzzer32 - +# - name: (Trusty) i386 frame + fuzzer test +# dist: trusty +# install: +# - sudo apt-get install -qq libc6-dev-i386 gcc-multilib +# - sudo sysctl -w vm.mmap_min_addr=4096 +# script: +# - make -C tests test-frametest32 test-fuzzer32 +# - name: (Trusty) gcc-6 standard C compilation dist: trusty addons: -- cgit v0.12 From f2a5599c8d2b4d3756f6ca893fcf9aa1e1096322 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 11:21:41 +0900 Subject: Disable "(Trusty) gcc-6 standard C compilation" Disable "(Trusty) gcc-6 standard C compilation" [lz4-c-compilers] contains the following commands for gcc-6 ``` make c_standards make -C tests test-lz4 ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154 --- .travis.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index cab5c95..4b5665a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -95,20 +95,20 @@ matrix: # script: # - make -C tests test-frametest32 test-fuzzer32 # - - name: (Trusty) gcc-6 standard C compilation - dist: trusty - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - gcc-6 - env: - - CC=gcc-6 - script: - - make c_standards - - make -C tests test-lz4 MOREFLAGS=-Werror - +# - name: (Trusty) gcc-6 standard C compilation +# dist: trusty +# addons: +# apt: +# sources: +# - ubuntu-toolchain-r-test +# packages: +# - gcc-6 +# env: +# - CC=gcc-6 +# script: +# - make c_standards +# - make -C tests test-lz4 MOREFLAGS=-Werror +# # - name: (Trusty) arm + aarch64 compilation # dist: trusty # install: -- cgit v0.12 From 42c3351af66741e1a3aef55e7eb947c1c7be7181 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 11:22:25 +0900 Subject: Disable "(Xenial) gcc-5 compilation" [lz4-c-compilers] contains the following commands for gcc-5 ``` make -C tests test-lz4 make -C tests test-lz4c32 ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154 --- .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4b5665a..edbfdd2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -138,13 +138,13 @@ matrix: script: - make test - - name: (Xenial) gcc-5 compilation - dist: xenial - install: - - sudo apt-get install -qq libc6-dev-i386 gcc-multilib - script: - - make -C tests test-lz4 clean test-lz4c32 MOREFLAGS=-Werror - +# - name: (Xenial) gcc-5 compilation +# dist: xenial +# install: +# - sudo apt-get install -qq libc6-dev-i386 gcc-multilib +# script: +# - make -C tests test-lz4 clean test-lz4c32 MOREFLAGS=-Werror +# - name: (Trusty) clang-3.8 compilation dist: trusty addons: -- cgit v0.12 From 0e3819cadb18eea38aeae672ea798113f8a3b228 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 11:23:10 +0900 Subject: Disable "(Trusty) clang-3.8 compilation" [lz4-c-compilers] contains the following command for clang-3.8. ``` make -C tests test-lz4 ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154 --- .travis.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index edbfdd2..282e02b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -145,18 +145,18 @@ matrix: # script: # - make -C tests test-lz4 clean test-lz4c32 MOREFLAGS=-Werror # - - name: (Trusty) clang-3.8 compilation - dist: trusty - addons: - apt: - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.8 - packages: - - clang-3.8 - script: - - make -C tests test-lz4 CC=clang-3.8 - +# - name: (Trusty) clang-3.8 compilation +# dist: trusty +# addons: +# apt: +# sources: +# - ubuntu-toolchain-r-test +# - llvm-toolchain-precise-3.8 +# packages: +# - clang-3.8 +# script: +# - make -C tests test-lz4 CC=clang-3.8 +# # - name: (Trusty) PowerPC + PPC64 compilation # dist: trusty # install: -- cgit v0.12 From 60b1f8dfbd65adb326c04e5fd427e312f82a23e4 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 11:24:11 +0900 Subject: Disable "(Trusty) scan-build + cppcheck" [lz4-scan-build] contains the following command ``` make staticAnalyze ``` [lz4-cppcheck]contains the following command ``` make cppcheck ``` We ignore the exit code of cppcheck. We refer its output as a guideline. [lz4-scan-build] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L285-L302 [lz4-cppcheck] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L268-L282 --- .travis.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 282e02b..262f15e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -165,15 +165,15 @@ matrix: # - make platformTest CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc-static # - make platformTest CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc64-static MOREFLAGS=-m64 # - - name: (Trusty) scan-build + cppcheck - dist: trusty - compiler: clang - install: - - sudo apt-get install -qq cppcheck - script: - - make staticAnalyze - - make cppcheck - +# - name: (Trusty) scan-build + cppcheck +# dist: trusty +# compiler: clang +# install: +# - sudo apt-get install -qq cppcheck +# script: +# - make staticAnalyze +# - make cppcheck +# - name: (Trusty) gcc-4.4 compilation dist: trusty addons: -- cgit v0.12 From ba752cfec9764c7c017d598b37a61e1294c2ff66 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Mon, 31 May 2021 11:25:21 +0900 Subject: Disable "(Trusty) gcc-4.4 compilation" [lz4-c-compilers] contains the following commands ``` make all CFLAGS=-fPIC LDFLAGS='-pie -fPIE -D_FORTIFY_SOURCE=2' make -C programs ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154 --- .travis.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 262f15e..0616021 100644 --- a/.travis.yml +++ b/.travis.yml @@ -174,20 +174,20 @@ matrix: # - make staticAnalyze # - make cppcheck # - - name: (Trusty) gcc-4.4 compilation - dist: trusty - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - libc6-dev-i386 - - gcc-multilib - - gcc-4.4 - script: - - make clean all CC=gcc-4.4 MOREFLAGS=-Werror - - make clean - - CFLAGS=-fPIC LDFLAGS='-pie -fPIE -D_FORTIFY_SOURCE=2' make -C programs +# - name: (Trusty) gcc-4.4 compilation +# dist: trusty +# addons: +# apt: +# sources: +# - ubuntu-toolchain-r-test +# packages: +# - libc6-dev-i386 +# - gcc-multilib +# - gcc-4.4 +# script: +# - make clean all CC=gcc-4.4 MOREFLAGS=-Werror +# - make clean +# - CFLAGS=-fPIC LDFLAGS='-pie -fPIE -D_FORTIFY_SOURCE=2' make -C programs # tag-specific test - name: tag build -- cgit v0.12