[libsecret] tests: Stop when either the javascript or python tests fail
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsecret] tests: Stop when either the javascript or python tests fail
- Date: Wed, 11 Dec 2013 10:00:20 +0000 (UTC)
commit 37d1b73c256a8fa5281be6ec005bb81e4b660a66
Author: Stef Walter <stefw gnome org>
Date: Wed Dec 11 10:11:58 2013 +0100
tests: Stop when either the javascript or python tests fail
libsecret/tests/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libsecret/tests/Makefile.am b/libsecret/tests/Makefile.am
index 7f75206..7e4413d 100644
--- a/libsecret/tests/Makefile.am
+++ b/libsecret/tests/Makefile.am
@@ -131,10 +131,10 @@ test-c: $(C_TESTS)
@gtester --verbose -m $(TEST_MODE) --g-fatal-warnings $(C_TESTS)
test-js:
- @for js in $(JS_TESTS); do echo "TEST: $$js"; $(JS_ENV) gjs $(srcdir)/$$js; done
+ @for js in $(JS_TESTS); do echo "TEST: $$js"; $(JS_ENV) gjs $(srcdir)/$$js || exit $?; done
test-py:
- @for py in $(PY_TESTS); do echo "TEST: $$py"; $(PY_ENV) python $(srcdir)/$$py; done
+ @for py in $(PY_TESTS); do echo "TEST: $$py"; $(PY_ENV) python $(srcdir)/$$py || exit $?; done
test: test-c test-py test-js $(VALA_TEST_TARGET)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]