summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/check.erl11
-rw-r--r--test/config/check.config4
2 files changed, 15 insertions, 0 deletions
diff --git a/test/check.erl b/test/check.erl
new file mode 100755
index 0000000..b538346
--- /dev/null
+++ b/test/check.erl
@@ -0,0 +1,11 @@
+#! /usr/bin/env escript
+%% -*- erlang -*- mode
+%%! -pa ebin -pa ../lager/ebin -pa ../lager/deps/goldrush/ebin -pa ../mochiweb/ebin -config test/config/check.config
+
+%% To enable logging, pass `-s lager' by adding it to the line above.
+%% Tweak the amount of logging by changing `lager_console_backend' in
+%% config/check.config.
+
+main(_) ->
+ ok = x509:test(),
+ ok = catlfish:test().
diff --git a/test/config/check.config b/test/config/check.config
new file mode 100644
index 0000000..fa84f34
--- /dev/null
+++ b/test/config/check.config
@@ -0,0 +1,4 @@
+%% -*- erlang -*-
+[{lager,
+ [{handlers,
+ [{lager_console_backend, debug}]}]}].