From 009a2640f673447aedbad356337c0facc143b059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 29 May 2015 10:31:13 +0200 Subject: [PATCH] Add test build with -std=c99 --- tests/scripts/all.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 3b3472063..f31366f89 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -166,6 +166,14 @@ scripts/config.pl full scripts/config.pl unset MBEDTLS_SSL_CLI_C CC=gcc CFLAGS='-Werror -O0' make +msg "build: full config except net.c, make, gcc -std=c99" # ~ 30s +cleanup +cp "$CONFIG_H" "$CONFIG_BAK" +scripts/config.pl full +scripts/config.pl unset MBEDTLS_NET_C +scripts/config.pl set MBEDTLS_NO_PLATFORM_ENTROPY # uses syscall() on Linux +CC=gcc CFLAGS='-Werror -O0 -std=c99' make + if uname -a | grep -F x86_64 >/dev/null; then msg "build: i386, make, gcc" # ~ 30s cleanup