blob: 86dc03bc14cbd31f1039a4147a140365692e5033 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
if [ $TRAVIS_PULL_REQUEST != "false" ]; then
./make.py clean > /dev/null
fi
./make.py
if [ -n "$(git status --porcelain)" -a $TRAVIS_PULL_REQUEST != "false" ]; then
echo New changes were found after re-generating the tests.
echo Please, read the documentation on procedurally generated tests
echo 'https://github.com/tc39/test262/blob/master/CONTRIBUTING.md#procedurally-generated-tests'
exit 1
fi
|