diff options
author | Bastien Nocera <hadess@hadess.net> | 2017-01-16 19:22:55 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2017-01-25 17:18:21 +0100 |
commit | 5fa56454045e972770860dd924d3171057883200 (patch) | |
tree | 951e38ddf38930920a8494ec306ac76ad10f95fc /tests/gsdtestcase.py | |
parent | b719bc0999998508b14ad8b05412fd7431bcd4f3 (diff) | |
download | gnome-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/gsdtestcase.py')
-rw-r--r-- | tests/gsdtestcase.py | 2 |
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 |