Skip to content

Commit

Permalink
run test when make test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yangqing committed Sep 13, 2013
1 parent c18d41f commit 9b41b07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@
# Compiled protocol buffers
*.pb.h
*.pb.cc

# test files
src/test_caffeine
1 change: 1 addition & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ test: $(TEST_NAME)

$(TEST_NAME): $(TEST_OBJS) $(OBJS)
$(CXX) $(TEST_OBJS) $(OBJS) -o $(TEST_NAME) $(LDFLAGS) $(WARNINGS)
./$(TEST_NAME)

$(NAME): $(PROTO_GEN_CC) $(OBJS)
$(LINK) -shared $(OBJS) -o $(NAME)
Expand Down

0 comments on commit 9b41b07

Please sign in to comment.