aboutsummaryrefslogtreecommitdiff
path: root/test/tests.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2015-01-01 14:14:05 -0500
committerSean Allred <code@seanallred.com>2015-01-01 14:14:29 -0500
commit1518cee93ef2d33af9ddf214ae1c181d02c7b94f (patch)
treeba7383c9b7597c490dbed4da2b3d62350fbddff3 /test/tests.el
parent6376a70f9d70f711723e144ea787cd0a79f7cd7b (diff)
Add toggle for detailed test messages
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))