shithub: openh264

Download patch

ref: 90327962c3e874feb866ac0c1d544e4ace680174
parent: 26307c1263d2408e3dac06b8c766df75806d99d8
parent: 3550319a96bf71f59cd38f4cd01379b954928147
author: adamroach <[email protected]>
date: Fri Dec 13 08:36:56 EST 2013

Merge pull request #43 from ethanhugg/travis1

Add make test to Travis

--- a/.travis.yml
+++ b/.travis.yml
@@ -6,5 +6,5 @@
 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
 
--- a/Makefile
+++ b/Makefile
@@ -58,6 +58,8 @@
 
 CODEC_UNITTEST_LDFLAGS = -L. -lgtest -ldecoder -lcommon
 
+.PHONY: test
+
 all:	libraries binaries
 
 clean:
@@ -66,6 +68,9 @@
 
 gtest-bootstrap:
 	svn co https://googletest.googlecode.com/svn/trunk/ gtest
+
+test:
+	./codec_unittest
 
 include codec/common/targets.mk
 include codec/decoder/targets.mk