Add make test to Travis
This commit is contained in:
parent
767260fa3b
commit
3550319a96
@ -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
|
||||
|
||||
|
5
Makefile
5
Makefile
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user