Restore tests/fuzz/Makefile after in-tree cmake
Save and restore the Makefile in tests/fuzz like the other makefiles.
This commit is contained in:
parent
adc23e6132
commit
1c582c3b8b
1 changed files with 7 additions and 6 deletions
|
@ -24,7 +24,8 @@
|
||||||
# configurations, and can and will arbitrarily change the current CMake
|
# configurations, and can and will arbitrarily change the current CMake
|
||||||
# configuration. The following files must be committed into git:
|
# configuration. The following files must be committed into git:
|
||||||
# * include/mbedtls/config.h
|
# * include/mbedtls/config.h
|
||||||
# * Makefile, library/Makefile, programs/Makefile, tests/Makefile
|
# * Makefile, library/Makefile, programs/Makefile, tests/Makefile,
|
||||||
|
# tests/fuzz/Makefile
|
||||||
# After running this script, the CMake cache will be lost and CMake
|
# After running this script, the CMake cache will be lost and CMake
|
||||||
# will no longer be initialised.
|
# will no longer be initialised.
|
||||||
#
|
#
|
||||||
|
@ -75,9 +76,9 @@
|
||||||
# * Run `make clean`.
|
# * Run `make clean`.
|
||||||
# * Restore `include/mbedtks/config.h` from a backup made before running
|
# * Restore `include/mbedtks/config.h` from a backup made before running
|
||||||
# the component.
|
# the component.
|
||||||
# * Check out `Makefile`, `library/Makefile`, `programs/Makefile` and
|
# * Check out `Makefile`, `library/Makefile`, `programs/Makefile`,
|
||||||
# `tests/Makefile` from git. This cleans up after an in-tree use of
|
# `tests/Makefile` and `tests/fuzz/Makefile` from git.
|
||||||
# CMake.
|
# This cleans up after an in-tree use of CMake.
|
||||||
#
|
#
|
||||||
# Any command that is expected to fail must be protected so that the
|
# Any command that is expected to fail must be protected so that the
|
||||||
# script keeps running in --keep-going mode despite `set -e`. In keep-going
|
# script keeps running in --keep-going mode despite `set -e`. In keep-going
|
||||||
|
@ -234,8 +235,8 @@ cleanup()
|
||||||
-iname CMakeCache.txt \) -exec rm {} \+
|
-iname CMakeCache.txt \) -exec rm {} \+
|
||||||
# Recover files overwritten by in-tree CMake builds
|
# Recover files overwritten by in-tree CMake builds
|
||||||
rm -f include/Makefile include/mbedtls/Makefile programs/*/Makefile
|
rm -f include/Makefile include/mbedtls/Makefile programs/*/Makefile
|
||||||
git update-index --no-skip-worktree Makefile library/Makefile programs/Makefile tests/Makefile
|
git update-index --no-skip-worktree Makefile library/Makefile programs/Makefile tests/Makefile tests/fuzz/Makefile
|
||||||
git checkout -- Makefile library/Makefile programs/Makefile tests/Makefile
|
git checkout -- Makefile library/Makefile programs/Makefile tests/Makefile tests/fuzz/Makefile
|
||||||
cd crypto
|
cd crypto
|
||||||
rm -f include/Makefile include/mbedtls/Makefile programs/*/Makefile
|
rm -f include/Makefile include/mbedtls/Makefile programs/*/Makefile
|
||||||
git update-index --no-skip-worktree Makefile library/Makefile programs/Makefile tests/Makefile
|
git update-index --no-skip-worktree Makefile library/Makefile programs/Makefile tests/Makefile
|
||||||
|
|
Loading…
Reference in a new issue