diff mbox series

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

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

Commit Message

Github ODP bot Dec. 20, 2017, 4 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 until 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: 170d41370418d3dd8da3808c800f2894f36cf9ae
 **/
 .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