all.sh: Fix check_headers_in_cpp

When all.sh invokes check_headers_in_cpp, a backup config.h exists. This
causes a stray difference vs cpp_dummy_build.cpp. Fix by only collecting
the *.h files in include/mbedtls.

Change-Id: Ifd415027e856858579a6699538f06fc49c793570
This commit is contained in:
Peter Kolbus 2019-02-01 17:19:08 -06:00 committed by Jaeden Amero
parent 6f76795bf5
commit 3098707188

View File

@ -295,7 +295,7 @@ check_tools()
}
check_headers_in_cpp () {
ls include/mbedtls >headers.txt
ls include/mbedtls | grep "\.h$" >headers.txt
<programs/test/cpp_dummy_build.cpp sed -n 's/"$//; s!^#include "mbedtls/!!p' |
sort |
diff headers.txt -