Commit 82b9087e authored by Jordan Sissel's avatar Jordan Sissel

add test target

parent 8cd0335b
......@@ -33,7 +33,7 @@ clean:
rpm deb:
fpm -s dir -t $@ -n lumberjack -v $(VERSION) --prefix /opt/lumberjack \
-C build bin/lumberjack lib
--exclude '*.a' -C build bin/lumberjack lib
#install: build/bin/lumberjack build/lib/libzmq.$(LIBEXT)
# install -d -m 755 build/bin/* $(PREFIX)/bin/lumberjack
......@@ -50,6 +50,10 @@ str.c: str.h
proto.c: proto.h str.h
ring.c: ring.h
.PHONY: test
test: | build/test/test_ring
# Tests
test_ring.c: ring.h build/include/jemalloc/jemalloc.h build/include/insist.h
build/test/test_ring: test_ring.o ring.o | build/test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment