diff mbox series

[v10,5/5] travis: cunit fix function declaration in Automated.h

Message ID 1513263646-26300-6-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v10,1/5] test: build: enable cunit output to xml | expand

Commit Message

Github ODP bot Dec. 14, 2017, 3 p.m. UTC
From: Maxim Uvarov <maxim.uvarov@linaro.org>


some gcc fails on including this header but cunit is the latest stable
release. So fix it in place untill it will not be fixed upstream.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 309 (muvarov:devel/master_shippable2)
 ** https://github.com/Linaro/odp/pull/309
 ** Patch: https://github.com/Linaro/odp/pull/309.patch
 ** Base sha: 6b5cdc77eb9759a2349b10372a964648559bc92c
 ** Merge commit sha: b6dece7bd634cbe00c04cb730888d4600936a592
 **/
 .travis.yml | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 25c2d0a53..48e6406c9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -138,6 +138,8 @@  before_install:
             curl -sSOL https://github.com/Linaro/libcunit/releases/download/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2
             tar -jxf *.bz2
             pushd CUnit*
+            # Using the latest stable CUNIT but new compillers are more strict to functions declaration.
+            sed -i s/\(\)/\(void\)/g ./CUnit/Headers/Automated.h
             libtoolize --force --copy
             aclocal
             autoheader