Adding test_stability.sh to pre-commit testing.
This commit is contained in:
+7
-1
@@ -93,7 +93,13 @@ done
|
|||||||
git checkout master >&/dev/null
|
git checkout master >&/dev/null
|
||||||
|
|
||||||
echo
|
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
|
echo
|
||||||
|
|
||||||
if [ $ok_to_push -eq 1 ]
|
if [ $ok_to_push -eq 1 ]
|
||||||
|
|||||||
@@ -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
|
for commit_hash in $commits_to_push
|
||||||
do
|
do
|
||||||
echo "Testing..."
|
git checkout $commit_hash >&/dev/null
|
||||||
git log --format=%B -n 1 $commit_hash
|
|
||||||
make clean $TARGET
|
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
|
./tools/rss_measure.sh ./out/$TARGET/jerry $BENCH
|
||||||
echo
|
echo
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user