Skip to content

Commit e841f98

Browse files
committed
finer grained test message
1 parent 74f6ef4 commit e841f98

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
2019-12-08 Dirk Eddelbuettel <[email protected]>
22

33
* inst/tinytest/test_client_package.R: Finer-grained skip messages
4+
* inst/tinytest/test_module_client_package.R: Idem
45

56
* src/attributes.cpp: Remove dangling '#nocov end'
67

inst/tinytest/test_client_package.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
.runThisTest <- Sys.getenv("RunAllRcppTests") == "yes" && Sys.getenv("RunVerboseRcppTests") == "yes"
2323

2424
if (! .runThisTest) exit_file("Set 'RunVerboseRcppTests' and 'RunAllRcppTests' to 'yes' to run.")
25-
if (.onWindow) exit_file("Skipping on Windows.'")
25+
if (.onWindows) exit_file("Skipping on Windows.'")
2626

2727
#.client.package <- function(pkg = "testRcppPackage") {
2828
td <- tempfile()

inst/tinytest/test_module_client_package.R

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,11 @@
2525
## It now (Dec 2011) appears to fail on Windows too
2626
.onWindows <- .Platform$OS.type == "windows"
2727

28-
.runThisTest <- Sys.getenv("RunAllRcppTests") == "yes"
29-
30-
## override -- skipping test for now as noisy
31-
.runThisTest <- FALSE
28+
if (.badOSX || .onWindows) exit_file("Skipping as older macOS or Windows.")
3229

33-
if ( ! .runThisTest) exit_file("Skipping 'test_module_client_package.R'")
30+
.runThisTest <- Sys.getenv("RunAllRcppTests") == "yes" && Sys.getenv("RunVerboseRcppTests") == "yes"
3431

35-
if (.badOSX || .onWindows) exit_file("Skipping as older macOS or Windows.")
32+
if (! .runThisTest) exit_file("Set 'RunVerboseRcppTests' and 'RunAllRcppTests' to 'yes' to run.")
3633

3734
## ## added test for 'testRcppClass' example of extending C++ classes via R
3835
# test.Class.package <- function( ){

0 commit comments

Comments
 (0)