summaryrefslogtreecommitdiff
path: root/test/check.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2015-08-06 16:25:29 +0200
committerLinus Nordberg <linus@nordu.net>2015-08-06 16:25:29 +0200
commit85982c4033da4d54937078f8ae1d9c8fde072372 (patch)
treefcd675332c810a34f4cccabb4cffc34e907c2adb /test/check.erl
parenta540dfce3c57c9bf4ead2bfee3fe6241fdba05bc (diff)
Add tlv.erl.
Also, add test/check.erl for unit tests (make check).
Diffstat (limited to 'test/check.erl')
-rwxr-xr-xtest/check.erl13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/check.erl b/test/check.erl
new file mode 100755
index 0000000..f4fdb8d
--- /dev/null
+++ b/test/check.erl
@@ -0,0 +1,13 @@
+#! /usr/bin/env escript
+%% -*- erlang -*- mode
+%%! -pa ebin -pa ../lager/ebin -pa ../lager/deps/goldrush/ebin -pa ../mochiweb/ebin -config test/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
+%% check.config.
+
+main(_) ->
+ ok = ht:test(),
+ ok = ts:test(),
+ ok = tlv:test().
+