Unit test script should fail immediately

Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/606be414
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/606be414
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/606be414

Branch: refs/heads/master
Commit: 606be4148fe7d4253193a4ef3c4e996d27c0ad51
Parents: ae51040
Author: Donald Szeto <[email protected]>
Authored: Wed Mar 15 09:40:26 2017 -0700
Committer: Donald Szeto <[email protected]>
Committed: Wed Mar 15 09:40:26 2017 -0700

----------------------------------------------------------------------
 tests/unit.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/606be414/tests/unit.sh
----------------------------------------------------------------------
diff --git a/tests/unit.sh b/tests/unit.sh
index 324b87f..6382a70 100755
--- a/tests/unit.sh
+++ b/tests/unit.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -ex
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with

Reply via email to