From 37d1b73c256a8fa5281be6ec005bb81e4b660a66 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 11 Dec 2013 10:11:58 +0100 Subject: [PATCH] tests: Stop when either the javascript or python tests fail --- libsecret/tests/Makefile.am | 4 ++-- 1 file 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) -- 2.7.4