Skip to content

Commit 935ef84

Browse files
committed
report more possible outcomes after RUnit run
1 parent e399565 commit 935ef84

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

ChangeLog

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
2014-04-02 Dirk Eddelbuettel <[email protected]>
2+
3+
* tests/doRUnit.R: Better RUnit error report with thanks to Murray
4+
15
2014-03-18 JJ Allaire <[email protected]>
26

37
* man/cppFunction.Rd: Correct package header file example to use .h
48

59
2014-03-14 Dirk Eddelbuettel <[email protected]>
610

7-
* inst/include/Rcpp/DataFrame.h (Rcpp): Add missing return in Impl method
11+
* inst/include/Rcpp/DataFrame.h: Add missing return in Impl method
812

913
2014-03-13 Dirk Eddelbuettel <[email protected]>
1014

tests/doRUnit.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,10 @@ printTextProtocol(tests)
6161
if (getErrors(tests)$nFail > 0) {
6262
stop("TEST FAILED!")
6363
}
64+
if (getErrors(tests)$nErr > 0) {
65+
stop("TEST HAD ERRORS!")
66+
}
67+
if (getErrors(tests)$nTestFunc < 1) {
68+
stop("NO TEST FUNCTIONS RUN!")
69+
}
6470

0 commit comments

Comments
 (0)