From b9c7f663456b2fc1991ccec99ec45ee49aa935c7 Mon Sep 17 00:00:00 2001 From: Anastasia Kuznetsova Date: Thu, 26 Nov 2015 11:46:17 +0300 Subject: [PATCH] Remove running of CLI tests on commit to mistral repo We do not need to run CLI tests on every commit to the main mistral repository. Partial implements: blueprint mistral-making-dsvm-gates-voting Change-Id: I05107ba67c2cd94a50ff6963ea69f5cf29e5cd5e --- functionaltests/post_test_hook.sh | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/functionaltests/post_test_hook.sh b/functionaltests/post_test_hook.sh index 0cb7fc49a..183fa2d52 100755 --- a/functionaltests/post_test_hook.sh +++ b/functionaltests/post_test_hook.sh @@ -18,24 +18,10 @@ RETVAL=0 sudo chmod -R a+rw /opt/stack/new/ -cd /opt/stack/new/ +cd /opt/stack/new/mistral -echo "Repository: $ZUUL_PROJECT" - -#Run API tests only for mistral repository -if [[ "$ZUUL_PROJECT" == "openstack/mistral" ]]; then - cd mistral/ - echo "Run mistral API tests" - ./functionaltests/run_tests.sh - RETVAL=$? -fi - -#Run client tests for both repositories: mistral and python-mistralclient -if [[ RETVAL -eq 0 ]]; then - cd /opt/stack/new/python-mistralclient/ - echo "Run mistralclient tests" - ./functionaltests/run_tests.sh - RETVAL=$? -fi +echo "Running Mistral API tests" +./functionaltests/run_tests.sh +RETVAL=$? exit $RETVAL