Skip to content

Commit 4d8d89c

Browse files
committed
turn verbose tests on in dev and on Travis
1 parent ea4cd32 commit 4d8d89c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

ChangeLog

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

3+
* tests/tinytest.R: Turn verbose tests on in dev and on Travis
4+
35
* inst/tinytest/test_client_package.R: Finer-grained skip messages
46
* inst/tinytest/test_module_client_package.R: Idem
57
* inst/tinytest/test_expose_class.R: Idem

tests/tinytest.R

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ if (requireNamespace("tinytest", quietly=TRUE) &&
1515
message("Setting \"RunAllRcppTests\"=\"yes\" for development release\n")
1616
Sys.setenv("RunAllRcppTests"="yes")
1717
}
18+
if (Sys.getenv("RunVerboseRcppTests") != "no") { # if env.var not yet set
19+
message("Setting \"RunVerboseRcppTests\"=\"yes\" for development release\n")
20+
Sys.setenv("RunVerboseRcppTests"="yes")
21+
}
1822
}
1923

2024
## On Travis also always set tests; see
@@ -26,6 +30,10 @@ if (requireNamespace("tinytest", quietly=TRUE) &&
2630
message("Always enabling \"RunAllRcppTests\"=\"yes\" on Travis\n")
2731
Sys.setenv("RunAllRcppTests"="yes")
2832
}
33+
if (Sys.getenv("RunVerboseRcppTests") != "no") { # if env.var not yet set
34+
message("Always enabling \"RunVerboseRcppTests\"=\"yes\" on Travis\n")
35+
Sys.setenv("RunVerboseRcppTests"="yes")
36+
}
2937
}
3038

3139
## there are several more granular ways to test files in a tinytest directory,

0 commit comments

Comments
 (0)