Permalink
Browse files

Modified unit tests makefile, so that it adds GTEST_DIR and GMOCK_DIR…

… to include paths, when compiling unit tests - since they do include gtest and gmock files.
  • Loading branch information...
vladislav-horbatiuk committed Apr 20, 2013
1 parent 7dbc220 commit c20178b7fccea1fe4a1a4ba3046183d7d521a56b
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/Makefile
View
@@ -42,7 +42,7 @@ valgrind-per-module: shogun-unit-test
xargs -I{} valgrind $(VALGRINDOPTS) ./shogun-unit-test --gtest_filter={}\*
%$(EXT_OBJ_TEST): %$(EXT_SRC_TEST)
$(COMP_CPP) -I$(SHOGUNSRCTOP) $(COMPFLAGS_CPP) $(COMPFLAGS_GTEST_CPP) $(COMPFLAGS_GMOCK_CPP) $(DEFINES) -c $(INCLUDES) -o $@ $<
$(COMP_CPP) -I$(SHOGUNSRCTOP) $(COMPFLAGS_CPP) $(COMPFLAGS_GTEST_CPP) $(COMPFLAGS_GMOCK_CPP) $(DEFINES) -I$(GTEST_DIR) -I$(GMOCK_DIR) -c $(INCLUDES) -o $@ $<
clean:
@rm -f ./shogun-unit-test libgmock.a gmock-all.o gtest-all.o $(TESTOBJFILES)

0 comments on commit c20178b

Please sign in to comment.