From a71780e4754978058c49c1dccf4942a95a23a458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 13 Feb 2015 13:56:55 +0000 Subject: [PATCH] Add test for no platform.c in all.sh --- tests/scripts/all.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 7430b3888..4c746e7f7 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -130,6 +130,16 @@ msg "build: Unix make, -O2 (gcc)" # ~ 30s cleanup CC=gcc CFLAGS=-Werror make +# this is meant to cath missing #define polarssl_printf etc +msg "build: full config except platform.c" # ~ 30s +cleanup +cp "$CONFIG_H" "$CONFIG_BAK" +scripts/config.pl full +scripts/config.pl unset POLARSSL_PLATFORM_C +scripts/config.pl unset POLARSSL_MEMORY_C +scripts/config.pl unset POLARSSL_MEMORY_BUFFER_ALLOC_C +CC=gcc CFLAGS=-Werror make + if uname -a | grep -F x86_64 >/dev/null; then msg "build: i386, make, gcc" # ~ 30s cleanup