summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheck6
1 files changed, 2 insertions, 4 deletions
diff --git a/check b/check
index dc4f96bc..9c9bb4cb 100755
--- a/check
+++ b/check
@@ -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