Commit | Line | Data |
---|---|---|
1f98bcec | 1 | #!/bin/bash |
c0e7b625 | 2 | # Checks that no ".only" has made it into tests. This should never be committed, |
1f98bcec DV |
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 |