From 0f7bdf143209d4b760873ef91c793b4eb9e88303 Mon Sep 17 00:00:00 2001 From: jakobeha Date: Mon, 23 Oct 2023 01:50:33 -0400 Subject: [PATCH] fix source_all_tests again... --- tools/source_all_tests.R | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/source_all_tests.R b/tools/source_all_tests.R index d63960af4..541ed830f 100644 --- a/tools/source_all_tests.R +++ b/tools/source_all_tests.R @@ -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) }) }