Merge pull request #2109 from facebook/fasterCygwin

faster cygwin test
This commit is contained in:
Yann Collet 2020-05-05 20:50:40 -07:00 committed by GitHub
commit d116f24070
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -249,7 +249,7 @@
C:\cygwin64\bin\bash --login -c " C:\cygwin64\bin\bash --login -c "
set -e; set -e;
cd build/cmake; cd build/cmake;
CFLAGS='-Werror' cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Debug -DZSTD_BUILD_TESTS:BOOL=ON -DZSTD_FUZZER_FLAGS=-T30s .; CFLAGS='-Werror' cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Debug -DZSTD_BUILD_TESTS:BOOL=ON -DZSTD_FUZZER_FLAGS=-T30s -DZSTD_ZSTREAM_FLAGS=-T30s .;
make -j4; make -j4;
ctest -V -L Medium; ctest -V -L Medium;
" "

View File

@ -70,7 +70,7 @@ AddTestFlagsOption(ZSTD_FUZZER_FLAGS "$ENV{FUZZERTEST} $ENV{FUZZER_FLAGS}"
add_test(NAME fuzzer COMMAND fuzzer ${ZSTD_FUZZER_FLAGS}) add_test(NAME fuzzer COMMAND fuzzer ${ZSTD_FUZZER_FLAGS})
# Disable the timeout since the run time is too long for the default timeout of # Disable the timeout since the run time is too long for the default timeout of
# 1500 seconds and varies considerably between low-end and high-end CPUs. # 1500 seconds and varies considerably between low-end and high-end CPUs.
set_tests_properties(fuzzer PROPERTIES TIMEOUT 0) # set_tests_properties(fuzzer PROPERTIES TIMEOUT 0)
# #
# zstreamtest # zstreamtest