[CI][cmake] Disable --test-large-data and shorten fuzzing time to 2 mins
This commit is contained in:
parent
0be843b200
commit
bc3cda9b9f
4
.github/workflows/generic-dev.yml
vendored
4
.github/workflows/generic-dev.yml
vendored
@ -90,10 +90,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: cmake build and test check
|
- name: cmake build and test check
|
||||||
run: |
|
run: |
|
||||||
make cmakebuild
|
FUZZERTEST=-T1mn ZSTREAM_TESTTIME=-T1mn make cmakebuild
|
||||||
cp -r ./ "../zstd source"
|
cp -r ./ "../zstd source"
|
||||||
cd "../zstd source"
|
cd "../zstd source"
|
||||||
make cmakebuild
|
FUZZERTEST=-T1mn ZSTREAM_TESTTIME=-T1mn make cmakebuild
|
||||||
|
|
||||||
gcc-8-asan-ubsan-fuzz:
|
gcc-8-asan-ubsan-fuzz:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -162,6 +162,8 @@
|
|||||||
- if [%TEST%]==[cmake] (
|
- if [%TEST%]==[cmake] (
|
||||||
mkdir build\cmake\build &&
|
mkdir build\cmake\build &&
|
||||||
cd build\cmake\build &&
|
cd build\cmake\build &&
|
||||||
|
SET FUZZERTEST=-T2mn &&
|
||||||
|
SET ZSTREAM_TESTTIME=-T2mn &&
|
||||||
cmake -G "Visual Studio 14 2015 Win64" .. &&
|
cmake -G "Visual Studio 14 2015 Win64" .. &&
|
||||||
cd ..\..\.. &&
|
cd ..\..\.. &&
|
||||||
make clean
|
make clean
|
||||||
|
@ -84,7 +84,7 @@ add_test(NAME zstreamtest COMMAND zstreamtest ${ZSTD_ZSTREAM_FLAGS})
|
|||||||
#
|
#
|
||||||
# playTests.sh
|
# playTests.sh
|
||||||
#
|
#
|
||||||
AddTestFlagsOption(ZSTD_PLAYTESTS_FLAGS "--test-large-data"
|
AddTestFlagsOption(ZSTD_PLAYTESTS_FLAGS "$ENV{PLAYTESTS_FLAGS}"
|
||||||
"Semicolon-separated list of flags to pass to the playTests.sh test")
|
"Semicolon-separated list of flags to pass to the playTests.sh test")
|
||||||
add_test(NAME playTests COMMAND sh -c "\"${TESTS_DIR}/playTests.sh\" ${ZSTD_PLAYTESTS_FLAGS}")
|
add_test(NAME playTests COMMAND sh -c "\"${TESTS_DIR}/playTests.sh\" ${ZSTD_PLAYTESTS_FLAGS}")
|
||||||
if (ZSTD_BUILD_PROGRAMS)
|
if (ZSTD_BUILD_PROGRAMS)
|
||||||
|
Loading…
Reference in New Issue
Block a user