[tracker-miners/sam/test-runner-fix: 28/31] functional-tests: Fix failed tests being reported as successful
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/sam/test-runner-fix: 28/31] functional-tests: Fix failed tests being reported as successful
- Date: Mon, 14 Jan 2019 12:34:58 +0000 (UTC)
commit f7de0d9f0b40f25e5b13ba2aec3e3183e5522cd6
Author: Sam Thursfield <sam afuera me uk>
Date: Sat Sep 15 17:18:17 2018 +0200
functional-tests: Fix failed tests being reported as successful
Due to a mistake in the test runner, it was possible for tests to
fail but appear to have succeeded.
tests/functional-tests/test-runner.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/functional-tests/test-runner.sh b/tests/functional-tests/test-runner.sh
index 29eed46b3..bc8a4a49d 100755
--- a/tests/functional-tests/test-runner.sh
+++ b/tests/functional-tests/test-runner.sh
@@ -20,7 +20,7 @@ HOME=$TEMP_DIR
eval `dbus-launch --sh-syntax`
-trap "/bin/kill $DBUS_SESSION_BUS_PID; exit" INT ERR
+trap "/bin/kill $DBUS_SESSION_BUS_PID; exit 1" INT ERR
echo "Running $@"
$@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]