diff options
-rwxr-xr-x | check | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -2,7 +2,7 @@ # # Run test suite for morph. # -# Copyright (C) 2011-2014 Codethink Limited +# Copyright (C) 2011-2015 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -102,9 +102,7 @@ then echo 'Checking source code for silliness' if ! (git ls-files --cached | - grep -v '\.gz$' | - grep -Ev 'tests[^/]*/.*\.std(out|err)' | - grep -vF 'tests.build/build-system-autotools.script' | + grep '\.py$' | xargs -r scripts/check-silliness); then exit 1 fi |