make sure commit tests don't overwrite options.h
This commit is contained in:
parent
0b7e18040c
commit
3cfb270a4d
@ -6,6 +6,7 @@
|
||||
# save current config
|
||||
echo "\n\nSaving current config\n\n"
|
||||
cp config.status tmp.status
|
||||
cp cyassl/options.h tmp.options.h
|
||||
|
||||
# stash modified files not part of this commit, don't test them
|
||||
echo "\n\nStashing any modified files not part of commit\n\n"
|
||||
@ -27,6 +28,7 @@ mv tmp.status config.status
|
||||
./config.status >/dev/null 2>&1
|
||||
make clean >/dev/null 2>&1
|
||||
make -j 8 >/dev/null 2>&1
|
||||
mv tmp.options.h cyassl/options.h
|
||||
|
||||
[ $RESULT -ne 0 ] && echo "\nOops, your commit failed\n" && exit 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user