From a6b44033c42b7bb4c98d9a66fbb72ad6fc092c18 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 18 Sep 2014 09:14:20 -0700 Subject: [PATCH] remove more things not needed without gtest --- .travis.yml | 2 -- HACKING.md | 20 -------------------- 2 files changed, 22 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6cb1b5c..4a6dfb0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,4 @@ language: cpp compiler: - gcc - clang -before_install: - - sudo apt-get update -qq script: ./bootstrap.py && ./configure.py && ./ninja ninja_test && ./ninja_test --gtest_filter=-SubprocessTest.SetWithLots diff --git a/HACKING.md b/HACKING.md index d94882b..ef521e1 100644 --- a/HACKING.md +++ b/HACKING.md @@ -50,26 +50,6 @@ patch. ## Testing -### Installing gtest - -The `ninja_test` binary, containing all the tests, depends on the -googletest (gtest) library. - -* On older Ubuntus it'll install as libraries into `/usr/lib`: - - apt-get install libgtest - -* On newer Ubuntus it's only distributed as source - - apt-get install libgtest-dev - ./configure.py --with-gtest=/usr/src/gtest - -* Otherwise you need to download it, unpack it, and pass - `--with-gtest` to `configure.py`. Get it from [its downloads - page](http://code.google.com/p/googletest/downloads/list); [this - direct download link might work - too](http://googletest.googlecode.com/files/gtest-1.6.0.zip). - ### Test-driven development Set your build command to -- 2.7.4