GWicke has submitted this change and it was merged.
Change subject: Use git diff --patience to compare test results
......................................................................
Use git diff --patience to compare test results
The 'patience' algorithm produces a larger diff, but mostly avoids mixing test
results from unrelated tests which made the default diff often very hard to
decipher.
Change-Id: I323b483731b2d0a456e88e0511c8202c5b71a190
---
M js/tests/runtests.sh
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Subramanya Sastry: Verified; Looks good to me, approved
GWicke: Verified; Looks good to me, approved
diff --git a/js/tests/runtests.sh b/js/tests/runtests.sh
index d25ce14..566f336 100755
--- a/js/tests/runtests.sh
+++ b/js/tests/runtests.sh
@@ -60,7 +60,7 @@
cd results || exit 1
if [ "$1" != '-c' -a "$2" != '-c' ];then
- git diff | less -R
+ git diff --patience | less -R
else
git add $OUTPUT
if [ "$1" = '--wt2wt' ];then
@@ -73,6 +73,6 @@
git commit -m "`tail -11 all.txt`" all.txt || exit 1
fi
if [ "$2" != '-q'];then
- git diff HEAD~1 | less -R || exit 1
+ git diff --patience HEAD~1 | less -R || exit 1
fi
fi
--
To view, visit https://gerrit.wikimedia.org/r/52635
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I323b483731b2d0a456e88e0511c8202c5b71a190
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: GWicke <[email protected]>
Gerrit-Reviewer: GWicke <[email protected]>
Gerrit-Reviewer: MarkTraceur <[email protected]>
Gerrit-Reviewer: Subramanya Sastry <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits