THRIFT-892 Refactor erlang build system with rebar
reactivate eunit test cases


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1138674 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/erl/Makefile.am b/lib/erl/Makefile.am
index af6a0c1..fd780a2 100644
--- a/lib/erl/Makefile.am
+++ b/lib/erl/Makefile.am
@@ -33,9 +33,7 @@
 	./rebar compile
 
 check: .generated
-
-# FIXME: build breaks on apache build system because it doesn't have eunit
-# ./rebar eunit
+	./rebar eunit
 
 install: all
 	mkdir -p $(DESTDIR)$(ERLANG_INSTALL_LIB_DIR_thrift) ; \