mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Adding test_stability.sh to pre-commit testing.
This commit is contained in:
parent
7038288f7f
commit
b6d9ed42ec
@ -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 ]
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user