Streamline test building target
Signed-off-by: Jacob Torrey <discipleofranok@gmail.com>
This commit is contained in:
parent
14915c24d7
commit
256dec0601
|
@ -38,7 +38,6 @@ matrix:
|
||||||
install:
|
install:
|
||||||
- sudo apt-get -y install libboost-{chrono,program-options,date-time,thread,system,filesystem,regex,serialization}1.58{-dev,.0}
|
- sudo apt-get -y install libboost-{chrono,program-options,date-time,thread,system,filesystem,regex,serialization}1.58{-dev,.0}
|
||||||
script:
|
script:
|
||||||
- make debug-all
|
|
||||||
- make debug-test
|
- make debug-test
|
||||||
after_success:
|
after_success:
|
||||||
- coveralls --exclude external --exclude tests -e cmake -e contrib -e translations -e utils --gcov-options '\-lp'
|
- coveralls --exclude external --exclude tests -e cmake -e contrib -e translations -e utils --gcov-options '\-lp'
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -35,9 +35,9 @@ cmake-debug:
|
||||||
debug: cmake-debug
|
debug: cmake-debug
|
||||||
cd build/debug && $(MAKE)
|
cd build/debug && $(MAKE)
|
||||||
|
|
||||||
debug-test: debug
|
debug-test:
|
||||||
mkdir -p build/debug
|
mkdir -p build/debug
|
||||||
cd build/debug && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Debug ../.. && $(MAKE) test
|
cd build/debug && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Debug ../.. && $(MAKE) && $(MAKE) test
|
||||||
|
|
||||||
debug-all:
|
debug-all:
|
||||||
mkdir -p build/debug
|
mkdir -p build/debug
|
||||||
|
|
Loading…
Reference in New Issue