| 1 | #!/bin/bash |
| 2 | # Checks that no ".only" has made it into tests. This should never be commited, |
| 3 | # since it will disable the vast majority of tests. |
| 4 | |
| 5 | if grep -R '\.only(' auto_tests/tests; then |
| 6 | echo 'Remove .only from tests before committing.' |
| 7 | exit 1 |
| 8 | fi |
| 9 | |
| 10 | exit 0 |