File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -215,18 +215,17 @@ test-lin-ancient-cran:
215215# run the main checks with Address(+Leak),UBSanitizer enabled
216216test-lin-san :
217217 << : *test-lin
218- image : docker.io/rocker/ r-devel-ubsan- clang
218+ image : registry.gitlab.com/rdatatable/dockerfiles/ r-devel-clang-san
219219 variables :
220220 # must be set for most of the process because there are pseudo-leaks everywhere
221221 ASAN_OPTIONS : " detect_leaks=0"
222222 # fontconfig is known to leak; add more suppressions as discovered
223223 LSAN_OPTIONS : " suppressions=$CI_PROJECT_DIR/.dev/lsan.supp"
224- UBSAN_OPTIONS : " suppressions=$CI_PROJECT_DIR/.dev/ubsan.supp"
224+ UBSAN_OPTIONS : " suppressions=$CI_PROJECT_DIR/.dev/ubsan.supp:print_stacktrace=1 "
225225 script :
226- - ln -svf "$(which RDscript)" "$(which Rscript)" # install-deps will run 'Rscript', we need R-devel+sanitizers
227226 - *install-deps
228227 - >-
229- ASAN_OPTIONS=detect_leaks=1 RD CMD check --no-manual $(ls -1t data.table_*.tar.gz | head -n 1); res1=$?
228+ ASAN_OPTIONS=detect_leaks=1 R CMD check --no-manual $(ls -1t data.table_*.tar.gz | head -n 1); res1=$?
230229 perl -nle '(print, $a=1) if /: runtime error: |ERROR: LeakSanitizer/../SUMMARY.*Sanitizer/ }{ exit $a' data.table.Rcheck/**/*.Rout*; res2=$?
231230 # fail if R CMD check had failed or if sanitizer output found
232231 [ $res1 -eq 0 ] && [ $res2 -eq 0 ]
You can’t perform that action at this time.
0 commit comments