diff options
author | Linus Nordberg <linus@nordberg.se> | 2015-02-19 16:17:01 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2015-02-19 16:17:01 +0100 |
commit | 7cbbfa7c7e0fba134838c5c9c58d2d3174232882 (patch) | |
tree | 69e88887845cda8c8a0f2791246abb2746693a3c /test/check.erl | |
parent | f40d4a258f926614eb49492e1cc905f5f14f7509 (diff) |
Make unit tests work again.
Makefile target 'check' runs them.
Diffstat (limited to 'test/check.erl')
-rwxr-xr-x | test/check.erl | 11 |
1 files changed, 11 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(). |