Skip to content

Commit

Permalink
CI: show result of "git status --porcelain"
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Sep 25, 2020
1 parent 95a37aa commit 79d6827
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/scripts/ci_build.sh
Expand Up @@ -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
Expand Down

0 comments on commit 79d6827

Please sign in to comment.