Add make test to Travis

This commit is contained in:
Ethan Hugg 2013-12-13 13:09:59 -08:00
parent 767260fa3b
commit 3550319a96
2 changed files with 6 additions and 1 deletions

View File

@ -6,5 +6,5 @@ compiler:
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq g++-4.6-multilib gcc-multilib libc6-dev-i386 lib32z1-dev
script: make gtest-bootstrap && make
script: make gtest-bootstrap && make && make test

View File

@ -58,6 +58,8 @@ H264ENC_LDFLAGS = -L. -lencoder -lprocessing -lcommon
CODEC_UNITTEST_LDFLAGS = -L. -lgtest -ldecoder -lcommon
.PHONY: test
all: libraries binaries
clean:
@ -67,6 +69,9 @@ clean:
gtest-bootstrap:
svn co https://googletest.googlecode.com/svn/trunk/ gtest
test:
./codec_unittest
include codec/common/targets.mk
include codec/decoder/targets.mk
include codec/encoder/targets.mk