mbed TLS Build

Dependents:   Slave-prot-prod

Committer:
williequesada
Date:
Tue Jun 04 16:03:38 2019 +0000
Revision:
1:1a219dea6cb5
Parent:
0:cdf462088d13
compartir a Pablo

Who changed what in which revision?

UserRevisionLine numberNew contents of line
markrad 0:cdf462088d13 1 #!/bin/sh
markrad 0:cdf462088d13 2
markrad 0:cdf462088d13 3 # Make sure the doxygen documentation builds without warnings
markrad 0:cdf462088d13 4
markrad 0:cdf462088d13 5 # Abort on errors (and uninitiliased variables)
markrad 0:cdf462088d13 6 set -eu
markrad 0:cdf462088d13 7
markrad 0:cdf462088d13 8 if [ -d library -a -d include -a -d tests ]; then :; else
markrad 0:cdf462088d13 9 echo "Must be run from mbed TLS root" >&2
markrad 0:cdf462088d13 10 exit 1
markrad 0:cdf462088d13 11 fi
markrad 0:cdf462088d13 12
markrad 0:cdf462088d13 13 if scripts/apidoc_full.sh > doc.out 2>doc.err; then :; else
markrad 0:cdf462088d13 14 cat doc.err
markrad 0:cdf462088d13 15 echo "FAIL" >&2
markrad 0:cdf462088d13 16 exit 1;
markrad 0:cdf462088d13 17 fi
markrad 0:cdf462088d13 18
markrad 0:cdf462088d13 19 cat doc.out doc.err | \
markrad 0:cdf462088d13 20 grep -v "warning: ignoring unsupported tag" \
markrad 0:cdf462088d13 21 > doc.filtered
markrad 0:cdf462088d13 22
markrad 0:cdf462088d13 23 if egrep "(warning|error):" doc.filtered; then
markrad 0:cdf462088d13 24 echo "FAIL" >&2
markrad 0:cdf462088d13 25 exit 1;
markrad 0:cdf462088d13 26 fi
markrad 0:cdf462088d13 27
markrad 0:cdf462088d13 28 make apidoc_clean
markrad 0:cdf462088d13 29 rm -f doc.out doc.err doc.filtered