]> granicus.if.org Git - gc/commitdiff
Travis CI: Workaround 'real_malloc is never called' cppcheck warning
authorIvan Maidanski <ivmai@mail.ru>
Mon, 10 Jul 2017 21:49:14 +0000 (00:49 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 10 Jul 2017 21:49:14 +0000 (00:49 +0300)
(fix commit 0027759)

.travis.yml

index 7645afb83f4c98d73bcacb715a5bd6b34f52bf9c..7deea0733960499848bde60d4b568a78a6f6e3df 100644 (file)
@@ -261,7 +261,7 @@ matrix:
     - CFLAGS_EXTRA="-D ALL_INTERIOR_POINTERS -D CHECKSUMS -D DBG_HDRS_ALL -D DEBUG_THREADS -D ENABLE_TRACE -D GC_ALWAYS_MULTITHREADED -D GC_ASSERTIONS -D GC_ATOMIC_UNCOLLECTABLE -D GC_ENABLE_SUSPEND_THREAD -D GC_GCJ_SUPPORT -D GC_PRINT_BACK_HEIGHT -D GC_THREADS -D HANDLE_FORK -D JAVA_FINALIZATION -D KEEP_BACK_PTRS -D MAKE_BACK_GRAPH -D PARALLEL_MARK -D PRINT_BLACK_LIST -D THREAD_LOCAL_ALLOC -D USE_MMAP -D USE_MUNMAP"
   - os: linux
     env:
-    - CPPCHECK_ENABLE="-j16 --enable=information,performance,portability,style,warning extra/AmigaOS.c extra/MacOS.c extra/msvc_dbg.c extra/symbian.cpp"
+    - CPPCHECK_ENABLE="-j16 --enable=information,performance,portability,style,warning extra/AmigaOS.c extra/MacOS.c extra/msvc_dbg.c extra/real_malloc.c extra/symbian.cpp"
     sudo: required
   - os: linux
     env:
@@ -503,7 +503,7 @@ script:
     ~/cppcheck/cppcheck -q -f --error-exitcode=2 -U GC_API -U long -D CPPCHECK
         -I include -I libatomic_ops/src $CPPCHECK_ENABLE
         *.cc cord/*.c cord/tests/*.c tests/*.c tests/*.cc tools/*.c
-        extra/gc.c extra/pcr_interface.c extra/real_malloc.c;
+        extra/gc.c extra/pcr_interface.c;
   fi
 - if [[ "$MSAN_OR_UBSAN" == true ]]; then
     UBSAN_OPTIONS="halt_on_error=1" make check-without-test-driver;