Merge pull request #2455 from facebook/lessTests

removed redundant tests
This commit is contained in:
Yann Collet 2021-01-07 10:23:14 -08:00 committed by GitHub
commit 7a620b190e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 30 deletions

View File

@ -128,18 +128,6 @@ jobs:
make gcc6install libc6install make gcc6install libc6install
CC=gcc-6 CFLAGS="-O2 -m32" FUZZER_FLAGS="--long-tests" make uasan-fuzztest CC=gcc-6 CFLAGS="-O2 -m32" FUZZER_FLAGS="--long-tests" make uasan-fuzztest
clang-38-msan-fuzz:
runs-on: ubuntu-16.04 # fails on 18.04
steps:
- uses: actions/checkout@v2
- name: clang-3.8 + MSan + Fuzz Test
run: |
# make clang38install (doesn't work)
sudo apt-add-repository "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.8 main"
sudo apt-get update
sudo apt-get install clang-3.8
CC=clang-3.8 make clean msan-fuzztest
asan-ubsan-msan-regression: asan-ubsan-msan-regression:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View File

@ -34,16 +34,13 @@ jobs:
make -C tests test-zbuff make -C tests test-zbuff
tsan: tsan:
runs-on: ubuntu-16.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: thread sanitizer - name: thread sanitizer
run: | run: |
sudo apt-add-repository "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.8 main" CC=clang make tsan-test-zstream
sudo apt-get update CC=clang make tsan-fuzztest
sudo apt-get install clang-3.8
CC=clang-3.8 make tsan-test-zstream
CC=clang-3.8 make tsan-fuzztest
zlib-wrapper: zlib-wrapper:
runs-on: ubuntu-16.04 runs-on: ubuntu-16.04

View File

@ -32,11 +32,6 @@ matrix:
script: script:
- make check - make check
- name: make test (complete)
script:
# DEVNULLRIGHTS : will request sudo rights to test permissions on /dev/null
- DEVNULLRIGHTS=test make test
- name: Minimal Decompressor Macros # ~5mn - name: Minimal Decompressor Macros # ~5mn
script: script:
- make clean && make -j all ZSTD_LIB_MINIFY=1 MOREFLAGS="-Werror" - make clean && make -j all ZSTD_LIB_MINIFY=1 MOREFLAGS="-Werror"

View File

@ -1530,6 +1530,7 @@ ZSTDLIB_API ZSTD_threadPool* ZSTD_createThreadPool(size_t numThreads);
ZSTDLIB_API void ZSTD_freeThreadPool (ZSTD_threadPool* pool); ZSTDLIB_API void ZSTD_freeThreadPool (ZSTD_threadPool* pool);
ZSTDLIB_API size_t ZSTD_CCtx_refThreadPool(ZSTD_CCtx* cctx, ZSTD_threadPool* pool); ZSTDLIB_API size_t ZSTD_CCtx_refThreadPool(ZSTD_CCtx* cctx, ZSTD_threadPool* pool);
/* /*
* This API is temporary and is expected to change or disappear in the future! * This API is temporary and is expected to change or disappear in the future!
*/ */
@ -1540,11 +1541,13 @@ ZSTDLIB_API ZSTD_CDict* ZSTD_createCDict_advanced2(
const ZSTD_CCtx_params* cctxParams, const ZSTD_CCtx_params* cctxParams,
ZSTD_customMem customMem); ZSTD_customMem customMem);
ZSTDLIB_API ZSTD_DDict* ZSTD_createDDict_advanced(const void* dict, size_t dictSize, ZSTDLIB_API ZSTD_DDict* ZSTD_createDDict_advanced(
const void* dict, size_t dictSize,
ZSTD_dictLoadMethod_e dictLoadMethod, ZSTD_dictLoadMethod_e dictLoadMethod,
ZSTD_dictContentType_e dictContentType, ZSTD_dictContentType_e dictContentType,
ZSTD_customMem customMem); ZSTD_customMem customMem);
/*************************************** /***************************************
* Advanced compression functions * Advanced compression functions
***************************************/ ***************************************/