aboutsummaryrefslogtreecommitdiffstats
path: root/test/lua/tests.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-28 00:24:13 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-28 00:24:13 +0000
commitc0cb4e65ad38198b8112238995b224b64e83c901 (patch)
tree043f0cad87a67168c00bb87331114805da062f72 /test/lua/tests.lua
parente4cc017c5d44c1046e6afdfc1e68d756c8748b6b (diff)
downloadrspamd-c0cb4e65ad38198b8112238995b224b64e83c901.tar.gz
rspamd-c0cb4e65ad38198b8112238995b224b64e83c901.zip
Adopt RSA test for telescope.
Diffstat (limited to 'test/lua/tests.lua')
-rw-r--r--test/lua/tests.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/lua/tests.lua b/test/lua/tests.lua
index 0f6b06b4b..8f64bba4e 100644
--- a/test/lua/tests.lua
+++ b/test/lua/tests.lua
@@ -10,7 +10,16 @@ end
local buffer = {}
local results = telescope.run(contexts, callbacks, test_pattern)
local summary, data = telescope.summary_report(contexts, results)
+
table.insert(buffer, telescope.test_report(contexts, results))
+table.insert(buffer, summary)
+
+local report = telescope.error_report(contexts, results)
+
+if report then
+ table.insert(buffer, "")
+ table.insert(buffer, report)
+end
if #buffer > 0 then print(table.concat(buffer, "\n")) end