[gnome-settings-daemon] tests: Error out if check is called but deps are missing
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] tests: Error out if check is called but deps are missing
- Date: Wed, 25 Jan 2017 16:19:40 +0000 (UTC)
commit 5fa56454045e972770860dd924d3171057883200
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jan 16 19:22:55 2017 +0100
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...
tests/gsdtestcase.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/gsdtestcase.py b/tests/gsdtestcase.py
index 675ac25..4dec7b2 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]