Skip to content

Commit

Permalink
Extra valgrind steps added to release script
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdowle committed Apr 11, 2018
1 parent fd3e3dd commit c6efc78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CRAN_Release.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ test.data.table()
# valgrind
###############################################

# TODO: compile R with --with-valgrind-instrumentation=2 too as per R-exts$4.3.2
vi ~/.R/Makevars # make the -O0 -g line active, for info on source lines with any problems
R --vanilla CMD INSTALL data.table_1.10.5.tar.gz
R -d "valgrind --tool=memcheck --leak-check=full --show-leak-kinds=definite" --vanilla
Expand All @@ -155,6 +156,7 @@ require(bit64)
test.data.table()

gctorture(TRUE) # very very slow, though. Don't run with suggests tests.
gctorture2(step=100)
test.data.table()

# Investigated and ignore :
Expand Down

0 comments on commit c6efc78

Please sign in to comment.