Skip to content

Commit

Permalink
fix source_all_tests again...
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakobeha committed Oct 23, 2023
1 parent 1389f0e commit 0f7bdf1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/source_all_tests.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ for (f in sort(list.files("../rir/tests", pattern = "*.[rR]$", full.names = TRUE
tryCatch(source(f, echo=TRUE, local=quitEnv), error = function(e) {
if (grepl("quit called", as.character(e), fixed = TRUE)) {
print(paste("*** QUIT ", basename(f)))
} else {
print(paste("*** ERROR in ", basename(f)))
print(e)
}
print(paste("*** ERROR in ", basename(f)))
print(e)
})
}

0 comments on commit 0f7bdf1

Please sign in to comment.