summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-01-16 19:22:55 +0100
committerBastien Nocera <hadess@hadess.net>2017-01-25 17:18:21 +0100
commit5fa56454045e972770860dd924d3171057883200 (patch)
tree951e38ddf38930920a8494ec306ac76ad10f95fc /tests
parentb719bc0999998508b14ad8b05412fd7431bcd4f3 (diff)
downloadgnome-settings-daemon-5fa56454045e972770860dd924d3171057883200.tar.gz
tests: Error out if check is called but deps are missing
Don't skip the tests if python-dbusmock is not installed, fail instead. That would explain why "make distcheck" passed happily in more recent releases...
Diffstat (limited to 'tests')
-rw-r--r--tests/gsdtestcase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gsdtestcase.py b/tests/gsdtestcase.py
index 675ac25f..4dec7b2e 100644
--- a/tests/gsdtestcase.py
+++ b/tests/gsdtestcase.py
@@ -20,7 +20,7 @@ try:
import dbusmock
except ImportError:
sys.stderr.write('You need python-dbusmock (http://pypi.python.org/pypi/python-dbusmock) for this test suite.\n')
- sys.exit(0)
+ sys.exit(1)
try:
from gi.repository import Gio