aboutsummaryrefslogtreecommitdiff
path: root/test/tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/tests.el')
-rw-r--r--test/tests.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/tests.el b/test/tests.el
index daaa8b5..d709600 100644
--- a/test/tests.el
+++ b/test/tests.el
@@ -51,5 +51,11 @@
sx-test-base-dir
(symbol-name test))))
+(setq sx-test-enable-messages nil)
+
+(defun sx-test-message (message &rest args)
+ (when sx-test-enable-messages
+ (apply #'message (cons message args))))
+
(mapc #'sx-load-test
'(api macros printing util))