Skip to content

Commit

Permalink
Merge pull request #39 from seomoz/tlb/version-and-compilation-updates
Browse files Browse the repository at this point in the history
Updated googletest submodule to latest version and fixed compilation issues
  • Loading branch information
The Chiefest and Greatest of Calamities authored May 23, 2019
2 parents a2f304e + c52f8ca commit 8afac6e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sudo: false
dist: trusty
dist: bionic
git:
submodules: true
compiler:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ BINARIES =
all: test release/librep.o $(BINARIES)

$(GTEST_DIR)/libgtest.a:
g++ -isystem $(GTEST_DIR)/include -I$(GTEST_DIR) -pthread -c $(GTEST_DIR)/src/gtest-all.cc -o $(GTEST_DIR)/libgtest.a
g++ -std=c++11 -isystem $(GTEST_DIR)/include -I$(GTEST_DIR) -pthread -c $(GTEST_DIR)/src/gtest-all.cc -o $(GTEST_DIR)/libgtest.a

# Release libraries
release:
Expand Down Expand Up @@ -60,4 +60,4 @@ test: test-all
./scripts/check-coverage.sh $(PWD)

clean:
rm -rf debug release test-all bench test/*.o deps/url-cpp/{debug,release}
rm -rf debug release test-all bench test/*.o test/*.gcda test/*.gcno deps/url-cpp/debug deps/url-cpp/release
2 changes: 1 addition & 1 deletion deps/googletest
Submodule googletest updated 358 files
2 changes: 1 addition & 1 deletion test/test-agent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
TEST(AgentTest, Basic)
{
Rep::Agent agent = Rep::Agent("a.com").allow("/").disallow("/foo");
EXPECT_EQ(agent.directives().size(), 2);
EXPECT_EQ(agent.directives().size(), 2ul);
}

TEST(AgentTest, ChecksAllowed)
Expand Down

0 comments on commit 8afac6e

Please sign in to comment.