From: Ivan Maidanski Date: Fri, 5 Apr 2019 18:27:20 +0000 (+0300) Subject: Appveyor/Travis CI: Test with GC time limit set to 10 ms X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=505a373dcf6ec625d5015daeecc45c44a207f657;p=gc Appveyor/Travis CI: Test with GC time limit set to 10 ms --- diff --git a/.travis.yml b/.travis.yml index 084959ee..c7bf2729 100644 --- a/.travis.yml +++ b/.travis.yml @@ -143,7 +143,7 @@ matrix: - os: linux compiler: gcc env: - - CFLAGS_EXTRA="-D DONT_ADD_BYTE_AT_END" + - CFLAGS_EXTRA="-D DONT_ADD_BYTE_AT_END -D GC_TIME_LIMIT=10" - CONF_OPTIONS="--enable-gc-assertions --enable-cplusplus" - os: linux addons: diff --git a/appveyor.yml b/appveyor.yml index e60b59ff..ef3ad25c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -21,7 +21,7 @@ environment: - TARGET: mingw CFLAGS_EXTRA: -Werror -Wall -Wextra -Wpedantic -D GC_THREADS -D THREAD_LOCAL_ALLOC -D PARALLEL_MARK -D GC_ASSERTIONS -D EMPTY_GETENV_RESULTS -D GC_GCJ_SUPPORT -D USE_MUNMAP -D LARGE_CONFIG - TARGET: mingw - CFLAGS_EXTRA: -Werror -Wall -Wextra -Wpedantic -O3 -march=native -D GC_THREADS -D GC_GCJ_SUPPORT -D WINXP_USE_PERF_COUNTER + CFLAGS_EXTRA: -Werror -Wall -Wextra -Wpedantic -O3 -march=native -D GC_THREADS -D GC_GCJ_SUPPORT -D GC_TIME_LIMIT=10 -D WINXP_USE_PERF_COUNTER - TARGET: mingw-shared-no-make CFLAGS_EXTRA: -Werror -Wall -Wextra -Wpedantic -D GC_THREADS -D GC_ASSERTIONS -D ENABLE_DISCLAIM -D GC_GCJ_SUPPORT -D GC_PREFER_MPROTECT_VDB -D GC_CALL=__stdcall -D GC_CALLBACK=__fastcall - TARGET: mingw-w64