Skip to content

Commit

Permalink
skip last check for tinytest < 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Sep 29, 2021
1 parent c9d405e commit 0ae2df9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inst/tinytest/test_xptr.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,7 @@ void test() {
writeLines(code, file_path)
expect_silent(system(cmd), info="check that finalizer is NOT called on exit")

if (packageVersion("tinytest") < "1.2.0") exit_file("Skip remainder on older test platform")

writeLines(c("#define RCPP_USE_FINALIZE_ON_EXIT", code), file_path)
expect_stdout(system(cmd), info="check that finalizer is called on exit")

0 comments on commit 0ae2df9

Please sign in to comment.