CI: show result of "git status --porcelain"

This commit is contained in:
Rick Waldron 2020-09-25 09:21:09 -04:00
parent 5b54058ad7
commit 1fd417b146
1 changed files with 6 additions and 0 deletions

View File

@ -3,8 +3,14 @@ if [ "$CIRCLE_PULL_REQUEST" != "" ]; then
./make.py clean > /dev/null
fi
./make.py
if [ -n "$(git status --porcelain)" -a "$CIRCLE_PULL_REQUEST" != "" ]; then
echo New changes were found after re-generating the tests.
echo ""
git status --porcelain;
echo ""
git diff;
echo ""
echo Please, read the documentation on procedurally generated tests
echo 'https://github.com/tc39/test262/blob/HEAD/CONTRIBUTING.md#procedurally-generated-tests'
exit 1