From 898997badf35a9c9967e8e4efe45bf6650003d51 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Sun, 23 Dec 2018 08:45:14 +0900 Subject: [PATCH] Fix a bug that horizon UT failure is ignored Previously UT succeeds even if horizon UT fails. Change-Id: Id5a08a3877b50fc582145ee74dc1c88cfb3fbba9 --- tools/unit_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/unit_tests.sh b/tools/unit_tests.sh index 85ad7cba9a..641ffd27ac 100755 --- a/tools/unit_tests.sh +++ b/tools/unit_tests.sh @@ -37,7 +37,7 @@ if [ -n "$subset" ]; then fi else $testcommand horizon --settings=horizon.test.settings --verbosity 2 $tagarg $posargs - horizon_tests=0 + horizon_tests=$? $testcommand openstack_dashboard --settings=openstack_dashboard.test.settings --verbosity 2 $tagarg $posargs openstack_dashboard_tests=$? $testcommand openstack_auth --settings=openstack_auth.tests.settings --verbosity 2 $tagarg $posargs