Skip to content

Commit 5812a19

Browse files
committed
revert the intentional failure
1 parent 3bb94e6 commit 5812a19

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

ci/scripts/r_valgrind.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ ${R_BIN} --vanilla -d "valgrind --tool=memcheck --leak-check=full --track-origin
3434
# but R eats that and returns 0, so we need to look at the output and make sure that
3535
# we have 0 errors instead.
3636
if [ $(grep -c "ERROR SUMMARY: 0 errors" testthat.out) != 1 ]; then
37+
cat testthat.out
3738
echo "Found Valgrind errors"
3839
exit 1
3940
fi

r/tests/testthat/helper-skip.R

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ skip_on_valgrind <- function() {
6060
# This does not actually skip on valgrind because we can't exactly detect it.
6161
# Instead, it skips on CRAN when the OS is linux + and the R version is development
6262
# (which is where valgrind is run as of this code)
63-
# linux_dev <- identical(tolower(Sys.info()[["sysname"]]), "linux") &&
64-
# grepl("devel", R.version.string)
63+
linux_dev <- identical(tolower(Sys.info()[["sysname"]]), "linux") &&
64+
grepl("devel", R.version.string)
6565

66-
# if (linux_dev) {
67-
# skip_on_cran()
68-
# }
66+
if (linux_dev) {
67+
skip_on_cran()
68+
}
6969
}
7070

7171
process_is_running <- function(x) {

0 commit comments

Comments
 (0)