Skip to content

Commit

Permalink
additional test added for the release case of a version x.y.z and no …
Browse files Browse the repository at this point in the history
…tests
  • Loading branch information
eddelbuettel committed Jun 6, 2014
1 parent 0188d21 commit 8f39122
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* inst/include/Rcpp/config.h: Release 0.11.2
* debian/*: Similarly updated for new release to Debian

* tests/doRUnit.R: Additional check added for release version case

2014-06-05 JJ Allaire <jj@rstudio.org>

* R/Attributes.R: Use -std=c++0x for cpp11 plugin on Windows if R <= 3.0
Expand Down
2 changes: 1 addition & 1 deletion tests/doRUnit.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if (getErrors(tests)$nFail > 0) {
if (getErrors(tests)$nErr > 0) {
stop("TEST HAD ERRORS!")
}
if (getErrors(tests)$nTestFunc < 1) {
if (getErrors(tests)$nTestFunc < 1 && Sys.getenv("RunAllRcppTests")=="yes") {
stop("NO TEST FUNCTIONS RUN!")
}

0 comments on commit 8f39122

Please sign in to comment.