Make basic-build-test.sh clean up after itself.
This commit is contained in:
parent
ce52d7823c
commit
c4191e475b
@ -36,10 +36,13 @@ if [ -d library -a -d include -a -d tests ]; then :; else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
CONFIG_H='include/mbedtls/config.h'
|
||||||
|
CONFIG_BAK="$CONFIG_H.bak"
|
||||||
|
|
||||||
# Step 1 - Make and instrumented build for code coverage
|
# Step 1 - Make and instrumented build for code coverage
|
||||||
export CFLAGS=' --coverage -g3 -O0 '
|
export CFLAGS=' --coverage -g3 -O0 '
|
||||||
make clean
|
make clean
|
||||||
|
cp "$CONFIG_H" "$CONFIG_BAK"
|
||||||
scripts/config.pl full
|
scripts/config.pl full
|
||||||
scripts/config.pl unset MBEDTLS_MEMORY_BACKTRACE
|
scripts/config.pl unset MBEDTLS_MEMORY_BACKTRACE
|
||||||
make -j
|
make -j
|
||||||
@ -204,3 +207,9 @@ rm compat-test-$TEST_OUTPUT
|
|||||||
rm cov-$TEST_OUTPUT
|
rm cov-$TEST_OUTPUT
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
make clean
|
||||||
|
|
||||||
|
if [ -f "$CONFIG_BAK" ]; then
|
||||||
|
mv "$CONFIG_BAK" "$CONFIG_H"
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user