From 100add41cfe2b987524b190c1c92771a3c4f1d5f Mon Sep 17 00:00:00 2001 From: yayogev Date: Wed, 7 Feb 2018 09:37:22 +0200 Subject: bug fix: verify.sh returned value based on last command only Change-Id: Icf701eee60da7c27c62b9a2871c4f9896b8f334e Signed-off-by: yayogev --- app/test/verify.sh | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'app/test/verify.sh') diff --git a/app/test/verify.sh b/app/test/verify.sh index 684195e..bda298c 100755 --- a/app/test/verify.sh +++ b/app/test/verify.sh @@ -7,16 +7,10 @@ # are made available under the terms of the Apache License, Version 2.0 # # which accompanies this distribution, and is available at # # http://www.apache.org/licenses/LICENSE-2.0 # -############################################################################### -#set -o errexit -#set -o nounset -#set -o pipefail - -#sudo yum install -y https://centos7.iuscommunity.org/ius-release.rpm -#sudo yum -y install python35 -#sudo pip install virtualenv -#virtualenv -p $(which python3.5) $WORKSPACE/venv -#. $WORKSPACE/venv/bin/activate +############################################################################## +set -o errexit +set -o nounset +set -o pipefail PYTHONPATH=$PWD/app python3 -m unittest discover -s app/test/api PYTHONPATH=$PWD/app python3 -m unittest discover -s app/test/event_based_scan -- cgit 1.2.3-korg