Skip to content

Commit 8f39122

Browse files
committed
additional test added for the release case of a version x.y.z and no tests
1 parent 0188d21 commit 8f39122

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* inst/include/Rcpp/config.h: Release 0.11.2
66
* debian/*: Similarly updated for new release to Debian
77

8+
* tests/doRUnit.R: Additional check added for release version case
9+
810
2014-06-05 JJ Allaire <[email protected]>
911

1012
* R/Attributes.R: Use -std=c++0x for cpp11 plugin on Windows if R <= 3.0

tests/doRUnit.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ if (getErrors(tests)$nFail > 0) {
6464
if (getErrors(tests)$nErr > 0) {
6565
stop("TEST HAD ERRORS!")
6666
}
67-
if (getErrors(tests)$nTestFunc < 1) {
67+
if (getErrors(tests)$nTestFunc < 1 && Sys.getenv("RunAllRcppTests")=="yes") {
6868
stop("NO TEST FUNCTIONS RUN!")
6969
}
7070

0 commit comments

Comments
 (0)