summaryrefslogtreecommitdiffstats
path: root/ci/no_assert_check.sh
blob: a3f356323ecc00d6d9a6530caef9ba8938a6c772 (plain)
1
2
3
#!/bin/sh
grep '\<assert\>' -- $(git ls-files | grep '\.[hc]$' | grep -vE '^(contrib|bench|tests)/')
test $? -eq 1