Skip to content

Commit 1383e5f

Browse files
TESTME: Add debug + some tags
1 parent 81f4c8e commit 1383e5f

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

inst/testme/run.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@ if (!is.na(code)) {
146146

147147
message(sprintf("Test %s ...", sQuote(testme[["name"]])))
148148

149+
if (testme[["debug"]]) {
150+
message("testme:")
151+
message(paste(utils::capture.output(utils::str(as.list(testme))), collapse = "\n"))
152+
}
153+
149154
## Process prologue scripts, if they exist
150155
if (testme[["status"]] != "skipped" &&
151156
utils::file_test("-d", file.path(path, "_prologue"))) {

inst/testme/test-batchtools_multicore.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#' @tags batchtools_multicore
2-
#' @tags skip_on_cran
32

43
library(future.batchtools)
54
library(listenv)

inst/testme/test-nbrOfWorkers.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#' @tags nbrOfWorkers nbrOfFreeWorkers
2+
#' @tags batchtools_local batchtools_interactive batchtools_multicore batchtools_custom
3+
14
library(future.batchtools)
25
library(listenv)
36

0 commit comments

Comments
 (0)