Adding test_stability.sh to pre-commit testing.

This commit is contained in:
Ruben Ayrapetyan 2014-08-08 14:19:38 +04:00
parent 7038288f7f
commit b6d9ed42ec
2 changed files with 12 additions and 4 deletions

View File

@ -93,7 +93,13 @@ done
git checkout master >&/dev/null
echo
echo "Pre-commit testing passed successfully"
echo "Pre-commit testing passed successfully. Starting performance and memory benchmarking"
echo
./tools/test_stability.sh $((`echo $commits_to_push | wc -w` + 1))
echo
echo "Performance and memory benchmarking completed"
echo
if [ $ok_to_push -eq 1 ]

View File

@ -29,9 +29,11 @@ commits_to_push=`git log -$NUM_COMMITS | grep "^commit [0-9a-f]*$" | awk 'BEGIN
for commit_hash in $commits_to_push
do
echo "Testing..."
git log --format=%B -n 1 $commit_hash
make clean $TARGET
git checkout $commit_hash >&/dev/null
echo -e -n " > Testing...\n > "
echo `git log --format=%B -n 1 $commit_hash`
make -s $TARGET
./tools/rss_measure.sh ./out/$TARGET/jerry $BENCH
echo
done